diff options
Diffstat (limited to 'net-mgmt/netdisco/files/patch-netdisco_apache.conf')
-rw-r--r-- | net-mgmt/netdisco/files/patch-netdisco_apache.conf | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net-mgmt/netdisco/files/patch-netdisco_apache.conf b/net-mgmt/netdisco/files/patch-netdisco_apache.conf index 816517be41eb..602d1448d9a8 100644 --- a/net-mgmt/netdisco/files/patch-netdisco_apache.conf +++ b/net-mgmt/netdisco/files/patch-netdisco_apache.conf @@ -18,12 +18,12 @@ +%%APACHE2%%PerlModule Apache2::compat +#-------------- + -+<Directory %%WWWDATADIR%%> ++<Directory %%WWWDIR%%> order allow,deny allow from all </Directory> -+<Directory %%WWWDATADIR%%/mason> ++<Directory %%WWWDIR%%/mason> + order allow,deny + deny from all +</Directory> @@ -49,8 +49,8 @@ my $ah = new HTML::Mason::ApacheHandler( - comp_root => '/usr/local/netdisco/html', - data_dir => '/usr/local/netdisco/mason', -+ comp_root => '%%WWWDATADIR%%', -+ data_dir => '%%WWWDATADIR%%/mason', ++ comp_root => '%%WWWDIR%%', ++ data_dir => '%%WWWDIR%%/mason', request_class => 'MasonX::Request::WithApacheSession', session_class => 'Apache::Session::Postgres', +%%APACHE2%% args_method => 'mod_perl', |