in reply to Accessing Perl Modules Through .htaccess

Does the web server (specifically, the user "deamon" and the group "deamon") have access to the file and to the directories needed to access the file?
  • Comment on Re: Accessing Perl Modules Through .htaccess

Replies are listed 'Best First'.
Re^2: Accessing Perl Modules Through .htaccess
by monkfan (Curate) on Apr 10, 2007 at 03:12 UTC
    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

      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