apache2 issues

Lawrence, Lynne LLawrence at osc.uscg.mil
Tue Nov 23 22:22:51 CET 2004


Did you restart apache after editing the conf?  Also, in your /nagios Alias
line, I suspect that if the directory ends with a /, don't you also want the
alias name to end in a /?

> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of tomaso
> Sent: Tuesday, November 23, 2004 3:45 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] apache2 issues
> 
> 
> Hi in there,
> 
> i've just setted up nagios on a gentoo-box running apache2.
> Localization of root directory for Apache is /var/www/localhost/htdocs
> I've configured apache2 in file 
> /etc/apache2/conf/commonapache2.conf so
> i put
>  ###NAGIOS####
>     ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin
>      <Directory "/usr/local/nagios/sbin/">
>      AllowOverride AuthConfig
>      Options ExecCGI
>      Order allow,deny
>      Allow from all
>      </Directory>
>      Alias /nagios /usr/local/nagios/share/
>      <Directory "/usr/local/nagios/share">
>      AllowOverride AuthConfig
>      Order allow,deny
>      Allow from all
>      </Directory>
> i made vi .htaccess too in share directory so as in sbin 
> directory...and
> so on, i've just followed line by line the manual.
> Each time i try to connect i get
> Forbidden
> You don't have permission to access /nagios on this server.
> and in apache2's acces_log:
> [client 192.168.10.2] File does not
> exist: /var/www/localhost/htdocs/nagios
> 
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from 
> real users.
> Discover which products truly live up to the hype. Start reading now. 
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> 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
> 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
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