ports/net-mgmt/nav/files/apache.conf
Dag-Erling Smørgrav 7523667d46 Upgrade to 3.2.1. There is still some work to be done wrt. auto-config,
but this ought to work at least as well as previous versions of the port.
2007-03-28 06:53:11 +00:00

21 lines
592 B
ApacheConf

<VirtualHost *>
ServerName nav.example.com
ServerAdmin www@example.com
DocumentRoot /usr/local/nav/apache/webroot
ErrorLog /var/log/nav-error.log
CustomLog /var/log/nav-access.log combined
<Directory "/usr/local/nav/apache/webroot">
Options Indexes FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
# NOTE: you may need to a LoadModule entry for mod_python to httpd.conf
AddHandler python-program .py
AddHandler cgi-script .cgi
SetHandler mod_python
PythonHandler index
PythonDebug On
</Directory>
</VirtualHost>