On 11/7/05, Marc Perkel <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to