Sorry for the long title.
I have the following (without [#])
in my Apache config:
ErrorDocument 404 /Scripts/ErrorDocument.pl?response=404 [1]
in ErrorDocument.pl:
print "Location: http://www.mydomain.com/Errors/404.html\n\n"; [2]
[2] is currently the first line in the perl code (for testing).
My problem is that this returns an empty page of type text/plain,
rather than the html page. The config [1] is for mydomain.com
and the url [2] does exists. If I call the script directly from
the browser, it works.
Any help would be appreciated.
--
Cheers,
Tom
Sent via Deja.com http://www.deja.com/
Before you buy.