Enabling user directory listing in Apache

It is sometimes very irritating why directory listing is not working for per user ( UserDir ).

There are only to two main steps to remedy that:
1. Enable UserDir module
2. Enable directory listing

All modifications to be done in /etc/httpd/conf/httpd.conf file.

Step 1:

UserDir enabled tuxdna
UserDir public_html

Step 2:

AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec

Thats all for UserDir. Just visit on the local Apache server:
http://localhost/~tuxdna

🙂

Advertisements