Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Calling external programs via cgi on win32

by skyknight (Hermit)
on Jul 02, 2004 at 13:25 UTC ( [id://371388]=note: print w/replies, xml ) Need Help??


in reply to Calling external programs via cgi on win32

Question your assumptions. Specifically, validate the input to your script to make sure that it's getting from the web browser the same stuff it seems to be getting from the command line. Validate, validate, validate. This is good pratice even if you're not jumping between environments. Also, try dumping out the %ENV hash both from the command line and script. Check which user Apache is running as, as well as the group. A good test to see if permissions are causing problems would be (assuming you have the ability to do so) to create another user account, and try invoking your CGI script from it. This could be telling since this other account will probably have permissions (with respect to executing your CGI script) similar to Apache.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-03-28 17:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found