Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- need help with regex rewrite


EvertVd - 9:20 am on Feb 11, 2012 (gmt 0)


Yes, that is exactly what I am aiming for.

I suspect my filenames will not contain a hyphen, but just to be sure I could perhaps change -rev to ~rev? because I am absolutely sure no filename will ever contain a ~.
So that would give me
^([^~]+)
correct?

As for combining my last 2 captures, I do not follow. I was under the impression I already combined them?
Thanks again for your help, and yes it does help me understand better trying to figure it out myself. I always try that, but sometimes just someone to "talk" to while doing it can be a big help. I guess twitter would be better suited for that, but I couldn't find an expert on there ;-)


Thread source:: http://www.webmasterworld.com/apache/4416301.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com