apache Virtual host config for cgi

Les Mikesell lesmikesell at gmail.com
Tue Feb 21 02:16:55 UTC 2006


On Mon, 2006-02-20 at 11:13, azeem ahmad wrote:
> is this configuration ok to run cgi scripts.
> -----------------------------------------------------------------------------------------------------------------------------------------
> <VirtualHost 1.2.3.4>
> ServerAlias domain.com
> ServerAdmin webmaster at domain.com
> DocumentRoot /home/mine/public_html
> BytesLog domlogs/mine.com-bytes_log
> ServerName www.domain.com
> 
> User mine
> Group mine
> CustomLog /usr/local/apache/domlogs/mine.com combined
> AddHandler cgi-script .cgi .html
> ScriptAlias /cgi-bin/ /home/mine/public_html/cgi-bin/
> </VirtualHost>
> -----------------------------------------------------------------------------------------------------------------------------------------

Usually the User/Group settings are global.  I think
apache 2.x has added a way to set them per vhost but
I don't know if it works with the default fedora
MPM configuration. 

-- 
  Les Mikesell
   lesmikesell at gmail.com





More information about the fedora-list mailing list