Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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

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
Node Status?
node history
Node Type: note [id://782665]
help
Chatterbox?
[marto]: evening all
[Happy-the-monk]: good evening!

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2017-11-18 18:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?