[mapguide-internals] MapGuide 3.1.2 with REST

Gordon Luckett gordon.luckett at arrowgeomatics.com
Fri Jun 2 11:15:41 PDT 2023


Two things:
1. Make sure you have ARR installed in IIS
2. Make sure the #OSGeo\MapGuide\Web\www\rest\cache\ folder has write
access for the web service.



On Thu, Jun 1, 2023 at 11:37 AM <pierre.cardinal at sympatico.ca> wrote:

> Hi,
>
>
>
> Config :
>
> MapGuide 3.1.2 Bundle under Win10
>
>
>
> Installation of mapguide-rest (last distribution) needs composer 2.2
> (composer 2.3.0 is installed globally on my computer and Impossible to run
> "composer self-update --2.2")
>
>
>
> So for the installation, I have executed the following lines:
>
>
>
> php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
>
> php -r "if (hash_file('sha384', 'composer-setup.php') ===
>
> '55ce33d7678c5a611085589f1f3ddf8b3c52d662cd01d4ba75c0ee0459970c2200a51f492d5
> 57530c71c15d8dba01eae') { echo 'Installer verified'; } else { echo
> 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
>
> php composer-setup.php --2.2
>
> php -r "unlink('composer-setup.php');"
>
> php composer.phar install
>
>
>
> No problem with the installation.
>
>
>
> But with http:// <http://%3cmyservername%3e/mapguide/rest/index.php>
> <myservername>/mapguide/rest/index.php the response is  404 Page Not Found
> because there is no route for GET "/"
>
>
>
> $matchedRoutes =
> $this->router->getMatchedRoutes($this->request->getMethod(),
> $this->request->getResourceUri());
>
>
>
> The result of $matchedRoutes = $this->router->getMatchedRoutes("GET ",
> "/");
> is array(0).
>
>
>
> Any idea ?
>
>
>
> Regards,
>
>
>
> Pierre
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> mapguide-internals mailing list
> mapguide-internals at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapguide-internals
>


More information about the mapguide-internals mailing list