Config problem

Daniel Budde II dbudde at leadergraphics.com
Sat Mar 19 01:36:48 CET 2005


 I took out the second ScriptAlias, but like I said, if I take out the
slashes after  "share" or "sbin" I just get "Error 403" when I go to the
website.

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Luis Vidrio
Sent: Friday, March 18, 2005 6:22 PM
To: Daniel Budde II
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Config problem

Change to the following below, also I'm not sure if you need two
"ScriptAlias" lines so change to following:

ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin

and

Alias /nagios/ /usr/local/nagios/share
Alias /nagios /usr/local/nagios/share




Daniel Budde II wrote:

>Well Luis, here is how my httpd.conf entries look:
>
>ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ 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/ Alias /nagios 
>/usr/local/nagios/share/ <Directory "/usr/local/nagios/share">
>    Options None
>    AllowOverride AuthConfig
>    Order allow,deny
>    Allow from all
></Directory>
>
>
>If I take off the (forward slash "/") after the "share" or "sbin"
>directories in either of the ScriptAlias or Alias statements I was 
>getting errors.  So, I left those in, but this is the current state of 
>my httpd.conf entries.  I still have the same problem, I check manually 
>starting Nagios and get no errors, so I go ahead and start it as a 
>daemon.  I have apache running, so I go to my site
"http://netmonitor.interactivetwist.com/nagios/"
>and I can't view any links under "Monitoring" or "Reporting".  I can 
>how ever view the configuration data.
>
>Any ideas would be appreciated.
>
>Thanks in advance,
>
>Daniel Budde II
> 
>
>-----Original Message-----
>From: nagios-users-admin at lists.sourceforge.net
>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Luis 
>Vidrio
>Sent: Friday, March 18, 2005 5:42 PM
>To: Daniel Budde II
>Cc: nagios-users at lists.sourceforge.net
>Subject: Re: [Nagios-users] Config problem
>
>Daniel Budde II wrote:
>
>  
>
>>For the moment I have shut authentication off.  I manually loaded 
>>nagios with the -v command to check it and did not see any errors.  I 
>>checked the log file and did not find any errors.  When I go to my 
>>site with nagios at "http://netmonitor.interactivetwist.com/nagios/" I 
>>get into
>>    
>>
>it just fine.
>  
>
>>But, if I click on any link under Monitoring or Reporting I get 
>>Nothing.  If I click on "View Config" under Configuration I can see 
>>all the configuration data just fine.  Does anyone have any insight 
>>for me as to why the rest of it is not working?
>>
>>I assure, any help would be greatly appreciated.  I am willing to also 
>>converse across IRC or AIM and I can even give temp access to the 
>>server if necessary.
>>
>>Thanks in advance,
>>
>>Daniel Budde II
>>
>>
>>
>>-------------------------------------------------------
>>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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>>_______________________________________________
>>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
>> 
>>
>>    
>>
>>From you previous email I noticed serveral trailing slashes in your 
>>Script
>Alias and Alias lines that don't belong there (in your apache conf 
>file), compare this to what you have, should fix it:
>
>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">
>    Options None
>    AllowOverride AuthConfig
>    Order allow,deny
>    Allow from all
></Directory>
>
>
>
>
>-------------------------------------------------------
>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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
>_______________________________________________
>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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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