It looks like I have it working, what I did was in addition to the entry for <a href="http://foobar.domain1.com">foobar.domain1.com</a> on port 8080, I added the following:<br>&lt;VirtualHost <a href="http://127.0.0.1:80">
127.0.0.1:80</a>&gt;<br>&nbsp;&nbsp;&nbsp; ServerName <a href="http://foobar.domain1.com">foobar.domain1.com</a><br>&nbsp;&nbsp;&nbsp; DocumentRoot /var/www/foobar<br>&lt;/VirtualHost&gt;<br><br>Where /var/www/foobar doesn&#39;t exist.&nbsp; That way, if someone goes to 
<a href="http://foobar.domain1.com">foobar.domain1.com</a> on port 80, they&#39;ll get a 404.&nbsp; Until today, I was only listening on 8080, keeping people from finding I had a web server running (since most only scan port 80).&nbsp; However, I have some legit people accessing certain sites, but some where having problems going to 8080.
<br><br>The one problem is if someone goes to the actual IP address, they&#39;re still presented with the <a href="http://foo.domain1.com">foo.domain1.com</a> page instead of an error.&nbsp; I&#39;ll see if there&#39;s a way to do a redirect or rewrite.
<br><br><div><span class="gmail_quote">On 6/1/07, <b class="gmail_sendername">Barry Von Ahsen</b> &lt;<a href="mailto:barry@vonahsen.com">barry@vonahsen.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;">
Tim Wilson wrote:<br>&gt; On 6/1/07, Chris Freeman &lt;<a href="mailto:cwfreeman@gmail.com">cwfreeman@gmail.com</a>&gt; wrote:<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; On 6/1/07, David Champion &lt;<a href="mailto:dchampion@visionary.com">
dchampion@visionary.com</a>&gt; wrote:<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; ...<br>&gt;&gt; &gt; Doing a search / replace on the IP isn&#39;t that hard (at least using joe.<br>&gt;&gt; &gt; Doing it in vi, well, that&#39;s another story).
<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; -dc<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; &lt;off-topic flame=&quot;on&quot; why=&quot;because I can&quot; &gt;<br>&gt;&gt; While doing it in joe might not be hard, doing it in vi is downright
<br>&gt;&gt; easy.<br>&gt;&gt; And fun. ;-)<br>&gt;&gt; &lt;/off-topic&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; Cialug mailing list<br>&gt;&gt; <a href="mailto:Cialug@cialug.org">
Cialug@cialug.org</a><br>&gt;&gt; <a href="http://cialug.org/mailman/listinfo/cialug">http://cialug.org/mailman/listinfo/cialug</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt; Ignoring the potential flame war (FTR, I use emacs, and it is very easy), I
<br>&gt; tried it with IP addresses and with *.&nbsp;&nbsp;With *, I get warnings when<br>&gt; restarting httpd.&nbsp;&nbsp;With IP addresses (or with *), If I go to<br>&gt; <a href="http://foobar.domain1.com">foobar.domain1.com</a> (port 80), I get what I would expect from
<br>&gt; <a href="http://foo.domain1.com">foo.domain1.com</a>.<br>&gt; Is there a way to display an error when someone goes to<br>&gt; foobar.domain1.comon port 80, but display the page when they go to<br>&gt; port 8080?&nbsp;&nbsp;I did add
<br>&gt; NameVirtualHost lines with the appropriate ports.<br>&gt;<br><br>you could do<br>&lt;VirtualHost foobarip:80&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ServerName <a href="http://foobar.domain1.com">foobar.domain1.com</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Redirect / 
<a href="http://foobar.domain1.com:8080/">http://foobar.domain1.com:8080/</a><br>&lt;/VirtualHost&gt;<br><br>to redirect them or<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RedirectMatch permanent (.*) <a href="http://foobar.domain1.com:8080$1">http://foobar.domain1.com:8080$1
</a><br><br>to redirect them to what they requested<br><br>-barry<br>_______________________________________________<br>Cialug mailing list<br><a href="mailto:Cialug@cialug.org">Cialug@cialug.org</a><br><a href="http://cialug.org/mailman/listinfo/cialug">
http://cialug.org/mailman/listinfo/cialug</a><br></blockquote></div><br><br clear="all"><br>-- <br>Tim