|
发表于 2003-11-28 04:43:43
|
显示全部楼层
wangguoqin1001兄,你好,我在/var/www/下建了个目录perlexample,并在/etc/httpd/conf/httpd.conf作了如下设置:
<IfModule mod_perl.c>
Alias /perlexample/ var/www/perlexample/
<Location /perl>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
</Location>
</IfModule>
可在mozilla中输入192.168.1.6/perlexample/(其中192.168.1.6为我本机的ip地址)时显示如下
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster
Error 403
192.168.1.6
2003年11月28日 星期五 12时07分10秒
Apache/2.0.40 (Red Hat Linux)
提示没权限,我又把用chmod +711 perlexample,可还是不能正常显perl文本
烦请各位大哥多多帮帮我,谢谢:help |
|