httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Birl <sb...@astro.ocis.temple.edu>
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:

----------------
<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


Mime
View raw message