sheila
04-13-2001, 01:23 PM
Serving custom error documents on IRM's has been tricky for me.
I have an IRM www.k12groups.org (http://www.k12groups.org) which maps to
http://www.thinkspot.net/k12groups/
In the k12groups subdirectory, I'm managing to serve custom 404 and 403 documents, and my .htaccess file says (in part), this:
ErrorDocument 404 /cgi-bin/Ri404/k12404.cgi
ErrorDocument 403 http://www.k12groups.org/403.html
The 404 is served out of the cgi-bin, so that directory, when accessed as k12groups.org, sees that as the root and it seems to work properly.
In order to get the 403 document served correctly, I had to give the full URL to the document.
HTH
I have an IRM www.k12groups.org (http://www.k12groups.org) which maps to
http://www.thinkspot.net/k12groups/
In the k12groups subdirectory, I'm managing to serve custom 404 and 403 documents, and my .htaccess file says (in part), this:
ErrorDocument 404 /cgi-bin/Ri404/k12404.cgi
ErrorDocument 403 http://www.k12groups.org/403.html
The 404 is served out of the cgi-bin, so that directory, when accessed as k12groups.org, sees that as the root and it seems to work properly.
In order to get the 403 document served correctly, I had to give the full URL to the document.
HTH