Monday 15 March 2010

apache - .htaccess forctype not working on godaddy anymore possible rewrite rule? -


My website will no longer execute extensionless URLs as php I have the following .htaccess file that was working fine till date

  & lt; Files page & gt; Forcetepe x-httpd-php5-cgi & lt; / Files & gt;   

This is caused by running in the form of a page / like this page. Was php.

At the time of Godaddy, it indicates whether they are or not, Apache is being updated from 2.2 to 2.4.

What is it possible to do with a rewrite rule?

Add the following lines to your .htaccess file:

  Option + ExecCGI AddHandler x-httpd-php5-3 .php   

ForceStype must work properly! FYI: I had the exact same problem, so I called the Tech Tech Tech, and surprisingly they were able to solve the problem. It was actually a switch to Apache 2.4 and some changes in GoDaddy's server good luck!

EDIT: I forgot to mention that a php5.ini file which will set cgi.fix_pathinfo = 1 is required! If you get the "no input file specified" error, then he should solve it.

No comments:

Post a Comment