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> </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> </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> </DIV>
<DIV><FONT face=Arial size=2>NameVirtualHost
ip_address_of_the_machine</FONT></DIV><FONT face=Arial size=2>
<DIV><BR><VirtualHost ip_address_of_the_machine><BR>
ServerAdmin <U><FONT color=#0000ff><A
href="mailto:my@email.com">my@email.com</A></FONT></U><BR>
DocumentRoot "/usr/home/www/"<BR>
ServerName mydomain.com</DIV>
<DIV> ErrorLog logs/mydomain<BR> CustomLog
logs/mydomain common<BR></VirtualHost></DIV>
<DIV> </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> </DIV>
<DIV>Anyone experienced this kind of weird stuff? Any hints/suggestions to fix
this?</DIV>
<DIV> </DIV>
<DIV>Thank you.</DIV>
<DIV> </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>
