close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

little help

Thread began 7/20/2010 7:26 am by info321189 | Last modified 7/23/2010 7:10 pm by Eric Mittman | 637 views | 4 replies |

info321189

little help

Hello, the question can be stupid but I need a little help.
On my page I use the mod rewrite and pro maps won't work, work only with normal url address.
I use a variable with a sitename.

my page are in the root directory

the sample that work in url is
page.php?lang=en&page_ID=2

the rewrite expression is
RewriteRule ^([^/]*)/([^/]*)$ /page.php?lang=$1&page_ID=$2 [L]

and the url where promaps won't work is
2

Sign in to reply to this post

info321189

The problem is on the api... someone have suggestions ? :-\

Sign in to reply to this post

Eric Mittman

The maps that are created rely on interacting with Googles API to get the information that powers the map. If your rewrite rules are affecting the files that are referencing the API url's then you will not get the maps to work properly. If you are able to you should prevent these rewrite rules from running on the google_javascript folder and the page with the map on it.

Sign in to reply to this post

info321189

Thankyou for reply Eric, the api code is loaded with absolut url (to google).
I try to set the google pro maps directory with RewriteEngine off rule but doesn't work.
Now the google maps works only if I add manually to the page, with api on false.

Sign in to reply to this post

Eric Mittman

If the issue you are experiencing is due to the rewriting then you should be able to temporarily turn this off for the entire site then test out the map page with the API on. If you are not able to get the map to display here then it would suggest that the rewrite rules are not a part of the problem, however if the map does display it would indicate that the rewrite rules are affecting the page with the map still.

If there is a problem with the rewrite rules then turning them on globally should get things working, if the problem is something else this test will let you know and we can pursue the issue further.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...