You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joshua Slive <jo...@slive.ca> on 2005/12/16 01:14:49 UTC

Re: [users@httpd] Re: Re: cgi scripts outside of cgi-bin

On 12/15/05, Christopher J. Bottaro <cj...@alumni.cs.utexas.edu> wrote:

> >> > suexec.log says this:
> >> >
> >> > [2005-12-13 15:03:19]: uid: (501/sti) gid: (501/501) cmd: upload.cgi
> >> > [2005-12-13 15:03:19]: directory is writable by others:
> >> > (/home/sti/public_html/tragence/webapp/interfaces/weblib/pb_upload)

> The weird thing is that 'others' can't write to that dir:
>
> $ ls -ld /home/sti/public_html/tragence/webapp/interfaces/weblib/pb_upload
> drwxrwxr-x  3 sti sti 4096 Dec 15
> 15:42 /home/sti/public_html/tragence/webapp/interfaces/weblib/pb_upload
>
> If I chmod it to 770, apache complains that it doesn't have permissions to
> read the the cgi file (obviously).

What are you changing read permissions for?   You just need to remove
the group write bit.  See number 14 here:
http://httpd.apache.org/docs/2.2/suexec.html

>
> The other weird thing is that apachectl -V says that suexec is
> in /usr/sbin/suexec...but strangely enough, that file doesn't exist.

Then apachectl is not pointing at the correct httpd binary or you have
some very screwed up install.

Joshua.

Re: [users@httpd] -help

Posted by Steven Pierce <pa...@speakeasy.net>.
What kind of help are you looking for??  Just -help does not tell the list what
you are looking for.  Do you need help installing, what?  Have you checked out
the DOC's first to see if there is an answer to your question there?? 

http://httpd.apache.org/docs/



*********** REPLY SEPARATOR  ***********

On 12/16/2005 at 9:40 AM Randy Grafton wrote:

>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>
>-- 
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.0.371 / Virus Database: 267.14.1/204 - Release Date: 12/15/2005




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] -help

Posted by Randy Grafton <rg...@indatacorp.com>.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org