Opened 10 years ago

Closed 10 years ago

#477 closed defect (fixed)

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)

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 (1)

mapguide.conf.patch (680 bytes) - added by zspitzer 10 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 10 years ago by amorsell

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

comment:2 Changed 10 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 10 years ago by zspitzer

Attachment: mapguide.conf.patch added

comment:3 Changed 10 years ago by zspitzer

Owner: set to zspitzer
Status: newassigned

patch attached

comment:4 Changed 10 years ago by tomfukushima

Owner: changed from zspitzer to ronnielouie
Status: assignednew

comment:5 Changed 10 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.

comment:6 Changed 10 years ago by zspitzer

can we make this a blocker for 2.0.1?

comment:7 Changed 10 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

Note: See TracTickets for help on using tickets.