Re: [cgiwrap-users] CGIWrap and Nagios issues
Brought to you by:
nneul
From: Jeremy C. <cg...@jd...> - 2005-07-06 12:23:35
|
I don't think <Directory> will work. Use a <Location>. :-) -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. | On Wed, Jul 06, 2005 at 09:25:21PM +1000, James Turnbull wrote: > Jeremy Chadwick wrote: > > >Using ScriptAlias and the like to map CGI executions to usernames > >and the like won't result in Apache honouring .htaccess. I believe > >the problem to be more related to Apache than cgiwrap. > > > >For workarounds, there's only one that I've found: use a <Directory> > >or <Location> block and add appropriate .htaccess-esque rules there. > > > >Aren't the oversights of Apache wonderful? ;-) > > > Sadly I am not using a .htaccess file and in fact putting the directives > directly into the httpd.conf file like: > > <Directory "/usr/local/nagios/sbin/"> > AllowOverride None > Options ExecCGI > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Digest > AuthDigestFile /usr/local/nagios/etc/htdigest.users > Require valid-user > </Directory> > > This does not seem to fix the problem. Any other ideas would be much > appreciated. What little hair I have left I am slowly pulling out. :) > > Regards > > James Turnbull > > -- > James Turnbull <ja...@lo...> > --- > Author of Hardening Linux, Apress > (http://www.amazon.com/exec/obidos/tg/detail/-/1590594444/) > --- > PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) > > > > |