× 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.



That means nothing to me.  Add it to every RPGLE service program? Or, which server?  The HTTP server or the application server?

Where did "var" come from?  Never heard of that before.  Now I just looked for var with RDi, found it, clicked it, and am told "Folder / is not readable", and now RDi Root file system is locked.

I have earlier made this change to the web services HTTP server "Display Configuration File" and nothing changed:

* 18* **<*Location /*>**
*  19* *       Header set Access-Control-Allow-Origin "*"*
*  20* *        Require all granted*
*  21* *</Location>*


The link is no doubt totally correct but is of no use to me without the chapters that come before this.



On 4/7/2019 7:49 PM, Nadir Amra wrote:
The options I know of is to set it from you web service implementation
code via an output parameter designated for HTTP headers OR you can added
it via the Apache HTTP[1] server by specifying it in the configuration,
for example:

<Directory /var/www>
Header set Access-Control-Allow-Origin"https://s.codepen.io"; </Directory>


[1]
https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/rzaie/rzaiemod_headers.htm#header


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.