I have the following code in my GoDaddy .htaccess file:
AddHandler fcgid-script .do
FCGIWrapper /usr/local/cpanel/cgi-sys/php .do
AddType application/x-httpd-php5 .do
This means that whenever we go to a “.do” file in the web browser, it runs as PHP. All of a sudden, after three years of working with no problem, it has stopped working correctly! Now, if I go to a .do file, the browser just downloads the file.
I think that GoDaddy have done a server upgrade, but I can’t work out how to solve the problem.
Anyone have any ideas? Thanks in advance….
2
Answers
I faced a similar issue. We were able to fix it by replacing the module name to the Apache V 2.4 standard.
In your case, you would need to do:
We referred the official Apache documentation here. There might be more choices for your context.
GoDaddy upgraded EasyApache (from version 3 to version 4) last night.
You should drop the
FcgidWrapper
and theAddType
directives from your .htaccess, and modifyAddHandler
to:Refresh browser cache after change.