watch out for POST requests if you'r trying to protect sensitive data (and shapefile format?)
-i -----Message d'origine----- De : abusquets [mailto:abusqu...@gmail.com] Envoyé : Thursday, 16 January 2014 09:08 À : geoserver-users@lists.sourceforge.net Objet : Re: [Geoserver-users] WMS output format restrictions We have a solution. Make a .htaccess file with this content RewriteEngine on RewriteCond %{QUERY_STRING} request=GetMap [NC] RewriteCond %{QUERY_STRING} !format=(.*)(png|jpeg) [NC] RewriteRule .* - [F] RewriteCond %{REQUEST_URI} wms/kml RewriteCond %{QUERY_STRING} layers RewriteRule .* - [F] RewriteRule geoserver/(.*) http://localhost:8080/geoserver/$1 [P] -- View this message in context: http://osgeo-org.1560.x6.nabble.com/WMS-output-format-restrictions-tp5098123p5098308.html Sent from the GeoServer - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users