[ic] Making store popup without redirect

Joachim Leidinger interchange-users@interchange.redhat.com
Thu Dec 6 12:15:01 2001


Joe Moschak wrote:
> 
> I had been wondering the same thing: how to get the catalog to come up
> as the main page.  I tried Dan's httpd.conf changes below and couldn't
> get them to work.  I tried adding a RewriteCond still to no avail.  I
> finally got it to work by adding the following line to the VirtualHost
> section of httpd.conf:
> 
> Redirect /index.html
>  http://www.mydomain.com/cgi-bin/mycatalogname/index.html
> 
> thanks to
> 
> http://www.linuxgazette.com/issue61/nielsen2.html
> 
> I suspect there are better and faster ways to do this.  In particular,
> it'd be nice if I didn't have to repeat my domain name.
> 
> Redirect /index.html  /cgi-bin/mycatalogname/index.html
> 
> for example, didn't work.  Of course, I don't think that's the way the
> Redirect command works.  I suspect there's a performance penalty for
> requiring the browser to re-resolve the domain name, but I'm not sure.
> 
> I'm not sure why Dan's changes didn't work for me.  Maybe these don't
> work if you put them in the VirtualHost section like I did.  For what
> it's worth,
> 
> http://www.engelschall.com/pw/apache/rewriteguide/#ToC6
> 
> suggests

Redirect permanent /intos/index.html
http://www.bpa.leidinger.local/cgi-bin/intos/index

for example works for me!

Joachim

-- 
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de