How to configure Directory Indexing in Apache?

Quick Tips:

Edit the /etc/httpd/conf/httpd.conf file :

Just Look at the line starting:

[Please note: Do add lesser than sign in front of directory]
directory "/var/www/html/pdfs"

Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all


Restart the Apache.
Try browsing http://localhost/pdfs

No comments:

Post a Comment