DirectoryIndex Problem

Problems with the Linux version of XAMPP, questions, comments, and anything related.

DirectoryIndex Problem

Postby philroche » 23. November 2004 12:29

Hi, I am having problem acessing files in a subdirectory of the users ,/~X/Y ,
All I get is a directory listing when I try both /~X/Y and /~X/Y/ but for /~X and /~X/ I get served index.php. I have not changed anything in httpd.conf at all that would affect this. The DirectoryIndex is as follows :
Code: Select all
DirectoryIndex index.php index.html index.html.var index.php3 index.php4


The User Directory listing is as follows :
Code: Select all
<Directory /home/*/public_html>
    AllowOverride All
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    <Limit GET POST OPTIONS PROPFIND>
        Order allow,deny
        Allow from all
    </Limit>
    <LimitExcept GET POST OPTIONS PROPFIND>
        Order deny,allow
        Deny from all
    </LimitExcept>
</Directory>


Does anyone know why this might be happening?. I thought I knew Apache relatively well but this has me stumped.
philroche
 
Posts: 2
Joined: 23. November 2004 12:16

Fixed

Postby philroche » 25. November 2004 21:09

I managed to resolve the issue

Code: Select all
<Directory /home/*/public_html/*>
    DirectoryIndex index.php index.html
</Directory>


Shoudl this be nescessary though?
philroche
 
Posts: 2
Joined: 23. November 2004 12:16


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 18 guests