How to configure XAMPP to list all files and directories, including index files?

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?

Freeman

Posted 2012-09-02T17:54:17.283

Reputation: 673

Answers

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.

Indrek

Posted 2012-09-02T17:54:17.283

Reputation: 21 756

thnx a lot is there any way to list the owners and permission too ? – Freeman – 2012-09-02T18:57:32.453