httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Birl <>
Subject [users@httpd] Aliasing (none)
Date Wed, 14 May 2003 17:00:13 GMT
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:

<title>You have an error!</title>
<meta http-equiv="refresh" content="60; url=<!--#echo var="HTTP_REFERER"-->">

<body bgcolor="white" text="black">
<h1>Error 404: File Not Found</h1>
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?


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message