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