Re: [cgiwrap-users] CGIWrap and Nagios issues
Brought to you by:
nneul
From: Nathan N. <nn...@um...> - 2005-07-06 14:58:23
|
Directory will definately not work, because apache has no idea what directory is being used... That is all handled internally to cgiwrap. On Wed, Jul 06, 2005 at 05:23:30AM -0700, Jeremy Chadwick wrote: > 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) > > > > > > > > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > cgiwrap-users mailing list > cgi...@li... > https://lists.sourceforge.net/lists/listinfo/cgiwrap-users > ------------------------------------------------------------ Nathan Neulinger EMail: nn...@um... University of Missouri - Rolla Phone: (573) 341-6679 UMR Information Technology Fax: (573) 341-4216 |