Created
February 28, 2013 11:06
-
-
Save sirleech/5055976 to your computer and use it in GitHub Desktop.
The apache config for the web.py example before
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerAdmin webmaster@localhost | |
WSGIScriptAlias / /var/www/webpy-app/code.py/ | |
Alias /appname/static /var/www/webpy-app/static/ | |
AddType text/html .py | |
<Directory /var/www/webpy-app/> | |
Order deny,allow | |
Allow from all | |
</Directory> | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
# Possible values include: debug, info, notice, warn, error, crit, | |
# alert, emerg. | |
LogLevel warn | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment