Hi all,
I recently moved a site from Linux to Windows. Now a 404 error shows the server error page not the one I have defined.
Any ideas?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
April 26, 2012 1:02pm
Subscribe [2]#1 / Apr 26, 2012 1:02pm
Hi all,
I recently moved a site from Linux to Windows. Now a 404 error shows the server error page not the one I have defined.
Any ideas?
#2 / Apr 27, 2012 1:06pm
Hello TheBlackHole,
I am sorry to hear you are running into this problem.
Can you tell me what version of ExpressionEngine you are running?
You may need to enable Query Strings as laid out here. Windows servers sometimes need this one enabled to work.
Did you get a chance to run the Server Wizard?
Cheers,
#3 / Apr 30, 2012 4:31am
Hi Shane,
EE version 2.4.0
URL Segment Support was shown as not supported but we’ve still managed to avoid using ? in the URL by copying the .htaccess rules into a Windows format using this article.
I’ve enabled Query Strings as you suggested but it stops dynamic entries working and the 404 is still not working.
Cheers
#4 / May 01, 2012 10:20am
Hello TheBlackHole,
Thank you for the information. Appreciate that.
Are you using strict urls?
Can you show me a url where you would expect a 404?
I have a feeling that the .htaccess file and/or the absence of ? is playing a part here. I am admittedly very weak with Windows. Not understanding what takes place on the OS level as I do with *nix is a bit of a handicap.
Please let me know.
Cheers,
#5 / May 01, 2012 10:25am
Yes, strict URL’s are being used. I can’t show you a live example as the server is locked down to specific IP addresses. That combined with your lack of Windows knowledge could prove to be crippling : /
#6 / May 01, 2012 3:55pm
Hello TheBlackHole,
Can you remove that setting for Strict URL’s and see what that does.
404 is a funny setting in ExpressionEngine because of the dynamic nature of how we do things.
Cheers,