Changes between Version 5 and Version 6 of faq/server/suexec


Ignore:
Timestamp:
Sep 24, 2010, 2:32:47 PM (10 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • faq/server/suexec

    v5 v6  
    99suExec is a method to protect us against that situation. With suExec, every web program runs as a user specific to the web site being displayed. So - the web server that displays the web site for Member A does not have the same permissions as the web server that displays the web site for Member B.
    1010
    11 If you are running a PHP script, then suExec is already running (via [http://www.suphp.org/ suPHP]). You don't have to make any changes.
     11MFPL sets the User and Group that your scripts should execute as with the following line in your web configuration (set via the [https://members.mayfirst.org/cp Members Control panel]:
    1212
    13 If you are running any other kind of cgi script (perl, python, etc.), then you will need to take a few extra steps to get the proper permissions working.
    14 
    15  * [/newticket Open a ticket] requesting a suExec cgi-bin, specifying the user name of the user you would like to have ownership over it. When we receive the request, a May First/People Link admin will [wiki:setup_suexec_directory create a suexec directory for you].
    16  * Add the following to your web configuration in your [https://members.mayfirst.org Members Control panel] (replace USER with your username and group with your group name):
    1713{{{
    1814SuexecUserGroup USER GROUP
    1915}}}
    20  * Place your cgi files in your cgi-bin directory
     16
     17You should not need to take any additional steps to get this working on your site.
    2118
    2219