[ic] Redirection of domain name
Howard Lowndes
interchange-users@icdevgroup.org
Wed Mar 5 22:03:00 2003
On Thu, 6 Mar 2003, Stefan Hornburg wrote:
> On Thu, 6 Mar 2003 11:05:57 +1100 (EST)
> Howard Lowndes <lannet@lannet.com.au> wrote:
>
> > 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.
>
> You advised it to loop !
Tell me about it :(
>
> Try:
>
> RedirectMatch permanent ^/$ http:/shop.mydomain.com/cgi-bin/myshop/
Tks, that worked a treat. I had to tweak a couple of variables in IC and
in httpd.conf, but I got there.
BTW, the site is shop.orientstar.com.au
--
Howard.
LANNet Computing Associates - Your Linux people <http://www.lannetlinux.com>
------------------------------------------
Flatter government, not fatter government - Get rid of the Australian states.
------------------------------------------
There are 10 types of people in the world, those who understand binary,
and those who don't.