From: Les Mikesell lesmikesell@gmail.com Reply-To: For users of Fedora Core releases fedora-list@redhat.com To: For users of Fedora Core releases fedora-list@redhat.com Subject: Re: access denied Date: Wed, 22 Feb 2006 12:28:32 -0600
On Wed, 2006-02-22 at 09:41, azeem ahmad wrote:
i assume you're running apache 2.x -- are you aware that "user" and "group" directives aren't supported in the cgi-bin directive set in
that
version. see:
http://httpd.apache.org/docs/2.2/mod/mod_suexec.html#suexecusergroup
for details.
i changed the dir and files to rwx ie chmod -R 777 cgi-bin
even then its saying premature end of script
Can you run the script by hand as the user you think httpd will use?
apache is running as nobody:nobody the virtual host is running as mine:mine i m accessing the server remotely as root i dont have mine and nobody passwords is there any way to do it?
If you are root, you can 'su - user' for any other user without a password. The user does need a working shell in /etc/passwd that you can use while testing, though.
-- Les Mikesell lesmikesell@gmail.com
apache is running as nobody and it says that This account is currently not available when i su nobody
and as mine i can run the script
and how can i check my virtual host is running as nobody or mine
as main apache config is user nobody group nobody
and in virtual host user mine group mine
Regards Azeem