[EMAIL PROTECTED] Re: Password protect... no user required

2006-06-15 Thread reader
"Joshua Slive" <[EMAIL PROTECTED]> writes: > mod_auth_anon Thanks... interesting but it appears I'd need root to set any of that up. I see the module is present in /etc/apache2/httpd.conf but no settings appear anywhere, and I didn't see any indication that it could be user configured like in .h

[EMAIL PROTECTED] Password protect... no user required

2006-06-15 Thread reader
Having looked at apache docu and literally dozens of other help pages about this, I'm not getting how to password protect a directory but when a browser hits the index.html only a password is required not a username. What doesn't appear to be explained is how to get around the incoming browser

[EMAIL PROTECTED] Re: Serve /var/www and public_html

2006-06-09 Thread reader
"David Salisbury" <[EMAIL PROTECTED]> writes: >> Will a default setup allow me to fire cgi in these places: >> >> /var/www/localhost/cgi-bin >> /var/www/localhost/htdocs (and all subdir) >> ~/public_html (and all subdir) >> >> It appears not to here. >> > > If you want cgi execution in /var/www/lo

[EMAIL PROTECTED] Re: Serve /var/www and public_html

2006-06-09 Thread reader
"David Salisbury" <[EMAIL PROTECTED]> writes: > I thought you said you had an AddHandler outside of the directory listings? > I don't see it. It must have fell victim to overzealous snippage... it is in there: grep -n 'AddHandler cgi' /etc/apache2/httpd.conf 448:AddHandler cgi-script .cgi 4

[EMAIL PROTECTED] Re: Serve /var/www and public_html

2006-06-09 Thread reader
"Joshua Slive" <[EMAIL PROTECTED]> writes: >> So does that then mean that setting execCGI on >> /var/www/localhost/htdocs will not cover >> /var/www/localhost/htdocs/subdir? > > No. You are correct in thinking that more specific > sections override less-specific ones in general. The specific >

[EMAIL PROTECTED] Re: Serve /var/www and public_html

2006-06-08 Thread reader
"Joshua Slive" <[EMAIL PROTECTED]> writes: [...] >> Adding that directory specifally (..htdocs/exp) in another `Directory' >> statement does make cgi work there but that shuold just happen with >> the above Directory statement right? > > Assuming you had *no other options directives*, then yes.

[EMAIL PROTECTED] Re: Serve /var/www and public_html

2006-06-08 Thread reader
"David Salisbury" <[EMAIL PROTECTED]> writes: > Well, you'd probably have to script alias every user's directory as well as > the /var/... directory. > > But, you should be able to get around that with a > > AddHandler cgi-script cgi > > in your conf file. At this point I do have that uncommente

[EMAIL PROTECTED] Serve /var/www and public_html

2006-06-07 Thread reader
Running Gentoo linux Apache/2.0.58 What I am trying to do is probably pretty common but I am having some confusion getting it working. My aim is to run a lan wide site at /var/www and use /home/MYUSER/public_html for experimenting with getting some cgi stuff working. It seems I can get one or

[EMAIL PROTECTED] Re: When suexec won't log

2006-06-07 Thread reader
"Joshua Slive" <[EMAIL PROTECTED]> writes: > Check the group ownership. If the apache user is in the group that > owns suexec, then group execute permissions are enough. Ahh yes it was set `root apache' but when I do that on my home setup then I an execute cgi in public_html as user but as my

[EMAIL PROTECTED] Re: When suexec won't log

2006-06-07 Thread reader
"Joshua Slive" <[EMAIL PROTECTED]> writes: > Check the group ownership. If the apache user is in the group that > owns suexec, then group execute permissions are enough. > Ahh yes there it is: root apache So if I were to set chown root:apache on /usr/sbin/suexec I could return it to -rws--x-

[EMAIL PROTECTED] Re: When suexec won't log

2006-06-07 Thread reader
"Joshua Slive" <[EMAIL PROTECTED]> writes: >> -rws--x--- 1 root root 10880 May 31 15:09 /usr/sbin/suexec2 > > Obviously the apache user can't execute that. You need global execute > permissions. Setting that to -rws--x--x makes it all work, but isn't there another way? === what follows is not

[EMAIL PROTECTED] Re: When suexec won't log

2006-06-07 Thread reader
"Joshua Slive" <[EMAIL PROTECTED]> writes: >> -rws--x--- 1 root root 10880 May 31 15:09 /usr/sbin/suexec2 > > Obviously the apache user can't execute that. You need global execute > permissions. now -rws--x--x 1 root root 10880 May 31 15:09 /usr/sbin/suexec2 Thanks... and now working. I sea

[EMAIL PROTECTED] Re: When suexec won't log

2006-06-07 Thread reader
80 May 31 15:09 /usr/sbin/suexec2 The call was made like: http://reader.local.lan/~reader So user reader is calling it. Apache runs as user apache > Some extra info on the config can be obtained from httpd -V and suexec > -V (run as root). I get nothing from httpd -V and my system doesn&#

[EMAIL PROTECTED] When suexec won't log

2006-06-07 Thread reader
Running Gentoo Linux -kernel 2.6.16 Apache/2.0.58 I'm getting the dread 'Premature end of script headers: index.cgi' and another along with it saying suexec failed due to : Permission denied: exec of '/usr/sbin/suexec2' failed I think I've checked all the items needed for suEXEC to work but app