File: rancid-cgi.apache2

package info (click to toggle)
rancid 3.14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,436 kB
  • sloc: sh: 2,627; ansic: 1,683; makefile: 390; exp: 185
file content (34 lines) | stat: -rw-r--r-- 893 bytes parent folder | download | duplicates (6)
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
# Minimal config to enable the RANCID based looking glass to function.
# Do not run this wide open on the Internet!
# Recommended that you configure this vhost with SSL and password protection.

AddHandler cgi-script .cgi

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

Alias /lg/lgnotes.html /usr/share/doc/rancid-cgi/lgnotes.html

Alias /lg /usr/lib/cgi-bin/lg
<Directory "/usr/lib/cgi-bin/lg">
	AllowOverride None
	Options ExecCGI SymLinksIfOwnerMatch
	order deny,allow
	deny from all
	# Add your IP address here:
	allow from 127.0.0.1 ::1
</Directory>

Alias /rancid-cgi /usr/share/rancid-cgi
<Directory "/usr/lib/cgi-bin">
	AllowOverride None
	order deny,allow
	deny from all
	# Add your IP address here:
	allow from 127.0.0.1 ::1
</Directory>