May 23
Marc Pinnell Apache 1.3 / Regex help
May 23, 2014; 10:31
Marc Pinnell
Apache 1.3 / Regex help
Anyone out there still have Apache 1.3 running? Know your regex? Need to convert the following (which works with Apache 2) to work on Apache 1.3:
# SEO re-write to change pluses to dashes, client request Spring 2014
RewriteEngine On
Options FollowSymLinks
RewriteRule ^([^+]*?)\+(.*?\+.*)$ $1-$2 [N]
RewriteRule ^([^+]*?)\+(.*)$ $1-$2 [R=301]
Would have been really nice of the client to tell me upfront they don't have current servers!! Guess I should ask about these things...
Anyway, I know from googling that the regex engine changed between Apache 1 and 2, but don't know enough of the minor bits to figure out how to change the above. When you put the above into the VHost file it returns a "RewriteRule: Cannot compile regular expression '^([^+]*?)\+(.*?\+.*)$'".
Marc
Marc Pinnell
1027 Design
PO Box 990872
Redding, CA 96099-0872
530.941.4706
fax: 866.232.5300
www.1027Design.com
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
May 23
Steve Piercy - Web Site Builder Re: Apache 1.3 / Regex help
May 23, 2014; 13:43
Steve Piercy - Web Site Builder
Re: Apache 1.3 / Regex help
May 23
Marc Pinnell Re: Apache 1.3 / Regex help
May 23, 2014; 14:05
Marc Pinnell
Re: Apache 1.3 / Regex help
May 23
Steve Piercy - Web Site Builder Re: Apache 1.3 / Regex help
May 23, 2014; 14:07
Steve Piercy - Web Site Builder
Re: Apache 1.3 / Regex help
May 23
Marc Pinnell Re: Apache 1.3 / Regex help
May 23, 2014; 14:08
Marc Pinnell
Re: Apache 1.3 / Regex help
May 23
Marc Pinnell Re: Apache 1.3 / Regex help
May 23, 2014; 14:15
Marc Pinnell
Re: Apache 1.3 / Regex help