Folder indexing
Lets say if I want a directory of a website to be read or store lets say pictures. I keep getting this error:
Forbidden You don't have permission to access /pictures/ on this server. -------------------------------------------------------------------------------- Apache/2.0.48 (Fedora) Server at What file do i have to configure to make this directory show the contents. Like this: http://www.rocclan.heretic-hosting.com/pbss/ |
Edit you apache httpd.conf and add a <Directory...> directive like this:
Code:
<Directory "/apache/docroot/pictures"> The keyword is "Indexes" which tells apache to index the contents of the directory specified by the directive. Of course you can just add "Indexes" inside the directive of your DocumentRoot directory to set this globally. |
Thanks man. It worked!
|
All times are GMT -5. The time now is 02:18 AM. |