On 8/2/06, David Pratt <[EMAIL PROTECTED]> wrote:
Hi Vincent, ok - I am trying something else that I have partially
working but I need something to fix my regex to catch to domain
properly. So may have need a RewriteCond that can compare domain name
coming in.
Here is what I have got so far but since my regex is not right for
domains - it moves on to the last RewriteRule that I have set up which
places it in the zope root - but good thing is that ssl works properly.
So I need a proper regex that will catch the domain so it will land on
the right rewrite rule. Many thanks.
Hi again,
It's entirely unclear what you're trying to do here, and why you are
using mod_rewrite to do it. If you need to differentiate the proxy
address based on the host name, then you should be using multiple
vhosts instead. As pointed out earlier though, this can't work on a
single ip/port.
In any case, if you really want to do this wrong, then
RewriteCond %{HTTP_HOST} (.+)
.. will allow you to read the hostname, putting the result in %1 for
the following rule.
--
noodl
---------------------------------------------------------------------
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]