Re: apache Virtual host config for cgi

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

 



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@xxxxxxxxxx
> 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@xxxxxxxxx



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux