Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

328
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda