I have a rewrite working well so for one virtual domain:

Convert:  http://www.AAsite.com/pf_dir/index.html
To:          http://www.AAsite.info/AAforums/pf_dir/index.html

RewriteEngine on
RewriteRule ^/pf(.*)$            http://www.AAsite.info/AAforums/pf$1 [L]

What I'd like to do is enhance it so it does the following:

Convert:  http://www.AAsite.com/pf_dir/index.html
To:  http://www.AAsite.info/AAforums/pf_dir/index.html
..AND:
Convert:  http://www.BBsite.com/pf_dir/index.html
To:  http://www.AAsite.info/BBforums/pf_dir/index.html

Both incoming URL sites are aliases in the same virtual server, but
the target URL domain name stays the same (AAsite), only the top level
directory changes "/AA" or "/BB".

Thanks in advance.

-- 

-Hank

---------------------------------------------------------------------
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