httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "P. Guethlein" <pet...@deltronix.com>
Subject Re: [users@httpd] DirectoryIndex
Date Thu, 03 Apr 2014 02:31:48 GMT
Try

DirectoryIndex index.html index.php


At 08:41 PM 4/1/2014, you wrote:

>Hi,
>
>We used "DirectoryIndex" and here is the list
>
>DirectoryIndex index.html
>
>DirectoryIndex index.php
>
>Everything works fine without any problem. But recently we have 
>added another "RequestHeader unset Authorization" Directive
>
><Directory />
>
>Options None
>
>AllowOverride None
>
>RequestHeader unset Authorization
>
>Order deny,allow
>
>Deny from all
>
></Directory>
>
>It is interesting that DirectoryIndex Directive only loads the first 
>one DirectoryIndex. In my case, only index.html will be loaded. If I 
>change the order e.g.
>
>DirectoryIndex index.php
>
>DirectoryIndex index.html
>
>, it will load index.php instead. I've tried to use "DirectoryIndex 
>index.php index.html" in one line, the problem still persists.
>
>This problem also only happens when the user need authentication (We 
>are using Basic Authentication to authenticate the users). If the 
>url is public access, both index.php and index.html are working properly.
>
>Does anyone come across this problem?
>
>Thanks!
>
>Regards,
>
>Eddy



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message