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 filter > section to enable cors.
I had already searched the cors filter in that file but found nothing. I added the cors filter and commented it in the geoserver web.xml but geoserver is not starting. I don't understand why the filters in geoserver web.xml are not ok, Tomcat web.xml file says: "WARNING: Do not configure application-specific resources here! They should go in the "/WEB-INF/web.xml" file in your application." but I'm not a tomcat expert. maxx _______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users