httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kai Hendry <>
Subject Re: [users@httpd] Optimizing Virtual host(s) configuration on apache 1.3.31
Date Thu, 15 Jul 2004 21:21:39 GMT
On Thu, Jul 15, 2004 at 10:02:50 -0400, Joshua Slive wrote:
> On Thu, 15 Jul 2004 16:52:14 +0300, Kai Hendry <> wrote:
> > Can I configure apache to automagically look in
> > /web/ for a vhost on the ip of my server?
> I think you are looking for mod_vhost_alias. See:

Excellent. I've got it going, but some of my sites are a little tricky
to convert to a vhost. For example:

bilbo$ cat /etc/apache/conf/
    CustomLog /var/log/apache/ combined


    DocumentRoot /usr/lib/cgi-bin/viewcvs.cgi
    RewriteEngine On
    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory /usr/lib/cgi-bin>
            SetHandler cgi-script
            Options ExecCGI

    Alias /viewcvs/ /usr/share/viewcvs/

    LogLevel warn

    ServerSignature On

Ok I can lost the customlog as I understand apache can't have many files
open when I am running lots of vhosts.

But how I do DocumentRoot, ScriptAlias and Alias in
/web/ 's .htaccess? 

They seem not allowed! :/

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message