Monday 25 October 2010

Enable Directory Listing in Apache2

You need to add a line to your "site" file. For the default site you would do this;

vi /etc/apache2/sites-enabled/000-default

Add this line inside the main VirtualHost *:80 section;

Options Includes ExecCGI

Restart apache and you are done!

No comments: