Changes between Version 5 and Version 6 of faq/server/suexec
- Timestamp:
- Sep 24, 2010, 6:32:47 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
faq/server/suexec
v5 v6 9 9 suExec 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. 10 10 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. 11 MFPL 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]: 12 12 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):17 13 {{{ 18 14 SuexecUserGroup USER GROUP 19 15 }}} 20 * Place your cgi files in your cgi-bin directory 16 17 You should not need to take any additional steps to get this working on your site. 21 18 22 19