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@xxxxxxxxx