[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: virtual ssl ? also multiple virtual domains in apache



On Friday 02 March 2001 09:53, Andreas Edler wrote:
> > is it possible to have different certificates for every virtual host on
> > apache ?
>
> yes, of course.  But only with IP based virtual hosts, not with
> namebased virtual hosts.

How?  Would it be possible to post a snippet from an apache config file?

On the topic of apache with multiple domains I am currently working on a 
solution for Apache with >1000 domains on a single machine.  I am using the 
following log file directives:
LogFormat "%V %h %l %u %t \"%r\" %s %b" main
CustomLog /var/log/apache/access.log main

Which result in a single log file with "www.company.com " preceeding the 
usual CLF format log file text.  I have written an enhancement to my clfmerge 
program (which will be in the next release of my logtools package) to convert 
this to have http://www.company.com/URL in the main text of the CLF log 
entries (so log analysis programs such as Webalizer can analyse all domains 
together).  Also I am about to write a program to split a single log file 
into a file per domain for per-customer log analysis.

Also I wanted to do the following:
VirtualDocumentRoot /home/www/domains/%0/docs
VirtualScriptAlias /home/www/domains/%0/cgi-bin

But it seems that this offers no support for running cgi-bin programs for 
each domain as a different UID.  So I'll have to write a script that sucks 
data out of LDAP and generates the Apache configuration.

Any suggestions on better ways of doing it?

-- 
http://www.coker.com.au/bonnie++/     Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/       Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/     My home page



Reply to: