|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
general - Weird Apache "Issue"
For some odd reason (on CentOS) When I hit the default page for my Apache installation, it reverts to http://*servername*/apache2-default. How do I remove this appended extension?
|
|
#2
|
||||
|
||||
|
Hi,
Check in your .htaccess in your root directory for DirectoryIndex. If there, the order of files is what determines the page you see when you visit > http://*servername*/ If it is not there, you can check your conf file, [this will also determine your web root - look for DocumentRoot] or edit(or create) .htaccess with something like: Code:
DirectoryIndex index.html index.php HTH.
__________________
Cheers, Jamie # mdb4u | mobile movie database | Currently being revamped # skiFFie | Jamie Burns [me] # guidelines | search | wap resources | not getting help | fold to cure __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. ![]() __________________ |
|
#3
|
||||
|
||||
|
httpd.conf is empty. Not sure how it's even working to begin with.
Edit: Also, making the htaccess file with the contents suggested did not fix it. Still appends that directory at the end. Last edited by fazexx : June 2nd, 2009 at 02:18 PM. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > general - Weird Apache "Issue" |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|