https://issues.apache.org/bugzilla/show_bug.cgi?id=47722



--- Comment #2 from Felix <[email protected]> 2009-08-22 14:32:51 
PDT ---
Well, IIRC, a login on linux is [a-z0-9]+ (now that I think of it, I'm not even
sure the A-Z would be necessary in the regex), so I'd limit the regex to those,
not sure how it is on other platforms. That would rule out your second
proposition.

Pertaining the first one, you are right that it improves readability, but I'd
still make the / mandatory as a first character for the "rest" after the login
part, or else you might end up again matching "/upages/favicon.ico" to
"/home/favicon/public_html.ico". I think the middle ground would be:
"""
AliasMatch ^/upages/([a-z0-9]+)(/.*)?$ /home/$1/public_html$2
"""

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to