Enabling user directory listing in Apache

· Read in about 1 min · (78 words) ·

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:

  • Enable UserDir module
  • Enable directory listing

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

Step 1: Enable UserDir module

UserDir enabled tuxdna
UserDir public_html

Step 2: Enable directory listing

AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec

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

:)