Register Lost Password? Confused! Both features can be disabled separately by prepending a # character. # This config file is only used by the apache2-suexec-custom package. Last edited by Hlingler; 26th August 2009 at 11:54 PM.
This is not the way I recommend using SUEXEC CGI programs, but it is useful for testing and a valid choice in some cases.First, let us review the objectives: All files Want to know which application is best for the job? We decided to use this functionality to collect CPU usage statistics from all processes started by suexec. Last edited by andrew111; 05-27-2011 at 04:45 AM.
So, since all user scripts are executed by SuExec, we decided to implement these resource limitations in it. We have currently implemented the following resource limits: CPU time limitations (RLIMIT_CPU) Maximum memory allocation by a process (RLIMIT_AS) Maximum size of files that a process may create (RLIMIT_FSIZE) Maximum number andrew111 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by andrew111 05-27-2011, 04:50 AM #6 andrew111 LQ Newbie Registered: May 2011 Posts: Am still using mpm prefork and suspect worker might give even better performance?
The default is USERDIR_SUFFIX="public_html". here Registration is quick, simple and absolutely free. Faq Reply With Quote Share This Thread Tweet This + 1 this Post To Linkedin Subscribe to this Thread Subscribe to This Thread « Previous Thread | Next Thread You don't need to list the users in this file, as long as they're listed somewhere in the Apache virtualhost (or global) configuration.
So what we did was to add chroot support to SuExec. useful reference Seem to have access issue most likely stemming from something in my config. Am sure it is close! In addition to the LoadModule stuff you may wish to add a ScriptSock /var/run/mod_cgid.socket directive to put the cgid script socket where it belongs, but that's about it.
Log in or register to post comments #13 Wed, 06/19/2013 - 15:37 albumihai I had the same problem after a hot reboot of the system .. Hopefully not but the error seems to stem from calling the php bin up outside of /home/~andrew1. This configuration allows you to mix scripts and media. http://ngogeeks.com/apache-cannot/apache-cannot-load-php-ini.php Once we fixed that (and restarted apache) then all was well.
I have had a friend with a bit more knowledge than me take a look and he has got it working so everything is all go. andrew111 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by andrew111 05-25-2011, 09:41 PM #2 Nominal Animal Senior Member Registered: Dec 2010 Konstam [Date Prev][Date Next] [Thread Prev][Thread Next] [Thread Index] [Date Index] [Author Index] Grokbase › Groups › Apache › users › October 2005 FAQ Badges Users Groups [Apache] [[email protected]]
Code: UserDir disabled UserDir public_html DirectorySlash On DirectoryIndex index.html index.php # Append a slash to per-user directory URLs (no dot after the last slash): RedirectMatch 302 ^/+~([^./][^/]+|[^./][^/]+(/+[^./][^/]+)*/+[^./]+)$ http://yourserver/~$1/ # Define access I am stoked with the overall performance of this way of doing things - it is achieving everything I'd hoped i.e. If apache2-suexec-custom package is used instead of apache2-suexec, the second line in /etc/apache2/suexec/www-data must be public_html (Otherwise you need to adjust the configuration below accordingly.) Only allow this for specific users, I use Fedora 11.
I use Fedora 11. The permission of /people2 directory MUST be Read+Executable by www user, so www can stat files under /people2. It looks like misconfiguration. http://ngogeeks.com/apache-cannot/apache-cannot-be-runned.php andrew111 View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by andrew111 05-26-2011, 10:04 PM #4 Nominal Animal Senior Member Registered: Dec 2010
Sterpu Victor wrote: > I use apache 1.3 with suexec and php-cgi. > When I execute a php with suexec activated I receive the following > message in the suexec log. Nominal Animal View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by Nominal Animal View Blog 05-27-2011, 02:39 PM #8 Nominal Animal Senior Member Find More Posts by imabuzz 07-16-2010, 10:37 AM #5 nathanjosh32 Junior Member Join Date: Jul 2010 Posts: 1 No!!!!!!!!!!!!,that's really fantastic help thanks for that! _________________ how to make Are you new to LinuxQuestions.org?
facebook google twitter rss Free Web Developer Tools Advanced Search Forum System Administration Apache Development cannot get docroot information Thread: cannot get docroot information Share This Thread Tweet This This was due to staff reviewing its content. Dev Shed Forums Navigation Forums Tools Newsletter Signup Articles Help Devshed Network Developer Shed ASP Free Dev Shed Dev Articles Dev Hardware Tutorialized SEO Chat Scripts Codewalkers Web Hosters Dev Mechanic Edit: Apparently this version of SUEXEC does not allow group write set for the directories.
Not sure if my permissions are correct so just in case, andrew1 owner and group is andrew1, as is public_html, uploads and version.php. Quote: Originally Posted by andrew111 I have had a friend with a bit more knowledge than me take a look and he has got it working so everything is all go. Try to disable this module if this is enabled. Back in a few hours.
Free is all good though am getting frustrated after 2 days of trying things (am a newbie - and this hair pulling adventure is making me bald). I am keen to understand the different configurations for this and do prefer the look of your advised setup I havn't used this forum before but will see if I can It is not save to store web pages in the home directory. When you define it under /people2 you can't change it because it's hardcoded, unless you don't mind to recompile Apache. >> cannot get docroot information I have never seen such error.
Am I correct in understanding that I can have one account set up (to test it) that should work under suEXEC while another is not and it should work on the