Forum Moderators: phranque
After the upgrade, my custom error docs do not work nor does my webalizer in Plesk
Some of my scripts work and some of them don't. If I create a phpinfo file, everything looks ok. The file runs.
I have added:
AddType application/x-tar .tgz
AddType application/x-httpd-php .php .html .htm
AddType application/x-httpd-php-source .phps
#AddType x-mapp-php4 .htm .html .php
AddType text/html .shtml
to my httpd.conf file.
If I put "AddType x-mapp-php4. htm .html .php" in my http.conf file, then my custom error docs work and so does my webalizer, but then some of my other scripts do not work.
I have tried using .htaccess to correct these problems, but it does not help.
I have no idea what's happening here.
Any help would be great.
Then my error logs give me this error:
[Wed Jul 27 14:38:51 2005] [error] [client 68.228.555.555] script not found or unable to stat: /home/httpd/vhosts/mysite.com/cgi-bin/index.pl
[Wed Jul 27 14:38:51 2005] [warn] Cannot get media type from 'x-mapp-php4'
If I remove the AddType x-mapp-php from the httpd.conf then I do not get any errors in the error logs.
I was referring to the scripts not working, what do they do when you add the
AddType x-mapp-php4 .htm .html .php
I actually have never used that and can't find a specific reference as to what it is. I have always used this
AddType application/x-httpd-php .php .html