Re: [users@httpd] Re: Mod-Rewrite: Changing + to -, _ or .

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

 



David Blomstrom wrote:
OK, I've finally got it working. Thanks for all the
tips, everyone.

Would you mind sharing with us just how you solved your problem? (Future generations may thank you.)

Thanks,

--John


--- Kovacs Baldvin <baldvin@xxxxxxxxxxxxx> wrote:


On Sun, Aug 21, 2005 at 10:18:26AM +0200, Joost de
Heer wrote:

1. RewriteRule ^topics/([a-zA-Z-]+)

- inside a set has a special meaning so you have

to escape it:

RewriteRule ^topics/([a-zA-Z\-]+)

It is definitely correct this way, but I don't get
why is it not correct at the original form. As I remember, in perl
regular expressions
- only has a special meaning inside [] if it is not
in the first or
the last position. So [A-Z-] should be equivalent of
[A-Z\-],
while [A-Z] not equivalent of [A\-Z].

Baldvin



---------------------------------------------------------------------

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






		
____________________________________________________
Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
---------------------------------------------------------------------
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