I am currently trying to run a simple BottlePY site on Apache2 but am getting an Internal Server Error.
Here is the config file for the site
<VirtualHost *:80> ServerAdmin firstname.lastname@example.org ServerName removed.org DocumentRoot /sites/bottlepy # WSGI Settings WSGIScriptAlias / /sites/bottlepy/wsgi_handler.py WSGIDaemonProcess bottlepy user=sreustle group=general processes=1 threads=10 WSGIProcessGroup bottlepy # Static Directories Alias /static /sites/bottlepy/static/ <Location "/static"> SetHandler None </Location> </VirtualHost>
And this is wsgi_handler.py
import os import bottle os.chdir(os.path.dirname(__file__)) sys.path.append(os.path.dirname(__file__)) application = bottle.default_app()
It could be a few things going wrong, but I'm not sure how to debug apache. Could I get some suggestions on how to debug this? Thanks a lot!
Edit: Here is a screenshot of the bottom of my error log. http://i.imgur.com/3CH3V.png
Edit: Added updated wsgi_handler