[mapguide-users] Re: Mapguide-Apache URL rewrite

ggdm giudim86 at libero.it
Sat Apr 2 08:01:05 EDT 2011


Tried over and over again but still not satisfied.

as previously said even single iFrame breaks search widget (and maybe
something else), in the sense that I can search, find results but link to
the feature in the map doesn't work.

Still looking at Apache Rewrite Rules.

Some progress are reported here:

RewriteRule ^gis
/mapguide/fusion/template/mapguide/slate/index.html?ApplicationDefinition=Library://SomeFolder/SomeFlexibleLayout.ApplicationDefinition
RewriteRule ^(jxtheme|icons)\.css$
/mapguide/fusion/template/mapguide/slate/$1.css [L]
RewriteRule ^images/(.*)$ /mapguide/fusion/template/mapguide/slate/images/$1
[L]
RewriteRule ^(.*)$ /mapguide/fusion/$1

This way I can correctly load .css in the template folder and fusionSF
library. I could even move the overviewMap all over but not much else 

Looking in Fusion-SF.js I found a constant named "fusionURL" that could
potentially solve it all.
So I tried the usual: 
http://www.somesite.com/mapguide/fusion/template/mapguide/slate/index.html?ApplicationDefinition=Library://SomeFolder/SomeFlexibleLayout.ApplicationDefinition

with the addition of:

&fusionURL=somethingstrangehere

to see if it breaks the usual loading of the page. But it runs fine so I
suppose this constant remained the same!

More help appreciated! 

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Mapguide-Apache-URL-rewrite-tp6228837p6233712.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list