Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: win32::ole runs under cmd line but not cgi

by dorko (Prior)
on Jul 23, 2005 at 14:46 UTC ( [id://477482]=note: print w/replies, xml ) Need Help??


in reply to win32::ole runs under cmd line but not cgi

Whenever someone says "it works fine from the command line but it doesn't work as CGI..." it makes me think of users' permissions. The user executing CGI scripts is oftentimes a special web user with limited access. When you run the same script from the command line, you're logged in as a user with rights and permissions that are usually quite different from the web user.

It may or may not help, but it's something to think about.

Cheers,

Brent

-- Yeah, I'm a Delt.
  • Comment on Re: win32::ole runs under cmd line but not cgi

Replies are listed 'Best First'.
Re^2: win32::ole runs under cmd line but not cgi
by dparadies (Initiate) on Jul 24, 2005 at 17:29 UTC
    Thank you. It looks like you nailed the problem. Now i just have to figure out how to have perl be recognized as having the appropriate permissions.
      Hi
      Let Me know how to solve the issues when I am using the Apache with Windows2003

Log In?
Username:
Password:

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

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

    No recent polls found