What about something like this?
RewriteEngine On
RewriteLog logs/rewrite_log
RewriteLogLevel 9
RewriteCond %{HTTP_HOST} ^(webmail\.[^:]+)
RewriteRule .* http://%1:7080/webmail.exe [R]
-ascs
<
-Original Message-
From: m i l e s [mailto:[EMAIL PROTECTED]
Sent: Saturday,
You could also use the Reverse-Proxy function of Apache, with or without mod_rewrite. With Reverse-Proxy, your Apache is a gateway to a backend server, so you can pass requests to a different host/port, without doing external redirects.
See directive (without mod_rewrite) or the [P] flag of the Re
m i l e s wrote:
If I have the following series of urls:
webmail.theusersdomain.com
webmail.somedomain.com
webmail.myuserdomain.com
webmail.etc.com
Instead of adding hostdirections in the apache conf fileI was
thinking a mod_rewrite rule would do the trick rather nicelywhat I
thought