in reply to Re: Accessing Perl Modules Through .htaccess
in thread Accessing Perl Modules Through .htaccess

How can we check that, ikegami?
Do you mean the permission for the module? For the module I have the following permission:
sadm@bioinfo-z:~/lib/site_perl/Acme$ ll -h total 7.0K -r--r--r-- 1 sadm sadmg 6.3K Jan 18 02:53 Spork.pm
And doing chmod a+x on it, still Apache can't locate the module.

Regards,
Edward

Replies are listed 'Best First'.
Re^3: Accessing Perl Modules Through .htaccess
by ikegami (Patriarch) on Apr 10, 2007 at 03:19 UTC

    You only answered half the question.
    What about the permissions for /home/sadm/lib/site_perl/Acme?
    What about the permissions for /home/sadm/lib/site_perl?
    What about the permissions for /home/sadm/lib?
    What about the permissions for /home/sadm?
    What about the permissions for /home?

      drwxr-xr-x 4 root other 4 Jul 19 2005 home drwx------ 15 sadm sadmg 22 Apr 10 11:11 sadm drwxr-xr-x 6 sadm sadmg 7 Apr 9 23:42 lib drwxr-xr-x 37 sadm sadmg 46 Apr 10 09:16 site_perl drwxr-xr-x 2 sadm sadmg 3 Apr 6 12:00 Acme

      Regards,
      Edward
        Given the permissions for /home/sadm, the CGI script cannot read anything in or below /home/sadm (unless it runs as you, which doesn't seem to be the case).