免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1511 | 回复: 3
打印 上一主题 下一主题

[Web] How can I set up Apache + Perl in my Fedora Core 4 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-10-18 17:26 |只看该作者 |倒序浏览
How can I set up Apache + Perl in my Fedora Core 4 ?
I was told that FC4 has installed Apache and Perl in the system, but I can't find them, and can't configure them. Could you tell me a method, or just give me a link that can explain the method in detail?
Thanks very much for your reply!
By the way, you can reply this subject in Chinese, because the Linux I'm using can't type Chinese.  

论坛徽章:
0
2 [报告]
发表于 2005-10-18 20:07 |只看该作者

How can I set up Apache + Perl in my Fedora Core 4

perl -v

论坛徽章:
0
3 [报告]
发表于 2005-10-19 15:34 |只看该作者

How can I set up Apache + Perl in my Fedora Core 4

[Tony@localhost ~]$ perl -v

This is perl, v5.8.6 built for i386-linux-thread-multi

Copyright 1987-2004, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

论坛徽章:
1
技术图书徽章
日期:2013-12-05 23:25:45
4 [报告]
发表于 2005-10-19 15:40 |只看该作者

How can I set up Apache + Perl in my Fedora Core 4

Default , you can put a test perl file in cgi-bin of apache.

cat /path/to/you/httpd.conf | grep "cgi-bin"

you can see the realpath of cgi-bin

test perl file:
#!/bin/perl
print "content-type:text/html\n\n";
print "hello wolrd";

chmod 777 test perl file.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP