[ic] Can I have 2 domains point to the same catalog?

David Bordas interchange-users@interchange.redhat.com
Wed Jan 9 11:36:02 2002


This is small code for the static page named redirect.html for exemple :
<html>
<head>
</head>
<body bgcolor="#FFFFFF">
<script language="JavaScript">
<!--
   var loc="http://www.xyz.com/cgi-bin/catalog";
   window.location=loc;
// --></script>
</body>
</html>

END OF FILE

for apache cgf : simply do a permanent redirect.

I haven't apache syntax here, but i can give it you, if you want.

David
------ Original Message -----
From: "David Bordas" <bordas@jeuxvideo.com>
To: <interchange-users@interchange.redhat.com>
Sent: Wednesday, January 09, 2002 5:19 PM
Subject: Re: [ic] Can I have 2 domains point to the same catalog?


> Hi,
>
> why not simply redirect https://www.abc.com/xyz.com to a static html page
> with a small javascript that redirect to
> http://www.xyz.com.
>
> Hope that can help.
> David
> ----- Original Message -----
> From: "Rick Bragg" <rbragg@rickbragg.net>
> To: <interchange-users@interchange.redhat.com>
> Sent: Wednesday, January 09, 2002 5:14 PM
> Subject: [ic] Can I have 2 domains point to the same catalog?
>
>
> > I want to run the same catalog under 2 domains, one for regular traffic,
> > and the other for ssl.
> >
> > say:
> > http://www.xyz.com
> > https://www.abc.com/xyz.com
> >
> > The above is already set up and points to the same site. (Apache
aliases)
> >
> > However:
> >
> > http://www.xyz.com/cgi-bin/catalog
> > (works fine)
> >
> > https://www.abc.com/xyz.com/cgi-bin/catalog
> > (error)
> > "Undefined catalog: /tailwags.com/cgi-bin/tailwags"
> >
> >
> > Again, I already have apache set up with aliases and apache is not the
> > problem.
> >
> > My interchange.cfg looks like this:
> >
> > Catalog  catalog /usr/lib/interch/catalogs/catalog \
> >                   /cgi-bin/catalog    \
> >                   /xyz.com/cgi-bin/catalog \
> >                   /catalog
> >
> > Any help would be appreciated!
> >
> > Thanks
> > Rick
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users