These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for FCGId - how check which user should run this? on the new forum.
Hello, I've had some problems with permissions on my home, so I've set 755 on entire public_html directory, via virtualmin panel I've recreated apache's virtualhost, but I get 500 HTTP internal server error whenever I'm trying to use FCGId, so actually I use mod_php. Other virtual servers work just fine, there's only problem with this one. Via virtualmin panel I've tried to set "Run CGI programs as" #1002 both user ID and group which seems to be fine, but the error occurs then. Any ideas?
Howdy,
If you're getting 500 errors, you can see the exact error by looking in the Apache error logs... that would be in $HOME/logs/error_log. You may also need to take a peek at the system-wide Apache suexec log, it may offer some insight as well.
Note though that if Apache is running scripts as the #1002 user, that all the files in public_html, cgi-bin, and fcgi-bin, would also need to be owned by that same #1002 user.
-Eric
@up All of my files under public_html are owned by #1002. Where're suexec logs and configuration? Because AFAIR acces_log shown something about permissions, so that might be it
Howdy,
The suexec logs (along with all the other Apache logs) are located within /var/log. Where exactly depends on your distro.
If you dont' see them there, let us know what distro/version you're using, and I'll get the exact path and filename.
-Eric