I would try watching the requests using Firebug to make sure there's not a url format you missed.
On Apr 20, 7:20 am, pamela fox <[email protected]> wrote: > Hi Kim- > > I don't believe the referrer should be a Google server for a > GroundOverlay. Have you checked your HTTP traffic on the browser or > your server logs to see what the requests look like? > > - pamela > > On Sat, Apr 18, 2009 at 11:04 AM, Kim <[email protected]> wrote: > > > Hello, > > > I'm atttempting to block access to my site's assets when accessed from > > a page that doesn't sit on the site itself, using the apache > > mod_rewrite module. The following bit in .htaccess successfully blocks > > direct requests for images but allows their display on the site's > > pages: > > > <IfModule mod_rewrite.c> > > RewriteEngine On > > RewriteBase / > > RewriteCond %{REQUEST_FILENAME} \.(gif|jpe?g|png|pdf)$ [NC] > > RewriteCond %{HTTP_REFERER} !mydomain\.org [NC] > > RewriteCond %{HTTP_REFERER} !dev\.mydevdomain\.org [NC] > > RewriteCond %{HTTP_REFERER} !google\. [NC] > > RewriteRule .* - [F,NS] > > </IfModule> > > > However, my Flash Google map loads many pngs as GroundOverlays, and > > when I visit the page on which the map sits, I get ActionScript errors > > for each one. I guess (but am not sure) this is because the request > > for the image is coming from a google server other than the one I > > attempted to cover. Does anyone have any idea how to make requests for > > GroundOverlay images not trip the RewriteConds? > > > Thanks, > > Kim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-maps-api-for-flash?hl=en -~----------~----~----~----~------~----~------~--~---
