summaryrefslogtreecommitdiff
path: root/net/netdisco/patches/patch-ad
blob: cb10d74b33549ae0157d7eba8b23f68161d43971 (plain)
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
$NetBSD: patch-ad,v 1.2 2006/12/16 15:25:41 bouyer Exp $

--- netdisco_apache.conf.orig	2006-11-14 01:27:14.000000000 +0100
+++ netdisco_apache.conf	2006-12-06 22:08:24.000000000 +0100
@@ -14,8 +14,10 @@
 
 # Pool Database Connections
 PerlModule Apache::DBI
+@APACHE2@PerlModule CGI
+@APACHE2@PerlModule Apache2::Request
 
-<Directory /usr/local/netdisco/html>
+<Directory /usr/pkg/netdisco/html>
 	order allow,deny
 	allow from all
 </Directory>
@@ -24,12 +26,12 @@
 # Preload the netdisco module into global server space.
 #   and parse the config file only once.
 { package HTML::Mason::Commands;
-    use lib '/usr/local/netdisco';
+    use lib '/usr/pkg/netdisco';
     use netdisco qw/:all/;
-    &netdisco::config('/usr/local/netdisco/netdisco.conf');
+    &netdisco::config('/usr/pkg/netdisco/netdisco.conf');
 
     # Uncomment next two lines to setup switch reverse proxy.
-    #use lib '/usr/local/netdisco/switch';
+    #use lib '/usr/pkg/netdisco/switch';
     #use Apache::ProxyRewriteMax;
 }