Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Script works differently on two different servers

by davorg (Chancellor)
on Jul 23, 2009 at 12:36 UTC ( #782665=note: print w/ replies, xml ) Need Help??


in reply to Script works differently on two different servers

Problems like this will often be down to the ownership of the file or the permissions of the user owning the file. Remember that when running as a CGI program your code almost certainly runs as the web server user, not as you.

But this is all just guesswork. As moritz says, the only way to be sure is to look in the error log.

Update: I've just remembered - This is a FAQ.

--

See the Copyright notice on my home node.

Perl training courses


Comment on Re: Script works differently on two different servers
Re^2: Script works differently on two different servers
by shawnhcorey (Pilgrim) on Jul 23, 2009 at 14:35 UTC

    An added note: you should also check the user name of the server; they may be different on different machines. Some names are: nobody, www, and web.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://782665]
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: (6)
As of 2014-08-23 21:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (178 votes), past polls