[ic] Moving test catalog to production?

Chris Jesseman admin@sitemajic.net
Tue, 20 Feb 2001 23:49:29 -0500 (EST)


Tom, 

I use Apache's mod_rewrite engine to control root traffic to which ever catalog 
I want:

.htaccess contents:
RewriteEngine on
RewriteRule ^$ /cgi-bin/catalog.cgi/index.html

Your ISP would have to support mod_rewrite and it can be difficult to setup for 
some people... The above example is running on http://www.shopgetzs.com/ -- you 
will never know the main page is generated from IC (or MiniVend in this case). 
Note that this solution has nothing to do with IC... Hope this helps.

-Chris

Quoting Tom Lichti <tom@redpepperracing.com>:

> Well, the subject pretty much says it all. I have a test catalog,
> running
> out of a subdir of my apache doc-home and my cgi prog is in the
> cgi-bin
> directory. So how do I move it to the root? i.e. from
> www.mydomain.com/cgi-bin/catalog/index.html to just www.mydomain.com.
> 
> I'm sure this is possible, I just haven't been able to make it work.
> 
> Thanks for any help
> 
> Tom Lichti
> 
> 
> 
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
> 



Chris Jesseman, President
http://www.sitemajic.net