Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 May 2001 12:34:48 -0700
From:      "Alex M" <alex@freebsd.myzona.net>
To:        "FreeBSD STABLE" <freebsd-stable@freebsd.org>
Subject:   Apache 1.3.19 and VirtualHosting
Message-ID:  <001001c0dbe3$e3c56ec0$ea31fea9@parkson>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hello all,

this question should've gone to -questions, but anyway...

I am running 4.2-RELEASE, installed new apache 1.3.19 from ports, and i edited virtualhosts in httpd,conf, and when I try to start it, httpd fails to start, doesnt say what error though. If i comment all the virtualhosts, httpd starts ok. I did apachectl configtest to check the syntax, syntax Ok. I even tried installing 1.3.19 on an old 4.1 machine, same result, no go with virtualhosts in httpd.conf. I am pretty sure the syntax and dns for them is ok...:

NameVirtualHost ip_address_of_the_machine

<VirtualHost ip_address_of_the_machine>
    ServerAdmin my@email.com
    DocumentRoot "/usr/home/www/"
    ServerName mydomain.com
    ErrorLog logs/mydomain
    CustomLog logs/mydomain common
</VirtualHost>

as u can see everything should be ok, i even copied/pasted my virtualhosts from apache 1.3.17 httpd.conf file, all this works perfectly under .17, but refuses to work under .19.

Anyone experienced this kind of weird stuff? Any hints/suggestions to fix this?

Thank you.

--
Alex M


[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2462.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>this question should've gone to -questions, but 
anyway...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I am running 4.2-RELEASE, installed new apache 
1.3.19 from ports, and i edited virtualhosts in httpd,conf, and when I try to 
start it, httpd fails to start, doesnt say what error though. If i comment all 
the virtualhosts, httpd starts ok. I did apachectl configtest to check the 
syntax, syntax Ok. I even tried installing 1.3.19 on an old 4.1 machine, same 
result, no go with virtualhosts in httpd.conf. I am pretty sure the syntax and 
dns for them is ok...:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>NameVirtualHost 
ip_address_of_the_machine</FONT></DIV><FONT face=Arial size=2>
<DIV><BR>&lt;VirtualHost ip_address_of_the_machine&gt;<BR>&nbsp;&nbsp;&nbsp; 
ServerAdmin&nbsp;<U><FONT color=#0000ff><A 
href="mailto:my@email.com">my@email.com</A></FONT></U><BR>&nbsp;&nbsp;&nbsp; 
DocumentRoot "/usr/home/www/"<BR>&nbsp;&nbsp;&nbsp; 
ServerName&nbsp;mydomain.com</DIV>
<DIV>&nbsp;&nbsp;&nbsp; ErrorLog logs/mydomain<BR>&nbsp;&nbsp;&nbsp; CustomLog 
logs/mydomain common<BR>&lt;/VirtualHost&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>as u can see everything should be ok, i even copied/pasted my virtualhosts 
from apache 1.3.17 httpd.conf file, all this works perfectly under .17, but 
refuses to work under .19.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Anyone experienced this kind of weird stuff? Any hints/suggestions to fix 
this?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you.</DIV>
<DIV>&nbsp;</DIV>
<DIV>--</DIV>
<DIV>Alex M<BR></DIV></FONT></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001001c0dbe3$e3c56ec0$ea31fea9>