可不可以为apache指定多个cgi-bin目录运行perl呢?

由 风林 在 04-28-2004 10:52 发表:

可不可以为apache指定多个cgi-bin目录运行perl呢?

如题。


由 小皮 在 04-30-2004 12:59 发表:


当然可以!参考如下!

ScriptAlias /cgi-bin/ "/home/aaa/cgi-bin/"

1<directory "="" aaa"="" home="">   
2  
3AllowOverride All   
4  
5Options +Includes   
6  
7</directory>

可以在主服务器配置文件中,使用Options指令显式地允许特定目录中CGI的执行

1<directory apache="" htdocs="" local="" somedir="" usr="">   
2  
3Options +ExecCGI   
4  
5</directory>

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus