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



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


"WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx> wrote on 04/05/2019 11:33:41
PM:

From: Booth Martin <booth@xxxxxxxxxxxx>
To: "Web Enabling the IBM i (AS/400 and iSeries)"
<web400@xxxxxxxxxxxxxxxxxx>
Date: 04/05/2019 11:33 PM
Subject: [WEB400] IWS and CORS
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx>

Where in the IWS wizard does one add

Header set Access-Control-Allow-Origin "*"


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://urldefense.proofpoint.com/v2/url?

u=https-3A__lists.midrange.com_mailman_listinfo_web400&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=1i-jGlz0-JTK1aLHcsU-

ew&m=7d-4xc0KGdOAnjuE5gQjagbSZaRwSbxZbfMSF_T2dCs&s=GrwrnBR3nmEiomQyUNf0xwc2iVMJUCON70vfN6Tl3io&e=
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://urldefense.proofpoint.com/v2/url?
u=https-3A__archive.midrange.com_web400&d=DwICAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=1i-jGlz0-JTK1aLHcsU-

ew&m=7d-4xc0KGdOAnjuE5gQjagbSZaRwSbxZbfMSF_T2dCs&s=Izf0U_F6RAcJnAHeU2l7afKlbjBPLNkurYnAH5Lu41I&e=
.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.