[ic] Different Domainnames for one Shop

Tom Luong tluon002 at lions.odu.edu
Mon Oct 11 21:05:13 EDT 2004


----- Original Message -----
From: Jon <prtyof5 at attglobal.net>
To: <interchange-users at icdevgroup.org>
Sent: Friday, October 08, 2004 11:51 PM
Subject: Re: [ic] Different Domainnames for one Shop


> > Hello list.
> >
> > I want to configure the interchange catalog to handle different domains.
> > For examplpe we have the domains :
> > www.example.com
> > www.example.net
> > www.example.jp
> > www.example.fr
> > www.example.de
> >
> > Normaly you write something like this in your variable.txt
> >
> > SERVER_NAME www.example.com
> >
> > The idea is to write the config, that the catalog can handle all
domains.
> >
> > May be a UserTag can be the solution ?
> >
> > Something like this :
> >
> > --snip--
> > UserTag server_name Routine <<EOF
> >         my $server_name = $Tag->env(
> >                 {
> >                         arg     => 'SERVER_NAME'
> >                 }
> >         );
> >
> >         # here some security stuff
> >         ...
> >
> >         return $server_name;
> > EOF
> > --snap--
> >
> > Thanks in advanced,
> >
> > Lars
> >
>
>        What about doing a permanent redirect for each of the domains ?
> Or are you wanting each domain to appear to go to a different web site ?
> I think that approach might cause an issue with google but the permanent
> redirect is acceptable to google.
>
> Jon
>
I am not sure what you are asking exaclty, or what your purpose is, but cant
you just set up ServerAlias in the httpd.conf file
ServerName example.com
ServerAlias example.net example.org example.jp example.fr www.example.com
www.example.net etc

hope this helps,
Tom



More information about the interchange-users mailing list