mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 05:30:31 -04:00
21 lines
592 B
ApacheConf
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>
|