httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy McHargue <mchar...@usc.edu>
Subject [users@httpd] newbie redirect question
Date Mon, 16 Dec 2002 22:29:10 GMT
Besides a few specific redirects I need to set up, I want all requests
for pages within an old site to redirect to the new home page.

All I have access to is the .htaccess file -- other configuration
changes aren't really an option.

Here's my .htaccess file at the moment:

Redirect /hhs/sentinel.html
http://www.learcenter.org/html/projects/?cm=hhs/sentinel
Redirect /hhs http://www.learcenter.org/html/projects/?cm=hhs
Redirect / /redirect.html
ErrorDocument 404 /404.html

If I leave in the Redirect / line, I get internal server error.  What
should that line be, in order to redirect all other requests to
redirect.html ?  And I suppose if such a redirect is set up, 404's will
never happen since they will be redirected before a 404 is even
detected? 

Thanks,
am

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