[ic] cgi-bin & script alias

Steve Graham icdev at mrlock.com
Tue Feb 23 15:03:10 UTC 2010

>> Please try the following directive in your Apache configuration:
>> RedirectMatch permanent ^/cgi-bin/site(.*)$ http://www.mysite.com/$1
> I think that will put a double slash after com.  Try the following:
> RedirectMatch permanent ^cgi-bin/site/(.*)$ http://www.mysite.com/$1
> ...or just...
> RedirectPermanent cgi-bin/site/ http://www.mysite.com/
> Peter

thanks everyone, it looks like:

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

does the trick....

Any idea what this will do to all the links currently in the search engine?
Will they correct themselves over time, or is it worth even making this 

Is there a way to do this without redirect, keeping both old link and the 
new link active?

Steve Graham 

More information about the interchange-users mailing list