Page 1 of 1

.php pages

Posted: Wed Dec 30, 2009 9:07 am
by matt1234
I have a couple websites on different hosting servers. On one, in order to get to http://www.website.com/page.php, I can simply put in http://www.website.com/page and it will go to the same place. On another, I have to type in http://www.website.com/page.php and just /page brings up a 404 error. Where do I find settings for that?

Re: .php pages

Posted: Wed Dec 30, 2009 9:23 am
by Darhazer
This is apache setting, called MultiViews
In order /page to resolve page.php you have to set

Code: Select all

Options +MultiViews
in your .htaccess

Re: .php pages

Posted: Wed Dec 30, 2009 10:15 am
by matt1234
I did some research on it to see how to do it
I put it inside <Files></Files> and it gave me a 500 internal server error for any page where it wasn't a full URL with page name and extension

Re: .php pages

Posted: Mon Jan 11, 2010 4:08 pm
by matt1234
Any ideas why this would happen? Or maybe a different solution?