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

Re: Script works differently on two different servers

by davorg (Chancellor)
on Jul 23, 2009 at 12:36 UTC ( [id://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

Replies are listed 'Best First'.
Re^2: Script works differently on two different servers
by shawnhcorey (Friar) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://782665]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found