/etc/netdisco/netdisco_apache2_dir.conf is in netdisco-frontend 1.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | # Apache Configuration for Netdisco
# This is applied to each virtual server
Alias /netdisco "/usr/share/netdisco/html/"
<Location /netdisco>
Options +Indexes
</Location>
# Turn on MASON for .html documents
PerlSetVar site "netdisco"
<LocationMatch "/netdisco/.*\.html$">
SetHandler perl-script
PerlHandler netdisco::Mason
</LocationMatch>
# Decline access to mason internals
<LocationMatch "/netdisco/.*(\.mc|autohandler|dhandler)$">
SetHandler perl-script
PerlInitHandler Apache::Constants::NOT_FOUND
</LocationMatch>
# Authenticate
# Uncomment these lines and set apache_auth: true in netdisco.conf
# to allow Apache to perform Digest authentication.
#<Location "/netdisco/apache_login.html">
# AuthType Digest
# AuthName "netdisco"
# AuthUserFile /usr/local/netdisco/auth.htdigest
# Require valid-user
#</Location>
# Uncomment next three lines to
# make every request in the switch/ dir go through Mason
#<Location /netdisco/switch/>
# SetHandler perl-script
# PerlHandler netdisco::Mason
#</Location>
|