rpm useful addition

Daniel J McDonald dan.mcdonald at austinenergy.com
Mon Mar 21 22:50:42 CET 2005


Great job on the RPM - I installed it (rebuilt SRPM) and it works pretty well.

That will make deploying this much easier for my consulting
side-business.

One very useful addition would be a file in /etc/httpd/conf.d/ with the
apache config.  I named mine 90_hobbit.conf, and it contains:

# This file is for Apache 1.3.x and Apache 2.0.x
#
# Add this to your Apache configuration, it makes
# the Hobbit webpages and cgi-scripts available in the
# "/hobbit" and "/hobbit-cgi" URLs.

Alias /hobbit/  "/var/lib/hobbit/www/"
<Directory "/var/lib/hobbit/www/">
    Options Indexes FollowSymLinks Includes MultiViews
    Order allow,deny
    Allow from all
</Directory>

ScriptAlias /hobbit-cgi/ "/usr/lib/hobbit/cgi-bin/"
<Directory "/usr/lib/hobbit/cgi-bin">
    AllowOverride None
    Options ExecCGI Includes
    Order allow,deny
    Allow from all
</Directory>

ScriptAlias /hobbit-seccgi/ "/usr/lib/hobbit/cgi-secure/"
<Directory "/usr/lib/hobbit/cgi-secure">
    AllowOverride None
    Options ExecCGI Includes
   <IfModule mod_access.c>
      Order allow,deny
      Allow from all
    </IfModule>
    <IfModule mod_auth_ldap.c>
        AuthLDAPEnabled On
        #AuthLDAPFrontPageHack On
        AuthType Basic
        AuthName "Hobbit"
        require valid-user
        AuthLDAPURL ldaps://127.0.0.1:636/dc=example,dc=com?uid?one
    </IfModule>
</Directory>


-- 



More information about the Xymon mailing list