Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by markseger (Beadle)
on Feb 14, 2012 at 22:51 UTC ( #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?
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
Node Status?
node history
Node Type: note [id://953794]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2014-07-12 03:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (238 votes), past polls