GoogleMaps and Apache rewrites
Up to Plone Google Maps
Hey QG,
I was testing out your google maps product, which is very nice, but I noticed that if I use apache rewrites it does not seem to work. I would guess that the issue is that google's requirement to have the url match the one used in the key generation is somehow screwing things up with rewrites.
So with my plone site at http://wrndusitrd95:9081/TestSite2/testing/map-crap things work ok with a key generated using that url. However if I then try to use that site via an apache rewrite url, I get the error from google about not using the right url. Well that makes sense I guess, but what's odd is that if I go and create a new key with my "rewritten" url, I still get an error.
My rewritten url is:
http://www.testsite2.com
When I genererated a key with this url: http://www.testsite2.com/testing/map-crap I still get the error.
My apache rewrite rule is:
<VirtualHost www.testsite2.com>
ServerName www.testsite2.com
RewriteEngine On
RewriteLog "c:\temp\rewrite_log2"
RewriteLogLevel 1
RewriteRule ^/(.*) http://127.0.0.1:9081/VirtualHostBase/http/www.testsite2.com:80/TestSite2/VirtualHostRoot/$1 [L,P]
ProxyVia On
</VirtualHost>
Have you seen this or do you have a suggestion for how to fix my issue? Perhaps some more rewrites is the thing to do?
beren
I had the same problem but have found out what the trouble is (at least in my case). You need to include the port-number in the api setup. So if you have registered a key for http://www.testsite2.com/testing, you need to specify the address in the plone control panel as http://www.testsite2.com:80/testing.
Powered by
Ploneboard
