Skip to main content.
home | support | download

Back to List Archive

Re: Need help with swish.cgi v2.2.1

From: Jeff St. Laurent <JStlau(at)not-real.ci.scarborough.me.us>
Date: Mon Dec 02 2002 - 14:50:27 GMT
I ended up using:
 
ReplaceRules regex  !^/DocumentRoot/(.+)!http://www.my_domain.com/$1!
 
Thanks for your help.
 
Jeff St. Laurent
jstlau@ci.scarborough.me.us

	-----Original Message----- 
	From: Greg Fenton [mailto:greg_fenton@yahoo.com] 
	Sent: Fri 11/22/2002 4:00 PM 
	To: Multiple recipients of list 
	Cc: 
	Subject: [SWISH-E] Re: Need help with swish.cgi v2.2.1
	
	


	--- Greg Fenton <greg_fenton@yahoo.com> wrote:
	>
	> --- "Jeff St. Laurent" <JStlau@ci.scarborough.me.us> wrote:
	> >
	> > ReplaceRules regex
	> !^/DocumentRoot/(.+)/!http://www.my_domain.com/!
	> > 
	>
	> I believe that should be:
	>
	>   ReplaceRules regex
	> !^/DocumentRoot/(.+)/!http://www.my_domain.com/$1!
	>
	
	Sorry, I believe that for your regexp to work correctly it will
need to
	be:
	
	  !^/DocumentRoot(.+)!http://www.my_domain.com$1!
	
	or
	
	  !^/DocumentRoot/(.*)!http://www.my_domain.com/$1!
	
	greg_fenton.
	
	=====
	Greg Fenton
	greg_fenton@yahoo.com
	
	__________________________________________________
	Do you Yahoo!?
	Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
	http://mailplus.yahoo.com
	
Received on Mon Dec 2 14:50:37 2002