A
altgamer
Guest
Hi, I'm hoping somebody can help me with an issue I'm having. (I have a Windows 2003 server).. I've been using Plesk for well over a year now, used to be using Plesk 7.5, etc and upgraded to Plesk 8.1 for Windows. Most everything is fine except I seem to be having some minor mime type problems.
First, I tried adding the mime type in Plesk 8.1 control panel, under web directories, etc and have confirmed it's there.
I've made sure the mime type exists and is added in IIS manager, for the local computer.
Extension: .php2
MIME type: application/x-httpd-php
It matches the original .php extension. (Please note PHP works fine on the server under the .php extension without problem (it's 5.2.0 running under cgi mode, not isapi))
After that failed to work, I went into Web Sites, and went to properties on mine, etc and configured the websites mime types. Also added .php2 there, and yet again it fails. I then tried going into the web sites configuration and manually adding .php2 with the full path to the php executable. The exact same path the regular .php extension uses. It yet again failed.
No matter what I try, the .php2 extension, every time I try accessing a file it requests to download the file, rather then display it.
I have double checked to make sure no .* mime types exist, and the server itself gives off a 404 error for unknown types. So I am pretty sure theres no .* that would be causing a stream.
I have tried going through my error logs, regular logs, etc but they all just have the typical status codes of 200 as if the server is doing this on purpose.
I've also tried getting rid of the mime types, and then I get a 404 error when trying to access the files.
And yes, I have tried restarting the web site by itself, iis multiple times, and the server multiple times. Nothing seems to fix this.
It worked perfectly when I was using Plesk 7.5 etc. It has only broken on Plesk 8.1 (Note, I didn't have 8.0)
Also, Scripts and Executables is checked, and permissions are in order.
For those that may suggest it.. I know I don't need a .php2 extension, I'm more or less using it as an example. I'm trying to get ones like .view or .data etc to make url's look a bit cleaner and such.
I've spent several hours on google trying to find an answer, other help guides, faq's, etc and can't find a single thing that works.
So if anybody knows the answer or could help out, I'd appreciate it.
Thanks.
First, I tried adding the mime type in Plesk 8.1 control panel, under web directories, etc and have confirmed it's there.
I've made sure the mime type exists and is added in IIS manager, for the local computer.
Extension: .php2
MIME type: application/x-httpd-php
It matches the original .php extension. (Please note PHP works fine on the server under the .php extension without problem (it's 5.2.0 running under cgi mode, not isapi))
After that failed to work, I went into Web Sites, and went to properties on mine, etc and configured the websites mime types. Also added .php2 there, and yet again it fails. I then tried going into the web sites configuration and manually adding .php2 with the full path to the php executable. The exact same path the regular .php extension uses. It yet again failed.
No matter what I try, the .php2 extension, every time I try accessing a file it requests to download the file, rather then display it.
I have double checked to make sure no .* mime types exist, and the server itself gives off a 404 error for unknown types. So I am pretty sure theres no .* that would be causing a stream.
I have tried going through my error logs, regular logs, etc but they all just have the typical status codes of 200 as if the server is doing this on purpose.
I've also tried getting rid of the mime types, and then I get a 404 error when trying to access the files.
And yes, I have tried restarting the web site by itself, iis multiple times, and the server multiple times. Nothing seems to fix this.
It worked perfectly when I was using Plesk 7.5 etc. It has only broken on Plesk 8.1 (Note, I didn't have 8.0)
Also, Scripts and Executables is checked, and permissions are in order.
For those that may suggest it.. I know I don't need a .php2 extension, I'm more or less using it as an example. I'm trying to get ones like .view or .data etc to make url's look a bit cleaner and such.
I've spent several hours on google trying to find an answer, other help guides, faq's, etc and can't find a single thing that works.
So if anybody knows the answer or could help out, I'd appreciate it.
Thanks.