I did the same compile and setup on my Fedora laptop and the stylesheet links 
on this machine do this...
<LINK REL='stylesheet' TYPE='text/css' HREF='/nagios/stylesheets/common.css'>
<LINK REL='stylesheet' TYPE='text/css' HREF='/nagios/stylesheets/tac.css'>
...How does the configure/make/install/config determine the stylesheet 
directory (url_stylesheets_path)?  How can I get it to work properly/better 
again?

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Laack,Jacob C
Sent: Monday, March 17, 2008 10:51 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] (no subject)

All-
I've compiled nagios 3.0 on my RHEL 5 64-bit machine.  I have the daemon 
compiled...

./configure \
--prefix=/usr/local/nagios \
--with-cgiurl=/cgi-bin \
--with-htmurl= \
--with-nagios-user=nagios \
--with-nagios-group=nagios \
--with-command-group=nagioscmd \
--enable-embedded-perl \
--with-perlcache

...and running with the sample configs.  I have configured my apache Virtual 
Server myself like so...

<Directory "/usr/local/nagios/share">
    RewriteEngine off
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

<VirtualHost *:80>
        ServerAdmin [EMAIL PROTECTED]
        DocumentRoot /usr/local/nagios/share
        ServerName nagiosnew.alegent.org
        ErrorLog logs/nagios_log
        CustomLog logs/nagios_log common
        ScriptAlias /cgi-bin/ "/usr/local/nagios/sbin/"
</VirtualHost>

...I can access the page fine and the CGIs work as well.  However, all the 
pages generated by the CGIs have this in their head...

<LINK REL='stylesheet' TYPE='text/css' HREF='common.css'>
<LINK REL='stylesheet' TYPE='text/css' HREF='tac.css'>

..which is making them all appear rather ugly.  Is there an option to specify 
the stylesheet URL?  Did I do something else wrong?  Thanks.

Jake Laack
Alegent Health, Open Systems Engineer
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to