Re: [Geoserver-users] WMS output format restrictions

2014-01-16 Thread abusquets
Sorry, I have made a mistake before. The best way for do this is put this code on apache ProxyPreserveHost On ProxyRequests Off Order allow,deny Allow from all RewriteEngine on RewriteCond %{QUERY_STRING} request=GetMap [NC] RewriteCond %{QUERY_STRING} !format=(.*)(png|jpeg)

Re: [Geoserver-users] WMS output format restrictions

2014-01-16 Thread abusquets
Sorry, I have made a mistake before. The best way for do this is put this code on apache ProxyPreserveHost On ProxyRequests Off Order allow,deny Allow from all RewriteEngine on RewriteCond %{QUERY_STRING} request=GetMap [NC] RewriteCond %{QUERY_STRING} !format=(.*)(png|jpeg)

Re: [Geoserver-users] WMS output format restrictions

2014-01-16 Thread abusquets
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] Re

[Geoserver-users] WMS output format restrictions

2014-01-15 Thread abusquets
Is there any way to restrict WMS output formats (JPEG, GIF, PNG, PNG 8) and disable kml export? Thanks. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/WMS-output-format-restrictions-tp5098123.html Sent from the GeoServer - User mailing list archive at Nabble.com. ---