[ic] Redirection of domain name

Mike Kang interchange-users@icdevgroup.org
Thu Mar 6 13:40:01 2003


> > I have tried putting a redirect in apache in the virtual host
> > configuration for shop.mydomain.com such as
> > redirect permanent / http://shop.mydomain.com/cgi-bin/myshop/
> > but that doesn't work as it continually loops until apache decides that
> > there are too many redirects.
> 
> Isn't it supposed to be "RedirectPermanent" (one word)?
> 
Either is valid:

RedirectPermanent directive
Syntax: RedirectPermanent URL-path URL
Context: server config, virtual host, directory, .htaccess
Override: FileInfo
Status: Base
Module: mod_alias
Compatibility: This directive is only available in Apache 1.2 and later

This directive makes the client know that the Redirect is permanent (status
301). Exactly equivalent to Redirect permanent.


Michael Kang
The Design People, Inc.