CGI Error
来源:互联网 发布:网络数据库技术与应用 编辑:程序博客网 时间:2024/04/27 17:42
页面如下显示
"Server error! The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: test2.pl If you think this is a server error, please contact the webmaster Error 500"
log里面是这样
Premature end of script headers error
参考http://sakaguch.com/PastBBS/0015/B0008334.html#No8365
#!/usr/local/bin/cgi ↓ #!/usr/local/bin/cgi -- 或 #!/usr/local/bin/cgi -
附查找替换方法 注意单引号的区别
sed -i 's/!//usr//bin//perl/!//usr//bin//perl --/g' `find . -type f`
sed -i 's/!//usr//bin//perl/!//usr//bin//perl --/g' `find -R . -type f` -R递归
同时替换多个
sed -i 's/aa/AA/;s/bb/BB/;s/cc/CC/g' `find . -type f`
sed -e's/aa/AA/g' -e's/aa/AA/g' -e's/aa/AA/g' filename
- CGI Error
- CGI "Internal Server Error"
- make: *** [sapi/cgi/php-cgi.exe] Error 1
- ./cgictest.cgi: line 1: syntax error: "(" unexpected
- CGI问题:500 Internal Server Error
- SQUID Cache Manager Error(cachemgr.cgi)解决方案
- Apache CGI Perl error encountered and resolved
- CGI
- CGI
- CGI
- cgi
- CGI
- cgi
- CGI
- CGI
- CGI
- CGI
- CGI
- 山寨智能机多采用盗版Windows Mobile系统
- Appfuse2 中Unable to load bean: type:com.opensymphony.xwork2.ObjectFactory 问题
- VMware Workstation v6.0.1 正式版下载
- 几个常用的用正则表达式验证字符串的函数
- 用C#对ADO 数据库完成简单操作
- CGI Error
- [转贴] 简单工厂,工厂方法和抽象工厂模式
- 正则表达试基础知识
- XPATH与default namespace
- ABAP常用字符串操作收集整理
- SvcHost.exe调用的服务原理与实践
- 盖茨成功4大金科玉律
- [转] 使用GDB和Valgrind调试C程序
- 多个Filter在web.xml中的配置问题