By say090u
hello there
im running python bottle framwork with apache2 via wsgi handling
the problem i had it is that my website (Ip address ) still display the error page 500 !! without showing the html pages from handling from wsgi script !
this the app.wsgi file (the error is not in this file I’m sure):
import sys,os ,bottle
sys.path.append('/var/www/apabtl/')
import hello
application = bottle.default_app()
this is may 000-default.conf :
ServerName 147.178.331.204
ServerAdmin YU@gmail.com
ServerRoot "/var/www/apabtl"
DocumentRoot "/var/www/apabtl"
#ServerName 147.178.331.204
WSGIDaemonProcess apabtl threads=5
WSGIScriptAlias / /var/www/apabtl/app.wsgi
<Directory /var/www/apabtl>
<Files app.wsgi>
Require all granted
</Files>
</Directory>
please can you help me (:
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Sorry to see that your question hasn’t received an answer yet. Unfortunately, after this much time, it is unlikely that an answer for this specific question will be provided. For people still landing here via search, check out this tutorial. It shows you how to get up and running with Django, Apache, and mod_wsgi on Ubuntu:
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.