社区所有版块导航
Python
python开源   Django   Python   DjangoApp   pycharm  
DATA
docker   Elasticsearch  
aigc
aigc   chatgpt  
WEB开发
linux   MongoDB   Redis   DATABASE   NGINX   其他Web框架   web工具   zookeeper   tornado   NoSql   Bootstrap   js   peewee   Git   bottle   IE   MQ   Jquery  
机器学习
机器学习算法  
Python88.com
反馈   公告   社区推广  
产品
短视频  
印度
印度  
Py学习  »  Django

新手求助,django1.5和apache2.4布署问题,求各位帮忙!

79315647 • 9 年前 • 2606 次点击  

django1.5和apache2.4布署setting.py中加oracle数据库连接后不能正常显示页面,报错:Internal Server Error

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

Please contact the server administrator at admin@example.com 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. 去除数据库连接部分页面就正常显示。开发环境和服务器同一电脑,命令行下manage.py runserver可正常连接数据库显示显页面。求解

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/1502
 
2606 次点击  
文章 [ 1 ]  |  最新文章 9 年前
PythonKiller
Reply   •   1 楼
PythonKiller    9 年前

用nginx搭配uwsgi,不要用apache啊