[ic] Redirection of domain name

Rene Hertell interchange-users@icdevgroup.org
Wed Mar 5 19:56:00 2003


> I need to have a simple domain name for my clients to use, such as
> shop.mydomain.com
> and I want to redirect that to
> shop.mydomain.com/cgi-bin/myshop
> because the latter is a lot harder for clients to remember.
>
> 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.
>
> Any suggestions?

I'm use this technique for getting rid of the cgi-bin/myshop part. Works
really nice! :-)

http://www.icdevgroup.org/i/doc/wiki/FaqUsingInterchangeWithApache.html


Regards, Rene