<br><br><div><span class="gmail_quote">On 7/9/07, <b class="gmail_sendername">Les Mikesell</b> <<a href="mailto:lesmikesell@gmail.com">lesmikesell@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Devon Harding wrote:<br>>      > proxying to accept http request as well<br>><br>>     Yes, apache can sort this out itself.  If anything else accepts port 80<br>>     you'd have to also have a special case to redirect even the local host,
<br>>     perhaps to apache on an alternate port.<br>><br>>     --<br>><br>><br>><br>> Ok, got it working, but it seems to be redirecting even the localhost.<br>> How can I get the localhost to answer and proxy all other hosts.  Here
<br>> is my config:<br>><br>><br>> NameVirtualHost *:80<br>> <VirtualHost *:80><br>> ServerName <a href="http://www.domain.com">www.domain.com</a> <<a href="http://www.domain.com">http://www.domain.com
</a>><br>> ProxyPass / <a href="http://www.domain.com/">http://www.domain.com/</a><br>> ProxyPassReverse / <a href="http://www.domain.com/">http://www.domain.com/</a><br>> </VirtualHost><br>> <VirtualHost *:80>
<br>> ServerName <a href="http://webmail.domain.com">webmail.domain.com</a> <<a href="http://webmail.domain.com">http://webmail.domain.com</a>><br>> ProxyPass / <a href="http://webmail.domain.com/">http://webmail.domain.com/
</a><br>> ProxyPassReverse / <a href="http://webmail.domain.com/">http://webmail.domain.com/</a><br>> </VirtualHost><br><br>You need to move your local site setings into a VirtualHost container<br>with the right servername or alias too.  The first Virtualhost in the
<br>list becomes the default when you use named vhosts, unless you have one<br>that says <VirtualHost _default_:80><br><br>If you are testing with an IP address or a name that doesn't match,<br>you'll hit the default.
<br><br></blockquote></div><br>Gotcha, works likes a champ!<br>