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
This is a multi-part message in MIME format.

------=_NextPart_000_000D_01C0DBA9.191D9920
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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


------=_NextPart_000_000D_01C0DBA9.191D9920
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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

------=_NextPart_000_000D_01C0DBA9.191D9920--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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