httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Dessent <>
Subject Re: [users@httpd] RewriteRules
Date Mon, 08 Sep 2003 22:27:22 GMT
"Warhurst, SI (Spencer)" wrote:

> I made the following adjustments/entries into httpd.conf:
>   LoadModule rewrite_module modules/
>   # Configure ReWrite
>   RewriteEngine on
>   RewriteLog "d:/apache2/logs/rewrite.log"
>   RewriteRule ^/messages/(.+?)/(\d{2})(\d{2})/(\d+)
> /cgi-bin/wa.exe?A2=ind$3$2&L=$1&T=0&F=&S=&P=$4

I think the "\d" expression is a part of the "perl compatible" regular
expression class, whereas Apache uses Posix regexps, which have a lot
fewer features.  Try [0-9] where you have \d and see if that changes

This may have changed in 2.0, I don't know, but I think 1.3 uses the
posix ("egrep") style.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message