[mapguide-users] Mapguide-Apache URL rewrite
jason at jasonbirch.com
Fri Apr 1 03:24:55 EDT 2011
My feeling is that #2 isn't going to work. You may be able to set it up
with an external redirect, but I think trying to hide the URL will make
Fusion break as relative paths, etc will blow up.
There are other ways around this, such as creating your template under the
/gis folder and adjusting the paths, hard-coding your application-definition
(I think Fusion still looks for ApplicationDefinition.xml in the template
folder). A bit of work though, and you lose the flexibility of being able
to change the application on the fly. You could also look at embedding the
map in an iFrame or something similar?
On 31 March 2011 14:34, ggdm wrote:
> Hi everybody,
> I'm trying to rewrite URLs in Apache through mod_rewrite extension, in
> 1. Shorten and simplify links to maps;
> 2. Hide real URLs to users.
> My thought was to point to something like:
> and going directly to:
> No matter how long/hard I tried, I didn't succed in it
> My best result was editing httpd.conf and adding after
> RewriteEngine on
> RewriteBase /mapguide/
> RewriteRule ^gis
> This way it redirects but didn't load anything (blank white page, although
> can read "slate" in my tab name)
> Any help is really appreciated.
> View this message in context:
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mapguide-users