Re: DirectoryIndex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 2, 2014 at 10:52 PM, Tony Kwan <esyahoo@xxxxxxxxx> wrote:
Hi,
 
I have tried "DirectoryIndex index.html index.php" but it still recognized the index.html only (first one). Any other suggestions?

if index.php requires authentication, and you strip out the Authorization header, it makes sense that mod_dir won't choose to serve it. 

mod_dir sends an internal subrequest to see if the resource is useable, it doesn't just check the filesystem.

If you want it to work, stop stripping the header or punch a hole for index.php.


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux