Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 1999 11:04:09 -0400 (EDT)
From:      mwlucas@exceptionet.com
To:        Kevin_Rooney@sw.cc.va.us (Kevin Rooney)
Cc:        mwlucas@exceptionet.com, freebsd-questions@FreeBSD.ORG
Subject:   Re: weird Apache 1.3.6 problem
Message-ID:  <199906291504.LAA22977@easeway.com>
In-Reply-To: <519E4F1A60BCD211AC6100805FEA7ACA035066@SWCC2> from Kevin Rooney at "Jun 29, 99 10:55:58 am"

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

--ELM930668649-22909-0_
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

We need to support several virtual hosts on this machine, each with a
unique IP.

When I add additional vhosts, I get this error for each one.  The only
entries where virtual hosts are mentioned are:  

ralph/usr/local/etc/apache;grep -v # httpd.conf | grep -i virtual
<VirtualHost 209.69.10.82>
</VirtualHost>
ralph/usr/local/etc/apache;

I've stripped down the httpd.conf to a minimum, and it's still giving me
this error.  The new httpd.conf is attached for anyone on -questions who
wants to see it; I've removed the commented lines to trim it down to a
reasonable size. 

Thanks,
==ml

> would use the virtual host directive if you had multiple qualified
> domain names on the same ip address. Just comment out the virtualhost
> line in httpd.conf.
> 
> > -----Original Message-----
> > From: owner-freebsd-questions@FreeBSD.ORG
> > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of
> > mwlucas@exceptionet.com
> > Sent: Tuesday, June 29, 1999 10:25 AM
> > To: freebsd-questions@FreeBSD.ORG
> > Subject: weird Apache 1.3.6 problem
> > 
> > 
> > Hello,
> > 
> > Well, I put my first FreeBSD 3-stable box in production last 
> > week.  Most
> > of the problems are ironed out, except this.
> > 
> > Whenever I start Apache, I get the following error:
> > 
> > ralph/var/log;apachectl stop && apachectl startfp
> > /usr/local/sbin/apachectl stop: httpd stopped
> > [Tue Jun 29 10:35:12 1999] [warn] VirtualHost 209.69.10.82:80 overlaps
> > with VirtualHost 209.69.10.82:80, the first has precedence, 
> > perhaps you
> > need a NameVirtualHost directive
> > [Tue Jun 29 10:35:12 1999] [warn] VirtualHost 209.69.10.82:80 overlaps
> > with VirtualHost 209.69.10.82:80, the first has precedence, 
> > perhaps you
> > need a NameVirtualHost directive
> > /usr/local/sbin/apachectl startfp: httpd started
> > 
> > The problem is, I only have one VirtualHost directive!  
> > There's only one
> > site on this machine at the moment.  It's IP-based.
> > 
> > I've been through the FreeBSD archives and the Apache 
> > archives, and don't
> > see anyone else reporting this problem.
> > 
> > It's apache_fp-1.3.6 on FreeBSD 3.2-stable.
> > 
> > Any help appreciated!
> > 
> > Thanks,
> > ==ml
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> > 
> 


-- 
Michael Lucas			|
Exceptionet, Inc.		|	www.exceptionet.com
"Exceptional Networking"	|

--ELM930668649-22909-0_
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: attachment; filename=httpd.conf.2
Content-Description: httpd.conf.2
Content-Transfer-Encoding: 7bit

ServerType standalone

ServerRoot "/usr/local"

PidFile /var/run/httpd.pid

ScoreBoardFile /var/run/httpd.scoreboard

<IfDefine FRONTPAGE>
ResourceConfig /usr/local/etc/apache/httpd.conf
AccessConfig /usr/local/etc/apache/httpd.conf
</IfDefine>
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 30
LoadModule mime_magic_module  libexec/apache/mod_mime_magic.so
LoadModule info_module        libexec/apache/mod_info.so
LoadModule speling_module     libexec/apache/mod_speling.so
LoadModule proxy_module       libexec/apache/libproxy.so
LoadModule rewrite_module     libexec/apache/mod_rewrite.so
LoadModule anon_auth_module   libexec/apache/mod_auth_anon.so
LoadModule db_auth_module     libexec/apache/mod_auth_db.so
LoadModule digest_module      libexec/apache/mod_digest.so
LoadModule cern_meta_module   libexec/apache/mod_cern_meta.so
LoadModule expires_module     libexec/apache/mod_expires.so
LoadModule headers_module     libexec/apache/mod_headers.so
LoadModule usertrack_module   libexec/apache/mod_usertrack.so
LoadModule unique_id_module   libexec/apache/mod_unique_id.so

ClearModuleList
AddModule mod_env.c
AddModule mod_log_config.c
AddModule mod_mime_magic.c
AddModule mod_mime.c
AddModule mod_negotiation.c
AddModule mod_status.c
AddModule mod_info.c
AddModule mod_include.c
AddModule mod_autoindex.c
AddModule mod_dir.c
AddModule mod_cgi.c
AddModule mod_asis.c
AddModule mod_imap.c
AddModule mod_actions.c
AddModule mod_speling.c
AddModule mod_userdir.c
AddModule mod_proxy.c
AddModule mod_alias.c
AddModule mod_rewrite.c
AddModule mod_access.c
AddModule mod_auth.c
AddModule mod_auth_anon.c
AddModule mod_auth_db.c
AddModule mod_digest.c
AddModule mod_cern_meta.c
AddModule mod_expires.c
AddModule mod_headers.c
AddModule mod_usertrack.c
AddModule mod_unique_id.c
AddModule mod_so.c
AddModule mod_setenvif.c

<IfDefine SSL>
LoadFile !libcrypto.so.0
LoadFile !libssl.so.0
LoadModule ssl_module libexec/apache/mod_ssl.so
AddModule mod_ssl.c
</IfDefine>

<IfDefine FRONTPAGE>
LoadModule frontpage_module libexec/apache/mod_frontpage.so
AddModule mod_frontpage.c
</IfDefine>

Port 80

User nobody
Group nogroup

ServerAdmin webmaster@glblnet.com

ServerName ralph.glblnet.com

DirectoryIndex index.html index.htm

AccessFileName .htaccess

<Files .htaccess>
    Order allow,deny
    Deny from all
</Files>

UseCanonicalName On

TypesConfig /usr/local/etc/apache/mime.types

DefaultType text/plain

<IfModule mod_mime_magic.c>
    MIMEMagicFile /usr/local/etc/apache/magic
</IfModule>

HostnameLookups Off

ErrorLog /var/log/httpd-error.log

LogLevel warn

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

CustomLog /var/log/httpd-access.log combined

ServerSignature On

IndexOptions FancyIndexing

AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*

AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core

AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^

DefaultIcon /icons/unknown.gif

ReadmeName README
HeaderName HEADER

AddEncoding x-compress Z
AddEncoding x-gzip gz

AddLanguage en .en
AddLanguage fr .fr
AddLanguage de .de
AddLanguage da .da
AddLanguage el .el
AddLanguage it .it

LanguagePriority en fr de

BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0

BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0

<VirtualHost 209.69.10.82>
	ServerAdmin webmaster@michiganbanner.com
	DocumentRoot /home/fasferr/public_html/data
	ServerName www.michiganbanner.com
	<Directory /home/fasferr/public/html/>
	        AllowOverride AuthConfig Limit Indexes Options
	        Options ExecCGI
	</Directory>
	ErrorLog /var/log/michiganbanner-error_log
	CustomLog /var/log/michiganbanner-access_log combined
	ScriptAlias /cgi-bin/ /home/fasferr/public_html/cgi-bin/
	ScriptAlias /cgi-local/ /home/fasferr/public_html/cgi-local/
	ScriptAlias /cgi-bin/ /home/fasferr/public_html/data/cgi-bin/ 
	ScriptAlias /_vti_bin/ /usr/local/frontpage/exes/_vti_bin/
</VirtualHost>


--ELM930668649-22909-0_--


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906291504.LAA22977>