Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

317
Views
Web page couldn't be shown with mod_wsgi on Flask environment

Issue

There are mod_wsgi occurred when I exec it with flask modules on web server.

I did below command after installed mod_wsgi.

mod_wsgi-express start-server run.py

Access below URL. http://localhost:8000/

I found error as below.

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Source code information

run.py

from app.app import app
from bottle import route, run

if __name__ == "__main__":
    app.run(host='0.0.0.0', port=9999)

The actual module is located on app/app.py

Tried

Web page is working with below command.

python3 run.py

Environment

Server Amazon EC2 t2.micro

httpd -v Server version: Apache/2.4.46 ()

flask --version Python 3.7.9 Flask 1.1.2 Werkzeug 1.0.1

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!