Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

330
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda