[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 Directory sections override less-specific ones in general. The specific

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

2006-06-09 Thread Joshua Slive
On 6/9/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: So you likely have another Options directive someplace. I'm not finding it but I don't know what 90% of this stuff does: I've removed charset, icon locale stuff. It's probably in here someplace: Include /etc/apache2/vhosts.d/*.conf

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

2006-06-09 Thread David Salisbury
: [EMAIL PROTECTED] Re: Serve /var/www and public_html 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 Directory sections override

[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 453:

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

2006-06-09 Thread David Salisbury
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/localhost/cgi-bin then why do you have Directory

[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 uncommented and I've

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

2006-06-08 Thread Joshua Slive
On 6/8/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: the apache error_log says: Options ExecCGI is off in this directory: /var/www/localhost/htdocs/exp/test.cgi, referer: http://reader.local.lan/exp/ But /var/www/localhost/htdocs should include any subdirectories right. In httpd.conf is

[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. Your

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

2006-06-08 Thread Joshua Slive
On 6/8/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: 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