On 11/7/05, Marc Perkel <marc@xxxxxxxxxx> wrote: > What I really want to do is this: > > http://www.(.*)/mailman/(.*) --> http://mailmam.$1/$2 > > What I want to do is preserve the host part after the www and substiture > mailman for www and lose the mailman on the end. I should have been clearer. RewriteEngine On RewiteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^/mailman/$1 http://mailman.%1/$1 [R] Joshua. --------------------------------------------------------------------- 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