×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
I cannot for the life of me get a simple REST service to work no matter what I try ...
The URL I want to use is
http://xyz.com/restsrv1/request1/request2/etc.
The config entry I have is:
ScriptAlias /restsrv1 /qsys.lib/jons.lib/restsrv1.pgm
<Directory /qsys.lib/jonslib.lib>
Order Allow,Deny
Allow From All
</Directory>
From the first attempt I don't appear to be getting a match because it is trying to locate it as a file in my default directory - the log shows that is attempting to locate file /www/jon/htdocs/restsrv1
In the config I also have a generic CGI config entry:
ScriptAliasMatch ^/CGI/(.*) /QSYS.LIB/PARTNER400.LIB/$1.PGM
<Directory /QSYS.LIB/PARTNER400.LIB>
order allow,deny
allow from all
SetHandler cgi-script
Options +ExecCGI
</Directory>
Which will run most anything in the named library - but not this program - get a 500 error and the program itself never gets called. Is this related to the additional entries in the URL? I had read else where that the default was the back-end of the URL was available for CGI programs but ...
I know it is something daft - but brain is not functioning today.
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.