RE: [EMAIL PROTECTED] A lil Mod Rewrite help please...

2006-04-09 Thread Axel-Stéphane SMORGRAV
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,

Re: [EMAIL PROTECTED] A lil Mod Rewrite help please...

2006-04-09 Thread Antoine Prevosto
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

Re: [EMAIL PROTECTED] A lil Mod Rewrite help please...

2006-04-07 Thread John Hicks
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