I have an
.htaccess file with
Options Indexes FollowSymLinks, my
/apache2/sites_available/default file also has these options and
If I do these things outside of Drupal it's working (if I go to a directory without an index file, I see a file directory listing), but inside Drupal I'm getting
The requested page "/sites/default/files/" could not be found.
Also, I am able to to access files within the files directory. For example if I went to /sites/default/files/someFile.pdf... it would be able to access it fine. I want to have it so that if I link to a directory within the files directory and that directory does not have an index file... it will display a directory listing of all the files/folders within. Something like:
I think Drupal is doing something based on the fact that I get my Drupal headers above the message that the page couldn't be found. How do I stop this?
The files below show some of the things I've tried...
DocumentRoot /var/www/default <Directory /> Options Indexes FollowSymLinks AllowOverride All </Directory> <Directory /var/www/default/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all </Directory>
Options +FollowSymLinks Options +Indexes RewriteEngine Off