MyBB Community Forums

Full Version: friendly urls giving 403/404 error for custom directories
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Well, I installed mybb and enabled the friendly urls and all is well except now my custom folders in the same directory with other php things installed are not accessible using a link like this www.mysite.com/custom/ if I go to a url like that, I get 403/404 but if I got to www.mysite.com/custom/index.php it will work. Do I have to add something to the .htaccess file for links to those directories to work without actually specifying the actual index.php?


update: I had DirectoryIndex portal.php in my htaccess file for portal and that is why
You can specify multiple files for DirectoryIndex and it will use the first file that is present

DirectoryIndex portal.php index.php index.html index.htm