Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Re: Strange File Not Found Error

by FouRPlaY (Monk)
on Jun 14, 2001 at 19:22 UTC ( [id://88585]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Re: Strange File Not Found Error
in thread Strange File Not Found Error

I'm not sure where you're going with this...

The ls -l / prints out the / directory as expected. What's the enlightenment?



FouRPlaY
Learning Perl or Going To die() Trying

Replies are listed 'Best First'.
Re: Re: Re: Re: Strange File Not Found Error
by Anonymous Monk on Jun 14, 2001 at 19:28 UTC
    ls -l because of the dates (it could be a copy of the / dir)
(tye)Re: Strange File Not Found Error
by tye (Sage) on Jun 14, 2001 at 21:54 UTC

    Better method:

    $|= 1; print join( ":", (stat("/"))[0,1] ), $/;
    and compare these values between when run from the command line vs. when run as a web script. If they are different, then "/" is different in the two environment because one (probably the web server) is chrooted as a security measure.

    If this is the problem, then you'll have to copy the file to someplace under the web server's virtual root.

    BTW, `ls -ali /` is probably more what the original suggestion should have been.

            - tye (but my friends call me "Tye")
      You hit the nail on the head. Seems like that's exactly what's happened. Thanks.



      FouRPlaY
      Learning Perl or Going To die() Trying

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://88585]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.