ChinaUnix.net
相关文章推荐:

apache perl

以前都是直接用别人搭好的apache在写cgi代码,没啥问题 今天下了一个apache2.4.9,启动后按照网上说的一些改了一些配置。 但访问一直显示的是cgi程序的源码。 感觉是没有用perl解析,求大神搭救一把该如何改配置

by xfilesliuli - Perl - 2014-07-03 19:47:27 阅读(2274) 回复(3)

相关讨论

大侠们: 有个文件a.txt,内容如下: 1 abc 2 rhr 3 ghg 4 test 我想将此文件内容读出来 并将现在IE里面 我用cat a.txt 或 more a.txt 只能在后台运行 。

by fly_jiang - Perl - 2012-05-30 08:50:55 阅读(1116) 回复(3)

apache+mysql+perl 相比于nginx,apacheperl的支持要更好一些(nginx需要自己写一个wrapper,而且网上down下来的wrapper的版本在post MIME类型的文件时会有问题)。在配置上,从我这个新手的角度来看,apache也是同样简单。 首先从apache官网http://apache.org/上下载httpd模块。用源文件编译就好,没有问题。安装后httpd命令启动http服务器进程。 接着去mysql官网http://mysql.cn/上下载binary或源码。...

运维

by so_brave - 监控及自动化运维技术 - 2013-04-02 21:16:23 阅读(2271) 回复(2)

1. 安装apacheapache源代码解压缩: 一、编译和安装apache: # tar zxvf httpd-2.2.11.tar.gz # cd httpd-2.2.11 # ./configure # make # make install 默认安装在/usr/local/apache2中。 安装fcgi 将fcgi解压缩: # tar zxvf fcgi-2.4.0.tar.gz 编译和安装: # cd fcgi-2.4.0 # ./configure # make # make install 将必要的动态库拷贝到/usr/lib中(cgi程序将依赖这些库文件): # cp ./libfcgi/.libs/* /usr/lib/ 二、...

by zzxia - Linux文档专区 - 2009-03-17 14:57:53 阅读(860) 回复(0)

现在服务器上的WEB 环境已经搭建好了。运行了很长时间。 但现在因为业务需要用的perl 因为之前没有编绎。 有什么办法加入么?? 服务器已安装MOD—perl 我想做一个软链接再在httpd.conf 里直接加入。不知道行不行。 有没有做过的。一起讨论下啦!

by 守住每一天 - 服务器应用 - 2007-06-15 17:43:43 阅读(2239) 回复(3)

请问apache支持CGI PL等脚本,是不是只要有perl包就可以了,我已经装了perl,我用rpm -q perl显示如下: [root@Linux root]# rpm -q perl perl-5.8.0-88.4 我怎么配置、才能支持CGI PL脚本 能帮我者我送空间,请联系QQ 165668

by 修理工 - 服务器应用 - 2003-11-29 13:04:40 阅读(969) 回复(2)

最近学着给公司的一个系统添加功能,就是个网页界面的东西。 一直在用perl,就打算用perl的CGI做。 但是在网页这块是0基础。 简单的了解下,apache用来架设网站,tomcat似乎是支持jsp用。 从网上下载apache-tomcat-6.0.29-windows-x64.zip,然后下载JDK包,都安装好了,环境变量也设置好。localhost:8080也可以打开。 目前卡在用perl写的CGI包,输入路径后根本无法使用。 按照网上的web.xml 和context.xml都进行了修改。 在webapps...

by xiumu2280 - Perl - 2013-08-25 11:12:36 阅读(4914) 回复(4)

怎么有的程序能浏览,有的浏览不了呀,像这样的程序: [code] #!/usr/bin/perl print "Content-type:text/plain \n\n"; use CGI; $query=new CGI; print $query->header, $query->start_html('hello World'), $query->h1({-align=>center},'hello world'), $query->end_html; ~ [/code] 报告500错误:em10: [code] #!/usr/bin/perl print "Conntent-Type: text/plain\n\n"; print "这是CGI的环境变量\n"; foreach $key(keys %ENV...

by xuxingyu - Perl - 2007-03-14 19:49:19 阅读(1690) 回复(1)
by andyhua12 - Perl - 2006-08-02 17:12:10 阅读(1277) 回复(2)

I donwload the apache1.33 and (not root) ./configure --prefix=/www make make install ok ! but not surport perl,cgi,just print out my cgi code !

by dajun - Perl - 2005-03-25 20:44:08 阅读(1455) 回复(4)

apache已经正常启动! 编写hellocgi.pl文件内容如下: #!c:/perl/bin/perl.exe print Content-type:text/html\n\n; print Hello CGI; 将hellocgi.pl文件放到C:\Program Files\apache Group\apache2\cgi-bin\目录下 在IE中运行http://127.0.0.1:8070/cgi-bin/hellocgi.pl 报错如下: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please co...

by hyl212 - Perl - 2004-11-30 19:40:28 阅读(1172) 回复(2)