httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Juergen von Lengerke <lenger...@sixt.de>
Subject Re: [users@httpd] Is mod_rewrite the solution for this...?
Date Wed, 04 Sep 2002 14:53:47 GMT
dale's stuff <stuff@colony.net> on Sep 4, 2002:

> An example would be - domain.com/members/greybear/ where I think I should
> create a folder named ./members/gr/greybear/

I'm not entirely sure I understand what you want but maybe this is it:

  RewriteRule ^/members/(([^/]{2})[^/]*)/(.*)$ /members/$2/$1/$3

This will work for all users with userids of at least 2 characters
length.

Regards, Hans


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message