System information

Below is a sample configuration for Apache to implement IP address and user name security. Its pretty
straight forward. To produce this configuration you can run NMIS like nmis.pl type=apache which will
produce a sample config with the nmis.conf or whichever file it is.
Apache Docs
Apache Notes
NMIS Aliases
NMIS Location Setup
Apache Docs
For more information on the listed Apache features read:
Apache Docs
Alias directive
ScriptAlias directive
Order directive
Allow directive
Deny directive
AuthType directive
AuthName directive
AuthUserFile directive
Require directive
Apache Notes
Usual Apache Config File!
<apache_root>/conf/httpd.conf
add a password to the users.dat file!
<apache_root>/bin/htpasswd /usr/local/nmis/conf/users.dat nmis
restart the daemon!
<apache_root>/bin/apachectl restart
NOTE:
<apache_root> is normally /usr/local/apache
the "bin" directory might be "sbin"
the "conf" directory might be "etc"
the httpd.conf might be split across httpd.conf, access.conf and srm.conf
NMIS Aliases
Alias /nmis/ "/usr/local/nmis/htdocs/"
ScriptAlias /cgi-nmis/ "/usr/local/nmis/cgi-bin/"
NMIS - Network Management Information System http://www.sins.com.au/nmis/
19 of 43 15/04/2002 3:59 PM