Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Problems? Is your data what you think it is?
 
PerlMonks  

Re: mod_perl PerlMapToStorageHandler

by jethro (Monsignor)
on Oct 12, 2009 at 09:57 UTC ( #800647=note: print w/ replies, xml ) Need Help??


in reply to mod_perl PerlMapToStorageHandler

The error message from apache means it was looking for /var/www/test.txt, just what you wanted.

That it ultimately sent a 404 means it didn't find or couldn't access a file at /var/www/test.txt

To change that you either would have to put in a PerlResponseHandler too that generates a response or make sure that a file is accessible at /var/www/test.txt. Anonymous Monk already listed a few possibilities why it didn't work, another would be that apache doesn't have the rights to read /var/www/test.txt.

Disclaimer: I'm no expert of mod_perl, this answer is just theoretical reasoning not backed by actual experience


Comment on Re: mod_perl PerlMapToStorageHandler
Re^2: mod_perl PerlMapToStorageHandler
by sgifford (Prior) on Oct 12, 2009 at 14:47 UTC

    Thanks, I should have included that information in the original post. I have added it.

    Any other thoughts are appreciated.

    One thing that's weird is when I strace Apache, I can't see it trying to open anything before returning the error.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (14)
As of 2014-04-21 15:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (496 votes), past polls