[K12OSN] Apache2 and index.php or index.html
Doug Simpson
simpsond at leopards.k12.ar.us
Fri Feb 15 14:42:44 UTC 2008
As far as I can tell, the directoryindex is set correctly. It contains index.html index.php index.xhtml
But, it is set in the 000-default directory. When I try to open it from a browser without the index.php or index.html, the browser presents me with a "save File" dialog, with "" for the filename and it doesn't list any file to be saved.
I will never have more than one virtual host on this machine so is there a way to get rid of all the virtualhost stuff and get to a simple single setup?
Could it be that the default and the 000-default are two different virtual hosts?
If so, where would I find the directoryindex for the default site?
Thanks!
Doug
Doug Simpson
Technology Specialist
De Queen Public Schools
De Queen, AR
simpsond at leopards.k12.ar.us
>>> Nils Breunese <nils at breun.nl> 2/15/2008 8:31 AM >>>
Doug Simpson wrote:
> Hi gang!
>
> On a debian install, apache2, I cannot get it to display index.html
> or index.php when they are in documentroot. Only when they are in a
> directory called /var/www/apache2-default.
>
> If I have them in /var/www which is the document root, they will not
> display using http://sitename/ but they will display if you enter http://sitename/index.html
> or index.php.
>
> Where can I go look for the setting to fix this?
>
> Apache2 is far different from 1 as far as configuration!
http://httpd.apache.org/docs/2.0/mod/mod_dir.html#directoryindex
(This worked the same under Apache 1.3 by the way: http://httpd.apache.org/docs/1.3/mod/mod_dir.html
)
Nils Breunese.
_______________________________________________
K12OSN mailing list
K12OSN at redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
More information about the K12OSN
mailing list