[ic] cgi-bin & script alias

Stefan Hornburg (Racke) racke at linuxia.de
Tue Feb 23 07:30:48 UTC 2010

Mr. Lock - Sales wrote:
> Currently have a catalog using www.mysite.com/cgi-bin/site
> as IC store directory.
> I can make the root store directory www.mysite.com
> but is there a way to keep both working, so the links in the search 
> engine still work.
> ie.
> www.mysite.com/cgi-bin/site/product1.html
> and
> www.mysite.com/product1.html
> ?

Please try the following directive in your Apache configuration:

RedirectMatch permanent ^/cgi-bin/site(.*)$ http://www.mysite.com/$1


LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team

More information about the interchange-users mailing list