Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2348456
  • 博文数量: 609
  • 博客积分: 10061
  • 博客等级: 上将
  • 技术积分: 5920
  • 用 户 组: 普通用户
  • 注册时间: 2008-06-25 08:30
文章分类

全部博文(609)

文章存档

2010年(13)

2009年(39)

2008年(558)

我的朋友

分类: 系统运维

2008-09-15 13:24:56

Install SpeedyCGI that makes CGI fast.(apache)
 
[1]  Install

[root@www ~]# yum  -y install perl-CGI-SpeedyCGI

[root@www ~]# ln -s /usr/bin/speedy /usr/local/bin/speedy

[root@www ~]#

[2]   How to write a CGI scripts. Change PATH like follows. Reffer other options here.

[root@www ~]# vi /var/www/html/index.cgi
 
#!/usr/local/bin/speedy -- -t300 -M1
print "Content-type: text/html\n\n";
print <<"EOM";



CGI Test Page



EOM
exit;
阅读(1113) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~