Python + win10 +Apache CGI 错误500的解决方法
来源:互联网 发布:课程表数据库设计 编辑:程序博客网 时间:2024/06/06 03:02
虽然在apache的httpd.conf 配置文件中加了ScriptInterpreterSource Registry
但是还是出现错误500:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, 7678765453@qq.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
网上找了资料:
ScriptInterpreterSource Registry是对Windows注册表项HKEY_CLASSES_ROOT
进行搜索来确定CGI脚本解释器
但是只适用于win32
所以可以通过使用在脚本中以"#!
"行指定的解释器
将原来test.py文件的第一行
#!/usr/bin/python3
改为自己安装的python目录
#!C:\Python\Python35\python.exe
0 0
- Python + win10 +Apache CGI 错误500的解决方法
- apache用cgi脚本碰到的错误
- apache支持python写的CGI
- Python CGI与Apache的配置
- win10下Apache无法启动的解决方法
- Python CGI Apache
- apache 配置 python cgi
- Python+Apache+CGI完全配置
- Python+Apache+CGI完全配置
- boa服务器CGI相关的一些错误解决方法
- Win10下配置Apache Http Server与连接CGI
- Win10下配置Apache Http Server与连接CGI
- win8 win10 无法宽带拨号的解决方法1062错误
- Win10 EPLAN新建项目出现“一个内部错误的解决方法”
- Win10应用商店出现0x80072EE2错误的解决方法
- win10系统还原失败错误0x80070091的解决方法
- Python的CGI配置
- Apache win10的安装
- C语言快排函数qsort()
- Ubuntu下 安装Android Studio
- C++ 网络编程客户端
- 解析数组名
- UVA 1600 Patrol Robot
- Python + win10 +Apache CGI 错误500的解决方法
- 有意思的python集锦
- 【算法总结系列-5】链表与模拟链表
- iOS 数字 千分位显示 每三位逗号隔开
- SQL SERVER 自连接、外连接
- win7 F1指示灯老是亮着的解决方法
- iOS代理
- 基于Linux 文件IO的聊天室开发
- C++ hashmap