[K12OSN] Apache2 and index.php or index.html

Henry Hartley henryhartley at westat.com
Fri Feb 15 17:28:28 UTC 2008


Doug Simpson wrote:
> 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!

Just out of curiosity, if you turn off SELinux does the behavior change?

-- 
Henry




More information about the K12OSN mailing list