[ic] Redirection of domain name

scott interchange-users@icdevgroup.org
Thu Mar 6 14:38:00 2003


try placing the redirect to shop.mydomain.com/index.html

I tryed using a redirect to get my domain to goto my cart to from my domain 
name as well.
When i tryed using the redirect from just / it gave me errors when i addedd 
/index.html it worked.

At 11:03 PM 3/6/03 +1100, you wrote:
>Thank you
>
>-----Original Message-----
>From: interchange-users-admin@icdevgroup.org
>[mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Rene Hertell
>Sent: Thursday, 6 March 2003 6:47 PM
>To: interchange-users@icdevgroup.org
>Subject: RE: [ic] Redirection of domain name
>
>
> > >
> > > > 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/FaqUsingInterchangeWithAp
> > > ache.html
> > >
> > >
> > > Regards, Rene
> > IC 4.8.7
> > RH 7.2 with Apache
> >
> > I tried the ReWrite lines in the httpd.conf as indicated in the hyperlink
> > below the Customer site was fine and would appear with just the
> > www.domain.com but the admin pages pages .../cgi-bin/admin/index.html has
> > images not appearing problems.
> >
> > Is this a permissions problems or a location problem.
> >
> > If location the where should these files (interchange/en_US/*) be located
> > now.
> >
>
>Each directory that should not be rewrited has to have an own line:
>
>RewriteRule ^/images/.*        -     [PT,L]
>RewriteRule ^/interchange/.*   -     [PT,L]
>RewriteRule ^/interchange-5/.* -     [PT,L]
>
>that skips the rewrite-rule for all directories underneath the /images
>directory
>
>Rene
>
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@icdevgroup.org
>http://www.icdevgroup.org/mailman/listinfo/interchange-users
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@icdevgroup.org
>http://www.icdevgroup.org/mailman/listinfo/interchange-users