Parts of my website were recently hacked so I decided to just start over from scratch since it was time to do something new anyways.
I’m having trouble remembering how to do a few things though, it seems.
I am at http://www.monkeyslunch.com
I have my blog installed in a seperate folder than my root.
It’s at monkeyslunch.com/blog/
I edited my htaccess to point to the blog/index.php page as the default page to load when someone visits the site.
However, when trying to access individual directories like
where it would normally load the index.php file automatically its defaulting back to loading the directory information.
My htaccess file in my root folder looks like this:
ReWriteRule ^index/?$ index.php [L]
allow from all
deny from 22.214.171.124
deny from 126.96.36.199
As well I’d like any other directory on the server to load an index.php file if there is no index.html, .htm, .shtml, default.htm, etc page in the directory.
- The topic ‘directory index versus index.php problem’ is closed to new replies.