On 11/5/21 3:44 PM, Olivier Gagnon wrote:
> Add this under it _TO ALLOW ANY ORIGIN (*)._ Once CORS problem is out of
> the way, you should replace the * under
> cors.allowed.origins with the specific domains
> seperated by commas that you want to let go through CORS protection :
Adding all the
Envoyé à partir d’Outlook<http://aka.ms/weboutlook>
De : emmexx
Envoyé : 5 novembre 2021 10:27
À : geoserver-users@lists.sourceforge.net
Objet : Re: [Geoserver-users] WPS and CORS
On 11/5/21 2:38 PM, emmexx wrote:
> I added the cors f
On 11/5/21 2:38 PM, emmexx wrote:
> I added the cors filter and commented it in the geoserver web.xml but
> geoserver is not starting.
I had copied the filter code from the geoserver documentation that has:
cross-origin
Tomcat Cors documentation has:
CorsFilter
Not sure if that makes any
On 11/5/21 12:52 PM, Olivier Gagnon wrote:
>
> You can comment everything which is included in Geoserver config files.
>
> If you're using Tomcat, you have to configure tomcat's config files for
> CORS : Tomcat xxx\conf\web.xml
>
> Search for the string "filter" or "cors". You should find a
urceforge.net
Objet : Re: [Geoserver-users] WPS and CORS
On 11/5/21 11:44 AM, Andrea Aime wrote:
> Stop right there. The instructions say:
> "The standalone distributions of GeoServer include the Jetty application
> server."
> and then instructions on how to enable it for Jetty f
Doh, I totally did not remember there was a setting for Tomcat too in there!
It was added a year ago by an external contributor, never used it myself...
Cheers
Andrea
On Fri, Nov 5, 2021 at 12:39 PM emmexx wrote:
> On 11/5/21 11:44 AM, Andrea Aime wrote:
> > Stop right there. The instructions
On 11/5/21 11:44 AM, Andrea Aime wrote:
> Stop right there. The instructions say:
> "The standalone distributions of GeoServer include the Jetty application
> server."
> and then instructions on how to enable it for Jetty follow... the
> filters in web.xml
> do work only in Jetty, not in Tomcat.
On Thu, Nov 4, 2021 at 5:38 PM emmexx wrote:
> I enabled the filters and restarted tomcat
Stop right there. The instructions say:
"The standalone distributions of GeoServer include the Jetty application
server."
and then instructions on how to enable it for Jetty follow... the filters
in
On 11/4/21 8:34 PM, br...@frogmouth.net wrote:
> Exactly what have you done to enable the filters? Can you show the headers
> for the two different calls (not debugger, but actual output, say from wget).
I followed the manual:
CORS is on the container, not on geoserver.
Exactly what have you done to enable the filters? Can you show the headers for
the two different calls (not debugger, but actual output, say from wget).
Brad
___
Geoserver-users mailing list
Please
Hi,
For "header ‘Access-Control-Allow-Origin’ missing", confirm that the header is
actually present.
Also try with * instead of a specific domain to see if it works. You'll be able
to set/find a specific value afterwards.
Hope this helps. Good luck !
Envoyé à partir
11 matches
Mail list logo