questions - Question:Configuring CGI To Run With User Privileges


Configuring CGI To Run With User Privileges:

The suEXEC feature provides Apache users the ability to run CGI and SSI programs under user IDs different from the user ID of the calling web-server. Normally, when a CGI or SSI program executes, it runs as the same user who is running the web server.

NameVirtualHost XXX.XXX.XXX.XXX

   ServerName                         - Allows requests by domain name without the "www" prefix.
   ServerAlias          - CNAME (alias www) specified in Bind configuration file (/var/named/...)
   DocumentRoot /home/user1/public_html/
   ErrorLog logs/
   TransferLog logs/
   SuexecUserGroup user1 user1
      Options +ExecCGI +Indexes
      AddHandler cgi-script .cgi


asked Sep 13, 2013 in LINUX by anonymous
edited Sep 12, 2013
0 votes

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.