ikmyer Posted September 18, 2008 Share Posted September 18, 2008 Hello, I have recently been working on 2 different servers... one Fedora and one Ubuntu On the Fedora server you have to included the .php on the endings of all the files. ( hxxp://www.mysite.com/test.php ) On the Ubuntu server you do NOT have to include the .php on the end so hxxp://www.mysite.com/test would load the same page as test.php. Anyone know how I can set this up on the Fedora server ? Thanks Quote Link to comment Share on other sites More sharing options...
Zane Posted September 18, 2008 Share Posted September 18, 2008 I'm not the greating Apache person in the world but... just for gits and shiggles.... try putting this in your Apache http.conf file and see what happens AddType application/x-httpd-php .* Quote Link to comment Share on other sites More sharing options...
ikmyer Posted September 18, 2008 Author Share Posted September 18, 2008 thanks but didn't work... got 404 Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted September 18, 2008 Share Posted September 18, 2008 I don't believe the question is to make an extension-less file to be parsed as a .php file, but rather allow an extension-less request to resolve to a corresponding .php file. Your one server likely has a mod_rewrite rule in a .htaccess file that is making this happed. Check what is in any .htaccess files present. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.