Ticket #477 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Apache mapguide.conf for Linux Problems

Reported by: amorsell Owned by: ronnielouie
Priority: medium Milestone: 2.1
Component: Map Agent Version: 2.0.0
Severity: major Keywords:
Cc: External ID:

Description (last modified by jbirch) (diff)

They following two lines in /usr/local/mapguideopensource/webserverextensions/apache/conf/mapguide.conf (referenced by httpd.conf)

Are commented by default but are necessary in order for the mapagent to be functional.

Currently reads:


 #LoadModule mgmapagent_module modules/mod_mgmapagent.so
 #AddHandler mgmapagent_handler fcgi

Should be:


 LoadModule mgmapagent_module modules/mod_mgmapagent.so
 AddHandler mgmapagent_handler fcgi

Attachments

mapguide.conf.patch Download (0.7 KB) - added by zspitzer 5 years ago.

Change History

Changed 5 years ago by amorsell

Line breaks did not work in the Trac submission. Should be breaks before the #AddHandler? and AddHandler?

Changed 5 years ago by jbirch

  • description modified (diff)

Re-formatted the description using WikiFormatting. Basically you can enclose text that needs to be pre-formatted with three curly-braces.

Changed 5 years ago by zspitzer

Changed 5 years ago by zspitzer

  • owner set to zspitzer
  • status changed from new to assigned

patch attached

Changed 5 years ago by tomfukushima

  • owner changed from zspitzer to ronnielouie
  • status changed from assigned to new

Changed 5 years ago by ronnielouie

Hi Zac, thanks for the patch. You've got the right diagnosis, but unfortunately the wrong solution.

Your patch uncomments the two lines for the Apache mapagent module in build_apt.sh. The usual steps for building on Linux, as described at  http://wiki.osgeo.org/wiki/Building_MapGuide_quick_starts_guides, involve performing build_apt.sh first and then building MapGuide.

When build_apt.sh is run, MapGuide has not been built yet, so the mod_mgmapagent.so does not yet exist. That is why it is uncommented here. When building MapGuide, particularly the 'make install' of the WebTier is supposed to edit the mapguide.conf file to remove the comment character. For some reason, the modifying of mapguide.conf was removed by  http://trac.osgeo.org/mapguide/changeset/2732. I will need to look into why this was removed. Otherwise, the correct solution would be to revert changeset 2732.

Changed 5 years ago by zspitzer

can we make this a blocker for 2.0.1?

Changed 5 years ago by tomfukushima

No, I can't make it a blocker because there's a work around. But I'll push to see if we can get this resolved. Tom

Changed 5 years ago by ronnielouie

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.