Skip to content

Instantly share code, notes, and snippets.

@sirleech
Created February 28, 2013 11:06
Show Gist options
  • Save sirleech/5055976 to your computer and use it in GitHub Desktop.
Save sirleech/5055976 to your computer and use it in GitHub Desktop.
The apache config for the web.py example before
<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