mod_perl/apache
シンボリックリンクをたどることができないようです。
httpd.conf
私は持っています:
Options FollowSymLinks
<VirtualHost *>
ServerName cas.devserver.com
ServerAlias cas.devserver.com
ServerAdmin webmaster@devserver.com
DocumentRoot /var/www/htdocs/abc/def
PerlSwitches -I/var/www/cgi-bin
PerlSendHeader On
<Location />
Options FollowSymLinks
PerlSendHeader On
PerlHandler Test1::Test
SetHandler perl-script
Order deny,allow
Allow from all
</Location>
</VirtualHost>
/var/www/cgi-bin/Test1
が含まれるディレクトリの場合Test.pm
、機能します。Test.pm
( )を含むディレクトリへのシンボリック リンクである場合、/var/www/cgi-bin/test1/
失敗します。
[error] [client xxx.xxx.xxx.xxx] failed to resolve handler `Test1::Test':
Can't locate Test1/Test.pm in @INC
(@INC contains: /var/www/cgi-bin/ <snip> /usr/lib/perl5/5.8.8 . /etc/httpd)
at (eval 9) line 3.\n
権限を確認しましたが、問題ないようです。
助けてくれてありがとう。