Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!gatech!howland.reston.ans.net!Germany.EU.net!ieunet!news.tcd.ie!jfarrell From: Just.Farrell@cs.tcd.ie (Justin Farrell) Subject: Problems with imagemaps under Cern httpd 2.0 package Message-ID: <DCHKwA.C4B@news.tcd.ie> Sender: usenet@news.tcd.ie (TCD News System ) Organization: Applied Information Systems Group, Dept. of Computer Science, Trinity College Dublin. X-Newsreader: News Xpress Version 1.0 Beta #4 Date: Sat, 29 Jul 1995 16:37:24 GMT Lines: 53 Hi, Sorry if this isn't the place to dicuss it but I thought my problem may be specific to the FreeBSD pre-compiled (package) version of Cern 3.0 httpd for FreeBSD 2.0R. I set up the www.tgz package using pkg_add and then setup the httpd.conf file according to the help pages for httpd 3.0 at cern. The error I keep getting is: Error Error calling HTImage: HTImage.c: Syntax error at line 1 Bad field name, expecting 'default', 'rectangle', 'circle' or 'polygon' (got an alphanumeric string) I have the following directives in httpd.conf : Exec /htbin/* /usr/local/etc/cern_httpd_3.0/www/htbin/* Map /images/* /usr/local/etc/imagemaps/* and I refernce it from the HTML page with : <A HREF="/htbin/htimage/images/frontpage.conf" > <IMG src ="small.gif" alt="" border=1 ISMAP > the image map conf file contains the following : default http://earl.cs.tcd.ie/ rect (6,7) (119,107) http://www.cs.tcd.ie/ I was just wondering if anyone else had a similar problem with the htimage binary? - it seems to run fine I have run it from the csh. Originally I thought I had been mucking up the imagemap's conf file so to make sure I got down the mapedit program and used it to create the frontpage.conf file. I also tried referencing the imagemap conf file directly thus ignoring the Map directive above and still no joy - just the same error. Also moved htimage from /htbin to /cgi-bin and ran it from there - same error occurred. I must be doing something silly - any help would be appreciated. Justin. -------------------------------- Justin Farrell, Department of Computer Science, Trinity College Dublin. Email : "Justin.Farrell@cs.tcd.ie"