我该如何让Apache处理。特等(Perl的)文件,使用的mod_perl? [英] How do I make Apache handle .pl (Perl) files, using mod_perl?

查看:166
本文介绍了我该如何让Apache处理。特等(Perl的)文件,使用的mod_perl?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Apache 2,我知道如何处理.pl文件为CGI脚本,但mod_perl的是假想的方式更快。我成功地构建和安装mod_perl的,但我要如何改变httpd.conf中,这样.pl文件将被mod_perl的处理(而不是CGI脚本)?

I'm using Apache 2. I know how to handle .pl files as "cgi-script", but mod_perl is supposedly way faster. I successfully built and installed mod_perl, but how do I change httpd.conf so that .pl files will be handled by mod_perl (and not as cgi-script)?

推荐答案

如何做到这一点的mod_perl文档的此处。尤其是,阅读注册表脚本一节。

How to do this is described in the mod_perl documentation here. In particular, read the "Registry Scripts" section.

这篇关于我该如何让Apache处理。特等(Perl的)文件,使用的mod_perl?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆