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.
Vanilla not auto-loading index.php file
xDaizu
New
Some weeks ago I tried a Vanilla forums installation and everything seemed to work fine. Today, on the same machine, I installed the latest build and the links like the logo link /mysite/vanilla are broken, showing the folder view instead of the main page (which works fine if I type </mysite/vanilla/index.php> instead.
That happens which every link targeting a <mysite/vanilla/folder/> formatted URL instead of a <mysite/vanilla/folder/file.extension>one, so my wild guess is that something must be broken on the page loader/resolver.
0
Comments
Is
.htaccess
in the folder?grep is your friend.
Of course it is! It's a vanilla installation (no pun intended xD). The contain is as follows:
And it must work fine...-ish , because if I type /mysite/vanilla/blasjfdoiajfeakl it correctly redirects me to the custom Vanilla 404 page.
Your server is the problem. It shows directory content instead of loading the index file. Add this at the top of your .htaccess file:
DirectoryIndex index.php
You want to prevent directly listing anyway
https://wiki.apache.org/httpd/DirectoryListings
See the information about
DirectoryIndex
You wan to configure your server rule properly rather than rely on
.htaccess
if possible.grep is your friend.