httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raquel Rice <>
Subject Re: Virtual host, again and again
Date Thu, 14 Feb 2002 01:34:32 GMT
On Wed, 13 Feb 2002 22:11:37 +0100
Patrick Atlas Patrick Atlas <> wrote:

> Hello,
> Something wrong about my Vhost configuration.
> I have installed a mailing-list server on my linux server (sympa).
> This mailing-list server has its own web cgi-bin scripts to manage
> the lists
> and users.
> I want to use a virtual host to execute these scripts with the
> apache
> server.
> So, I have a domain with an IP and a subdomain on this same IP.
> But, as the apache server is running under apache/apache
> user/group, the
> mailing-list server script must run under a sympa/sympa
> user/group.
> The Vhost.conf:
> <NameVirtualHost *>
> <VirtualHost *>
> ServerName
> DocumentRoot /home/www/html
> </VirtualHost>
> <VirtualHost *>
> ServerName
> User sympa
> Group sympa
> DocumentRoot /home/www/cgi-bin/script.cgi  (can I point to a
> script or must
> I only write the folder name, assuming that the default name would
> be the
> mailing-list script in a dedicated folder?)
> </VirtualHost>

I don't think you can point to any file as your "root directory". 
Perhaps you could set your DirectoryIndex for that subdomain to your
cgi script name?  Or, rename your script to "index.cgi"?

Trouble is a part of your life, and if you don't share it, you don't
give the person who loves you enough chance to love you enough.
  --Dinah Shore


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

View raw message