1
I want to configure XAMPP to show all files and folders in a given directory, even index files. But when I browse to the directory, index.php is run automatically instead.
What settings can I use in the .htaccess file to make it work?
1
I want to configure XAMPP to show all files and folders in a given directory, even index files. But when I browse to the directory, index.php is run automatically instead.
What settings can I use in the .htaccess file to make it work?
2
Just add DirectoryIndex disabled
to your .htaccess file. That'll prevent Apache from looking for default index documents when the client requests only a directory, without a filename.
See here for more information on the DirectoryIndex
directive.
Also note you'll have to enable directory browsing, otherwise you'll get a "permission denied" error.
thnx a lot is there any way to list the owners and permission too ? – Freeman – 2012-09-02T18:57:32.453