Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Disabling Directory Listing on Forum

edited December 2011 in Vanilla 2.0 - 2.8

Hi, I have a forum running Vanilla 2.0.18.1 hosted on a Bluehost shared server. I discovered that one can browse the subdirectories of the forum (eg. www.mysite.net/uploads/) and Apache gives an Index of all files and subdirectories. I have tried placing a .htaccess file with Options -Indexes in the uploads directory but this also blocks all the files from being displayed (user pictures, for example) on the forum. Just wondering if anyone knows the solution to my problem, and any help would be greatly appreciated.

Answers

  • just add blank index.php to those folders ( ensure one doesnt already exist )

    There was an error rendering this rich post.

Sign In or Register to comment.