No subject


Fri Jun 11 10:36:16 PDT 2010


the incoming request.  However, tcpdump seems to be showing otherwise.  Port
80 is forwarded to the Linux box by the router.

In sites.enabled:

<VirtualHost 24.189.162.69:80>
   ServerAdmin p at dirac.org
   ServerName  www.dirac.org
   ServerAlias dirac.org

   # Indexes + Directory Root.
   DirectoryIndex index.html
   DocumentRoot /var/www/

   # Logfiles
   ErrorLog  /var/log/apache2/dirac.org.error
   CustomLog //var/log/apache2/dirac.org.access combined
</VirtualHost>

The default enabled site starts off as:

<VirtualHost 24.189.162.69:80>
   ServerAdmin p at dirac.org
   DocumentRoot /var/www
   . . .
</VirtualHost>


Any ideas what could be preventing this from working?

Thanks,
Pete

--0016e646a45646ec8e048d7d70c9
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I set up Apache2 on home Kubuntu box.=A0=A0 I defined one named virtual hos=
t in addition to &quot;default&quot; that came with the installation.=A0 Wh=
en I try to access the server from work, Firefox responds with &quot;The co=
nnection timed out&quot;.<br>
<br>When I run tcpdump -i eth0 tcp port 80, I see the incoming request from=
 work to <a href=3D"http://www.dirac.org">http://www.dirac.org</a>:<br><br>=
14:30:42.219003 IP ny-131.foo.com.33188 &gt; satan.www: Flags [S], seq 3646=
786876, win 64512, options [mss 1460,nop,nop,sackOK], length 0<br>
<br>I also see (what looks to be) the outgoing packets from satan to work:<=
br><br>14:30:42.219027 IP satan.www &gt; ny-131.foo.com.33188: Flags [S.], =
seq 2741002130, ack 3646786877, win 5840, options [mss 1460,nop,nop,sackOK]=
, length 0<br>
<br>However, *nothing* is getting written to the logs:<br><br>-rw-r----- 1 =
root root=A0=A0 0 2010-08-10 12:21 access.log<br>-rw-r----- 1 root root=A0=
=A0 0 2010-08-10 12:21 dirac.org.access<br>-rw-r----- 1 root root=A0=A0 0 2=
010-08-10 12:21 dirac.org.error<br>
-rw-r----- 1 root root 330 2010-08-10 12:21 error.log<br><br><br>The file e=
rror.log doesn&#39;t have anything interesting in it:<br><br><br>[Tue Aug 1=
0 12:21:00 2010] [notice] Apache/2.2.12 (Ubuntu) PHP/5.2.10-2ubuntu6.4 with=
 Suhosin-Patch mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal op=
erations<br>
[Tue Aug 10 12:21:00 2010] [info] Server built: Mar=A0 9 2010 21:20:44<br>[=
Tue Aug 10 12:21:00 2010] [debug] prefork.c(1013): AcceptMutex: sysvsem (de=
fault: sysvsem)<br><br><br>From the lack of entries in the log file, it loo=
ks like Apache isn&#39;t seeing the incoming request.=A0 However, tcpdump s=
eems to be showing otherwise.=A0 Port 80 is forwarded to the Linux box by t=
he router.<br>
<br>In sites.enabled:<br><br>&lt;VirtualHost <a href=3D"http://24.189.162.6=
9:80">24.189.162.69:80</a>&gt;<br>=A0=A0 ServerAdmin <a href=3D"mailto:p at di=
rac.org">p at dirac.org</a><br>=A0=A0 ServerName=A0 <a href=3D"http://www.dira=
c.org">www.dirac.org</a><br>
=A0=A0 ServerAlias <a href=3D"http://dirac.org">dirac.org</a><br><br>=A0=A0=
 # Indexes + Directory Root.<br>=A0=A0 DirectoryIndex index.html<br>=A0=A0 =
DocumentRoot /var/www/<br><br>=A0=A0 # Logfiles<br>=A0=A0 ErrorLog=A0 /var/=
log/apache2/dirac.org.error<br>
=A0=A0 CustomLog //var/log/apache2/dirac.org.access combined<br>&lt;/Virtua=
lHost&gt;<br><br>The default enabled site starts off as:<br><br>&lt;Virtual=
Host <a href=3D"http://24.189.162.69:80">24.189.162.69:80</a>&gt;<br>=A0=A0=
 ServerAdmin <a href=3D"mailto:p at dirac.org">p at dirac.org</a><br>
=A0=A0 DocumentRoot /var/www<br>=A0=A0 . . .<br>&lt;/VirtualHost&gt;<br><br=
><br>Any ideas what could be preventing this from working?<br><br>Thanks,<b=
r>Pete<br><br>

--0016e646a45646ec8e048d7d70c9--


More information about the vox-tech mailing list