Lookaround assertions in mod_rewrite/mod_alias regex?
am 02.09.2009 07:39:31 von John Martin
How can one use lookahead/lookbehind assertions in the regex for a
mod_rewrite RewriteRule, or mod_alias AliasMatch? Currently when I
attempt to use a question mark in my regex, as needed for lookarounds,
I get an internal server error for mod_rewrite, or a syntax error for
mod_alias.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Lookaround assertions in mod_rewrite/mod_alias
am 02.09.2009 11:28:06 von Bob Ionescu
2009/9/2 John Martin :
> How can one use lookahead/lookbehind assertions in the regex for a
> mod_rewrite RewriteRule, or mod_alias AliasMatch? Currently when I
> attempt to use a question mark in my regex, as needed for lookarounds,
> I get an internal server error for mod_rewrite, or a syntax error for
> mod_alias.
But you're using Apache 2+?
Bob
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org