Results 1 to 2 of 2
  1. #1

    Using vhost.conf to override suexec directive in httpd.include


    I need to change the server configuration on Plesk such that the SuexecUserGroup directive is removed, so the user's cgi scripts run as the apache user (www-data), rather than as the user specified in that directive (the domain user), as on an unshared (non-VPS) server. I don't care about security from other domains because only one domain runs on it anyway, so making the user domain-specific is irrelevant from a security point of view and stops some of the user's code working.

    This directive is found in
    and is:
    SuexecUserGroup user psacln
    (this line appears twice, for ports 443 and 80)

    I understand that this file can't be modified, as it may be overwritten by Plesk. Therefore additional directives must go in the vhost.conf file.

    Will the following vhost.conf file do the trick and override the directives in httpd.include?

    <VirtualHost domainIP:443>
    SuexecUserGroup www-data www-data
    <VirtualHost domainIP:80>
    SuexecUserGroup www-data www-data



  2. #2
    Join Date
    Mar 2003
    New York City

    This sounds like a rather simple issue, have you tried contacting your hosting company? Also there might be solutions on the PLESK forums/documentation on their website.

    Good luck
    CirtexHosting Providing Affordable and Quality Web Hosting & Reseller Hosting since 2003
    LINUX based cPANEL/WHM Shared and Reseller Web Hosting with Fantastico
    HostV VPS Premium Virtual Private Servers & Dedicated Servers powered by cPanel/WHM
    We transfer your sites over quickly! I eat penguins for breakfast ...

Similar Threads

  1. Altering an existing account/VirtualHost in httpd.conf via an Include
    By Kadence in forum Hosting Security and Technology
    Replies: 7
    Last Post: 09-15-2009, 09:08 PM
  2. Disable/Bypass suexec Per Vhost Domain
    By dndco in forum Hosting Security and Technology
    Replies: 2
    Last Post: 10-13-2007, 06:18 PM
  3. Exclude a VHost from suExec?
    By DChang in forum Hosting Security and Technology
    Replies: 1
    Last Post: 10-07-2004, 10:23 PM
  4. Using suexec impose vhost problem
    By daru in forum Hosting Security and Technology
    Replies: 2
    Last Post: 03-26-2004, 07:31 PM
  5. editing the /apache/conf/httpd.conf in Cpanel by any user?
    By Ironlung in forum Web Hosting Lounge
    Replies: 0
    Last Post: 11-09-2001, 02:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts