A client of mine is using Apache web server and Perl CGI scripts to handle some actions. One of the things they've already got setup is a perl script that uses the Authorize.NET API to charge credit cards and returns the results to a browser page.
Well, they're starting a different company that they want to keep seperate from the current one, but they want to use all of the same technology and procedures. So what I've done is simply take the auth.pl file that gets called and made a copy called ddAuth.pl, so now it's its own file. Within the file, the ONLY thing I changed is the username and password values held in their variables. I then placed the ddAuth.pl file in the same directory as the auth.pl that is currently working.
When I try and run ddAuth.pl, though, I'm getting a 500 Internal Server Error:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, email@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Of course, bo@dealexpress doesn't work there any longer, and they didn't part ways under good terms....so he's not gonna be any help. The thing I don't get is why I get this error only for this .pl file when it's almost exactly the same as the other one that works. the application actually passes a bunch of variables along to it in querystring values, but even when i try and test simply by going to https://www.dealexpress.com/cgi-bin/ddAuth.pl
I get the error. If I go to auth.pl directly like that, I get a blank white page.
Any information on why this might be happening would be greatly appreciated. thanks!