You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Birl <sb...@astro.ocis.temple.edu> on 2003/05/14 19:00:13 UTC
[users@httpd] Aliasing (none)
Hello all:
Ive created my own ErrorDocuments for 2.0.40, and I am using SSIs in it.
For my 404 (.notFound.shtml) I have:
----------------
<html>
<head>
<title>You have an error!</title>
<meta http-equiv="refresh" content="60; url=<!--#echo var="HTTP_REFERER"-->">
</head>
<body bgcolor="white" text="black">
<h1>Error 404: File Not Found</h1>
<p>
The file (or directory) you have entered from the refering link
<b><!--#echo var="HTTP_REFERER"--></b> is invalid.
----------------
When I manually go to .notFound.shtml, HTTP_REFERER is set to "(none)".
I expected that (200 OK response), as it is the correct response and the
meta refresh will redirect me to http://......../(none)
In my httpd.conf file, I added
Alias (none) "/usr/local/apache/htdocs/"
Alias \(none\) "/usr/local/apache/htdocs/"
when it comes time for the redirect, I get an actual 404 because (none) is
not found.
So neither of these aliases are working. Any ideas?
Thanks
Birl
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org