RE: RewriteCond: cannot compile regular expression

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I guess something like

   [a-zA-Z][0-9][0-9][0-9]\.rewrite\.dev

or

   [a-zA-Z][0-9]{3}\.rewrite\.dev

or

   \D\d\d\d\.rewrite\.dev

or

   \D\d{3}\.rewrite\.dev

should work.

Pedro

> -----Original Message-----
> From: Norman Khine [mailto:norman@xxxxxxxxx]
> Sent: Mittwoch, 21. März 2007 16:59
> To: users@xxxxxxxxxxxxxxxx
> Subject:  RewriteCond: cannot compile regular expression
> 
> 
> Hello,
> 
> Can anyone help me with this error:
> 
> RewriteCond: cannot compile regular expression
> '^([a-zA-Z_1-0]+\\.rewrite\\.dev)$'
> 
> 
> I would like to have the RegEx to be in the following format
> 
> a-zA-Z then any 3 numbers
> 
> so
> 
> www123, abc999 etc...
> 
> Many thanks
> 
> Norman
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux