Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Accessing Perl Modules Through .htaccess

by monkfan (Curate)
on Apr 10, 2007 at 03:12 UTC ( #609062=note: print w/ replies, xml ) Need Help??


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


Comment on Re^2: Accessing Perl Modules Through .htaccess
Select or Download Code
Re^3: Accessing Perl Modules Through .htaccess
by ikegami (Pope) 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).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://609062]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2015-07-04 09:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (59 votes), past polls