Bug 699461

Summary: httpd missing mod_imagemap.so
Product: [Fedora] Fedora Reporter: Rick Greene <rickg>
Component: httpdAssignee: Joe Orton <jorton>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 14CC: jorton, pahan, vinnie
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-30 10:06:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Rick Greene 2011-04-25 18:15:41 UTC
Description of problem:
httpd install from Fedora 14 does not include mod_imagemap.so

Version-Release number of selected component (if applicable):


How reproducible: try to start httpd after adding the following to /etc/httpd/conf/httpd.conf:
LoadModule imagemap_module modules/mod_imagemap.so


Steps to Reproduce:
1. Install Fedora 14, install httpd
2. Add "LoadModule imagemap_module modules/mod_impagemap.so
3. service httpd start
  
Actual results:
Starting httpd: httpd: Syntax error on line 150 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_imagemap.so into server: /etc/httpd/modules/mod_imagemap.so: cannot open shared object file: No such file or directory

Expected results:
httpd starts successfully

Additional info:
According to the Apache changelong (from http://www.apache.org/dist/httpd/CHANGES_2.2), the mod_imagemap.so was last touched in 2.2.7, where a security issue was addressed.
According to the Fedora changelog (from "rpm -ql --changelog httpd"), it had a different security issue addressed in 2.2.0-5, and then was removed in 2.2.8-2

Note: the documentation for mod_imagemap is still included in the httpd-manual package

Comment 1 Joe Orton 2011-04-26 09:08:37 UTC
Are you reporting this because you actually want to use mod_imagemap, or because an existing config you had no longer works?

We have not shipped mod_imagemap since May 2008 (Fedora 9).

Comment 2 Rick Greene 2011-04-26 11:31:09 UTC
I'm upgrading from a Fedora 8 machine to Fedora 14, hence not realizing it hadn't been shipped for so long.

I do use this feature, and the httpd.conf file from the old release fails on this and several other modules.

Comment 3 Joe Orton 2011-04-26 11:57:32 UTC
You can build the module from upstream sources easily enough:

# curl 'http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/modules/mappers/mod_imagemap.c?view=co' > mod_imagemap.c
# apxs -cia mod_imagemap.c

It was expected the number of people using this module was vanishingly small and hence it was not worth shipping any more; client-side image maps being all the rage since the mid 90's.  You're the first person to notice it being removed in three years - or at least the first who bothered to tell us!

Out of interest, do you have clients which don't support client-side image maps, or is it legacy support which you want to maintain?

Comment 4 Rick Greene 2011-04-26 12:15:53 UTC
I've never compiled a module for Apache before, I will give it a try.

The website I maintain has had a world map with clickable countries implemented via mod_imagemap for years, I guess the hosting company has kept that module up to date themselves (and I'm not sure which distro they are on).

My server (that I'm in the process of upgrading/replacing) is an in-house development environment for the live website, so I'm trying to maintain the same set of features.

To be honest, I've never heard of client-side image maps before, can you point me to a good how-to on it so I can investigate?  As far as client support, I try to keep my web pages pretty generic so any browser will work, what are the limitations of client-side image maps?

Comment 5 Joe Orton 2011-04-26 12:43:20 UTC
Web browsers have supported client-side image maps for at least a decade, this area of HTML is well very established and universally supported.

Here's the link to the HTML syntax:

http://www.w3.org/TR/html401/struct/objects.html#h-13.6

Google will find you plenty of howtos :)

Comment 6 Rick Greene 2011-04-26 13:00:35 UTC
This is what you get when you are self-taught...you miss a lot of these things when you don't go looking for them.

I will work on migrating towards that.  Personally I'd still call this a bug since Apache still lists it in the documentation as a module it expects to see, but I understand the logic of not including it in this distro.

I would suggest two things to help the next person (if any) who bumps into this:  1) remove the mod_imagemap documentation from the httpd-manual package
2)add the following lines to the default httpd.conf file provided with the httpd package:

#The mod_imagemap module is no longer provided with Fedora, recommend using
#  client-side image maps or obtain the source from Apache and compile it
#LoadModule imagemap_module modules/mod_imagemap.so

Of the two suggestions, #1 is I think the most important.

Thanks for the assist!

Comment 7 Joe Orton 2012-04-30 10:06:48 UTC
A single request for mod_imagemap in four years -> this module isn't coming back.

Comment 8 Wayne Cripps 2012-09-01 21:06:03 UTC
I also use use mod_imagemap for an old project that is still running!