Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: Might there be some bug in glob under apache?

by markseger (Beadle)
on Feb 14, 2012 at 22:51 UTC ( [id://953794]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Might there be some bug in glob under apache?
in thread Might there be some bug in glob under apache?

Oh I see, you mean to verify the directory is there, etc. I should have said the very first thing I did was to 'su apache', after granting it login in /etc/passwd. Then I ran my script manually form a shell and it ran jusyt fine. So the directory exists AND is readable by the apache user BUT the glob returns a 0 when invoked as a web page.

Still feels like a funky apache interaction thing.

-mark

  • Comment on Re^4: Might there be some bug in glob under apache?

Replies are listed 'Best First'.
Re^5: Might there be some bug in glob under apache?
by Anonymous Monk on Feb 14, 2012 at 23:22 UTC

    Still feels like a funky apache interaction thing.

    Well, I did mention chroot and selinux, so check those too (I don't know how)

      Like I said, I already verified my script runs correctly outside a web server as the apache user so I'm out of tricks and looking for someone who has some. -mark

        Like I said, I already verified my script runs correctly outside a web server as the apache user so I'm out of tricks and looking for someone who has some. -mark

        Yeah, and chroot and selinux are features that can be selectively enabled for apache in various ways

        Switching to user apache isn't sufficient to ruling this stuff out, you have to examine apache configuration ...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-04-16 11:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found