[ic] redirect IC pages while constructing site

Stefan Hornburg Racke interchange-users@icdevgroup.org
Fri Jul 26 11:46:00 2002


"Aaron Hazelton" <aaronmail@hazenet.net> writes:

> Stefan Hornburg (Racke) wrote:
> > "Aaron Hazelton" <aaronmail@hazenet.net> writes:
> > 
> > > I know, this is probably Apache, but in all the apache stuff 
> > > on the web, I cannot figure out a way to redirect pages that
> > > are coming off of a cgi script.  Changing directories or 
> > > individual files is easy, but does anybody know if there is a 
> > > way to make all of IC dirs just go to "domain.com/index.html"?
> > 
> > What do you mean with "all of IC dirs" ? You probably looking
> > for AliasMatch.
> > 
> > Ciao
> >         Racke
> > 
> 
> What I mean is that on a temp basis (when uploading the new
> files) I would like to have any requests for "domain.com/cgi-bin/
> cart.cgi/anypage....." to get redirected to "domain.com/index.html"
> which would be a construction notice page.  The redirect and 
> rewrite allows you to do this for a file or dir, but does not appear
> to work on a url with /cgi-bin/cart.cgi/...  I think alias is if you are
> moving something or want it to appear like a different location.  I 
> just didn't want people to see the "broken down" site.

RedirectMatch ^/cgi-bin/cart.cgi.* http://yourserver.com/index.html

Ciao
        Racke


-- 
Prolific Interchange Consulting (Excellent German Quality !).
Take a look at Materialboerse (http://www.materialboerse.de/), WITT 
(http://www.witt-weiden.de/), Boxmover (http://shop.boxmover.ch/) or 
Passionshop (http://www.passionshop.com/racke). Need a shop ? Contact us.