Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 1999 13:45:11 -0400 (EDT)
From:      mwlucas@exceptionet.com
To:        Kevin_Rooney@sw.cc.va.us (Kevin Rooney)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: weird Apache 1.3.6 problem
Message-ID:  <199906291745.NAA23376@easeway.com>
In-Reply-To: <519E4F1A60BCD211AC6100805FEA7ACA035069@SWCC2> from Kevin Rooney at "Jun 29, 99 01:19:17 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> Put in a line that reads
> NameVirtualHost 209.69.10.82
> 
> above your <VirtualHost> directive...
> 
> Example, mine looks like this------------
> 
> NameVirtualHost 204.180.122.38
>     
> <VirtualHost 204.180.122.38>
> ServerAdmin thanatos@incantations.net
> DocumentRoot /usr/local/apache/htdocs
> ServerName www.incantations.net
> ErrorLog logs/incantations.net-error_log
> TransferLog logs/incantations.net-access_log
> </VirtualHost>

Okay, tried this and came up with:

ralph/usr/local/etc/apache;apachectl stop && apachectl startfp
/usr/local/sbin/apachectl stop: httpd stopped
[Tue Jun 29 13:50:53 1999] [warn] NameVirtualHost 209.69.10.82:80 has no
VirtualHosts
[Tue Jun 29 13:50:53 1999] [warn] NameVirtualHost 209.69.10.82:80 has no
VirtualHosts
/usr/local/sbin/apachectl startfp: httpd started
ralph/usr/local/etc/apache;

My config looks like:

NameVirtualHost 209.69.10.82
<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>

Sigh... why can't my friends want something simple, say, a nationwide OC3
network?  I could whip that up in a weekend, but a web server's driving me
nuts.  ;)

Thanks to all for your help,
==ml


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?199906291745.NAA23376>