Ämne: Apache 2.0.40
Visa ett inlägg
Oläst 2005-03-10, 21:11 #10
oldgames oldgames är inte uppkopplad
Nykomling
 
Reg.datum: Mar 2004
Inlägg: 7
oldgames oldgames är inte uppkopplad
Nykomling
 
Reg.datum: Mar 2004
Inlägg: 7
Citat:
Originally posted by Thomas@Mar 10 2005, 17:07
Humn sounds more to me that .php may be excluded from the http://httpd.apache.org/docs-2.0/mod...directoryindex in httpd.conf
Sorry, but that is not the case. I always go through the config file, looking for the basic settings, and yes, DirectoryIndex is of course one of them.
Citat:

To be exact:
DirectoryIndex index.html index.html.var index.php index.phps index.phtml index index.shtml index.php3 index.php4 default.html default.htm default.php default.phps default.php3 default.php4
But anyway, the problem is solved. The problem was the port number of the NameVirtualHost and VirtualHost alternatives. When removed (and the index page exists in the dir you're trying to set as documentroot) it's working perfectly.

Citat:

Try adding a / to the directory:
DocumentRoot /home/www/privat.sveg.servemp3.com/
There is no need for adding a / at the end. However, if you define a directory alias, and add a / at the end, it is required to be present also in the url to work properly.

Thanks for all the suggestions/tips received.
oldgames är inte uppkopplad   Svara med citatSvara med citat