l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
October 7: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2010 Aug 18 02:48

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[no subject]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



In sites.enabled:

<VirtualHost 24.189.162.69:80>
   ServerAdmin p@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@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@di=
rac.org">p@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@dirac.org";>p@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--

--===============0050438741==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech

--===============0050438741==--



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!