Win32 PERL Module
Hi
It looks like Win32 PERL module is not working with apache that comes with 16.4 TeamSite application. The code below is returning internal server error. Is there any other way to perform FETCHURL in the new version of TeamSite. We upgraded from 8.2.0.2 to 16.4.
use Win32::Internet; my $INET = new Win32::Internet(); my $servercall = "https://" . $cgi->{'form'}{'server'} . "/iw-bin/perlcode.ipl?" . $cgi->get_form_data(); my $response = $INET->FetchURL($servercall); debug ("response: $response"); $INET->Close(); response 2018-11-19 09:26:53 : response: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>500 Internal Server Error</title> </head><body> <h1>Internal Server Error</h1> <p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p> <p>Please contact the server administrator at to inform them of the time this error occurred, and the actions you performed just before this error.</p> <p>More information about this error may be available in the server error log.</p> <hr> <address>Apache/2.4.33 (Win64) OpenSSL/1.0.2o Server at www.www.com Port 443</address>
Comments
-
Hi Andy
Running from the command line runs the script without issue, something is wrong with the apache web server configuration. Any CGI/ipl file is returning internal server error on the browser.Thanks
0 -
Hi Andy
Thanks for your help. I found the issue, we have first line in the perl code as #!D:\iw\TeamSite/iw-perl/bin/iwperl which works with 8.2 but i guess 16.4 version has issues with it and that needed to be updated to #!D:\iw\TeamSite/iw-perl/bin/iwperl.exe, Our code worked fine except that Apache had issues with HTML code without exe at the end.
Thanks
0
Categories
- All Categories
- 107 Developer Announcements
- 53 Articles
- 104 General Questions
- 141 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 898 Cloud Fax and Notifications
- 76 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 118 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- Docker Automation
- LiveSite Content Services (LSCS) REST API
- Single Page Application (SPA) Modules
- TeamSite Add-ons
If you are interested in gaining full access to the content, you can register for a My Support account here.