42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
|
<VirtualHost *:80>
|
||
|
|
||
|
ServerName metanohi.name
|
||
|
ServerAlias nohi.lcl
|
||
|
ServerAdmin ns@metanohi.org
|
||
|
|
||
|
DocumentRoot /home/niels/www/meta/nohi
|
||
|
|
||
|
Alias /robots.txt /home/niels/www/meta/nohi/extra/robots.txt
|
||
|
Alias /favicon.ico /home/niels/www/meta/nohi/extra/favicon.ico
|
||
|
Alias /favicon.png /home/niels/www/meta/nohi/extra/favicon.png
|
||
|
Alias /atom.xml /home/niels/www/meta/nohi/extra/atom.xml
|
||
|
Alias /feedicon.png /home/niels/www/meta/nohi/extra/feedicon.png
|
||
|
Alias /feedlogo.png /home/niels/www/meta/nohi/extra/feedlogo.png
|
||
|
Alias /static /home/niels/www/meta/nohi/static
|
||
|
Alias /heavy /home/niels/www/meta/nohi/heavy
|
||
|
|
||
|
<Directory /home/niels/www/meta/nohi>
|
||
|
Order allow,deny
|
||
|
Allow from all
|
||
|
</Directory>
|
||
|
|
||
|
WSGIDaemonProcess metanohi.name processes=2 threads=30 display-name=%{GROUP}
|
||
|
WSGIProcessGroup metanohi.name
|
||
|
|
||
|
WSGIScriptAlias / /home/niels/www/meta/nohi/nohi.wsgi
|
||
|
|
||
|
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
|
||
|
<Directory "/usr/lib/cgi-bin">
|
||
|
AllowOverride None
|
||
|
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
|
||
|
Order allow,deny
|
||
|
Allow from all
|
||
|
</Directory>
|
||
|
|
||
|
LogLevel warn
|
||
|
ErrorLog ${APACHE_LOG_DIR}/metanohi.name-error.log
|
||
|
CustomLog ${APACHE_LOG_DIR}/metanohi.name-access.log combined
|
||
|
|
||
|
|
||
|
</VirtualHost>
|