Install apache config in debian package.

agranig/1_0_subfix
Andreas Granig 12 years ago
parent fc45e11c49
commit 6714b75ec6

@ -1,2 +1,3 @@
share/* usr/share/ngcp-panel/
ngcp_panel.conf etc/ngcp-panel/
etc/apache2/ngcp-panel etc/apache2/sites-available/

@ -0,0 +1,24 @@
Listen 3443
PerlSwitches -I/usr/share/perl5
<VirtualHost *:3443>
ServerAdmin support@sipwise.com
ServerName myserver
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/myserver.crt
SSLCertificateKeyFile /etc/apache2/ssl/myserver.pem
PerlModule Apache2::RequestUtil NGCP::Panel
# always keep "Location /" at the top!
# it will be overridden by later more specific locations
<Location />
SetHandler modperl
PerlResponseHandler NGCP::Panel
</Location>
LogLevel info
ErrorLog syslog:local7
CustomLog "|/usr/bin/logger -p daemon.info -t ngcp-panel" combined
</VirtualHost>
Loading…
Cancel
Save