Forbidden access to server
Andy Shellam (Mailing Lists)
andy.shellam-lists at mailnetwork.co.uk
Tue Dec 12 11:29:39 CET 2006
Can you post the relevant section of your Apache configuration file?
What might help (which has caught me out a number of times before) is if
you've got the default Apache config, there's a directive of:
<Directory />
order deny,allow
deny from all
</Directory>
This denies Apache access to all local file-system folders, so you also
need to add:
<Directory "/usr/local/nagios/sbin">
Options ExecCGI
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
This tells Apache that for the folder /usr/local/nagios/sbin, allow all
access from anyone ("allow from all") (over-riding the default deny
all), allow the execution of CGIs, and allow configuring authentication
in a .htaccess file this folder.
Try that.
Andy.
Sam Fraser wrote:
> Do you have any suggestions on how I can get round the problem then?
>
> Sam Fraser
> Reading
> UK
>
>
> ----- Original Message ----
> From: Hugo van der Kooij <hvdkooij at vanderkooij.org>
> To: Nagios Users mailinglist <nagios-users at lists.sourceforge.net>
> Sent: Monday, 11 December, 2006 5:55:35 PM
> Subject: Re: [Nagios-users] Forbidden access to server
>
> On Mon, 11 Dec 2006, Sam Fraser wrote:
>
> > For some reason my webserver can't get access to the nagios html
> files. I've given 777 access to all the files in /usr/local/nagios/*
> and I've run the web server as the owner of these files, but to no
> avail, any ideas?
>
> Setting access right like this is almost similar to leaving the key under
> the garbage bin. Anyone can find it and walk in.
>
> Hugo.
>
> ___________________________________________________________
> The all-new Yahoo! Mail goes wherever you go - free your email address
> from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html
>
> --
> hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/
> This message is using 100% recycled electrons.
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
>
> ------------------------------------------------------------------------
> All New Yahoo! Mail
> <http://us.rd.yahoo.com/mail/uk/taglines/default/nowyoucan/spamguard/*http://us.rd.yahoo.com/evt=40565/*http://uk.docs.yahoo.com/nowyoucan.html>
> – Tired of Vi at gr@! come-ons? Let our SpamGuard protect you.
> !DSPAM:37,457e834930865640518688!
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> !DSPAM:37,457e834930865640518688!
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
> !DSPAM:37,457e834930865640518688!
>
--
Andy Shellam
NetServe Support Team
the Mail Network
"an alternative in a standardised world"
p: +44 (0) 121 288 0832/0839
m: +44 (0) 7818 000834
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list