here is my apache config if someone does not know how to config apache for multiple 
logs
if this will move the conversation along

# This is the main server configuration file. See URL http://www.apache.org/
# for instructions.

ServerType standalone
Port 80
HostnameLookups off
User nobody
Group nobody
BindAddress *
ServerAdmin [EMAIL PROTECTED]
ServerName flood.multiactive.com
ServerRoot /root/network/
MinSpareServers 15
MaxSpareServers 200
StartServers 20
MaxClients 255
MaxRequestsPerChild 100
PidFile /root/network/httpd.pid
ScoreBoardFile /root/network/apache_status
Timeout 3000
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
BrowserMatch Mozilla/2 nokeepalive
BrowserMatch Java1.0 force-response-1.0
BrowserMatch JDK/1.0 force-response-1.0

# VIRTUAL SITES ARE CONFIGURED BELOW  DOG-BREATH
<VirtualHost intranet.multiactive.com>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /root/network/httpd/intranet/
ServerName intranet.multiactive.com
ServerAlias www.intranet.multiactive.com intranet.maximizer.com 
www.intranet.maximizer.com
Options Indexes Includes ExecCGI FollowSymLinks
ErrorLog /root/network/logfiles/intranet-error.log
TransferLog /root/network/logfiles/intranet-transfer.log
# ScriptAlias /bin/ /data/WWW-CGI/   for example
</VirtualHost>

<VirtualHost ukftp.multiactive.com>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /root/network/httpd/ukmultiactive/pub/
ServerName ukftp.multiactive.com
Options Indexes Includes ExecCGI FollowSymLinks
ErrorLog /root/network/logfiles/ukftp-error.log
TransferLog /root/network/logfiles/ukftp-transfer.log
# ScriptAlias /bin/ /data/WWW-CGI/   for example
</VirtualHost>

<VirtualHost ossa.ecbuilder.com>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /root/network/httpd/ossa/
ServerName ossa.ecbuilder.com
Options Indexes Includes ExecCGI FollowSymLinks
ErrorLog /root/network/logfiles/ossa-error.log
TransferLog /root/network/logfiles/ossa-transfer.log
# ScriptAlias /bin/ /data/WWW-CGI/   for example
</VirtualHost>

<VirtualHost bimberi.ecbuilder.com>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /root/network/httpd/bimberi/
ServerName bimberi.ecbuilder.com
Options Indexes Includes ExecCGI FollowSymLinks
ErrorLog /root/network/logfiles/bimberi-error.log
TransferLog /root/network/logfiles/bimberi-transfer.log
# ScriptAlias /bin/ /data/WWW-CGI/   for example
</VirtualHost>

<VirtualHost lascar.ecbuilder.com>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /root/network/httpd/lascar/
ServerName lascar.ecbuilder.com
Options Indexes Includes ExecCGI FollowSymLinks
ErrorLog /root/network/logfiles/lascar-error.log
TransferLog /root/network/logfiles/lascar-transfer.log
# ScriptAlias /bin/ /data/WWW-CGI/   for example
</VirtualHost>

************************************************************************************
NETWORK SERVICES;  [EMAIL PROTECTED]
Multiactive Technologies Inc.
300-1066 West Hastings Street
604-601-8000___Office
604-899-2843___Directline
604-899-2899___Faxline
Linux is like a wigwam - no windows, no gates, apache inside! 
-----Original Message-----
From: Jason Linhart <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, January 19, 1999 10:42 PM
Subject: Re: [analog-help] why are virtual hosts difficult?


On 1/19/99 2:18 PM Stephen Turner ([EMAIL PROTECTED]) wrote:

>I get a lot of queries about how to set up analog with virtual hosts. Can
>anyone tell me why so many people are confused about this? Or what I can do
>to the documentation to help them?

A big fundamental problem with Apache is that it is a common novice error 
to support multipule virtual hosts in one log file with no way to 
distinguish which log lines go with which host.

Another is that Analog can be configured many different ways, command 
line, analhead.h, analog.cfg, a manditory config file, or multipule 
seperate configurations files. How is one to pick between those 
approaches.

The Appache documentation is not clear about what approach to take 
either. If you read the entire document you can begin to see the 
flexibility and range of options, but no one does that. There are way to 
many choices that people have no way to pick between, such as combined or 
seperate log files, include or don't include the virtual host name in the 
log. Most of the combinations work so which one do I tell someone to use? 
How can they even figure out (let alone you or me) if they already made 
these decisions or someone else made them for them?

The only way to resolve it is to have an entire tutorial that explains 
the "one true way" to configure everything. People who want to do it 
another way just need to understand everything on their own. Unfortunatly 
that must include seperate instructions for each web server, since in 
Apache you probably want seperate logs and in WebSTAR you want a single 
combined log but make sure to include the server name, and on and on.

Actualy what users probably want is the "magic" read my Apache 
configuration file and do something based on that procedure.

Jason

-----------------
[EMAIL PROTECTED]
-----------------
Dr. Seuss books . . . can be read and enjoyed on several levels. For
example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed
as a searing indictment of the narrow-minded binary counting system.
  -- Peter van der Linden, Expert C Programming, Deep C Secrets


--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------


--------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
--------------------------------------------------------------------

Reply via email to