Opened 17 years ago

Closed 17 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 17 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by amorsell, 17 years ago

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

comment:2 by jbirch, 17 years ago

Description: modified (diff)

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

by zspitzer, 17 years ago

Attachment: mapguide.conf.patch added

comment:3 by zspitzer, 17 years ago

Owner: set to zspitzer
Status: newassigned

patch attached

comment:4 by tomfukushima, 17 years ago

Owner: changed from zspitzer to ronnielouie
Status: assignednew

comment:5 by ronnielouie, 17 years ago

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 by zspitzer, 17 years ago

can we make this a blocker for 2.0.1?

comment:7 by tomfukushima, 17 years ago

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.