Sorry. Yes, multiple entries in the Apache logs: For example, a query to the home page results in:
[start of log] x.x.x.x - - [30/Nov/2005:16:20:49 +0000] "GET / HTTP/1.1" 200 5663 "-" "Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5" [then entries for rest of the site css, js, images etc] x.x.x.x - - [30/Nov/2005:16:20:58 +0000] "GET / HTTP/1.1" 200 5663 "http://www.name-of-site.co.uk/" "Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5" x.x.x.x - - [30/Nov/2005:16:20:58 +0000] "GET / HTTP/1.1" 200 5663 "http://www.name-of-site.co.uk/" "Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5" x.x.x.x - - [30/Nov/2005:16:20:58 +0000] "GET / HTTP/1.1" 200 5663 "http://www.name-of-site.co.uk/" "Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5" x.x.x.x - - [30/Nov/2005:16:20:59 +0000] "GET / HTTP/1.1" 200 5663 "http://www.name-of-site.co.uk/" "Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5" x.x.x.x - - [30/Nov/2005:16:20:59 +0000] "GET / HTTP/1.1" 200 5663 "-" "Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.9) Gecko/20050711 Firefox/1.0.5" [end of log] So, it starts with a referrer of "-"; ends with a referrer of "-", and then puts in several entries with a referrer containing the URL. Very annoying as it throws the stats system totally wrong! Matt > Perhaps I missed it in your narrative, but what do Apache's own logs > say? > --Ben > > > -----Original Message----- > From: Matthew Smith [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 30, 2005 7:30 AM > To: CF-Linux > Subject: Apache/CFMX/RHEL Problem > > Dear All, > > We have a very odd problem occuring with an Apache/CFMX/RHEL setup and > would appreciate any ideas as to the potential cause. > > Background is as follows: > > We are running some page logging code on a Fusebox 3 site. The logging > code is basically a sql insert query held within an application scoped > cfc method. > > When a page is requested fusebox builds the page and then inserts the > content into a layout file containing the header, footer and navigation > elements. The logging code is also in this layout file so that it is > only called once per page request. It logs basic stuff available from > the cgi vars as well as circuit, fuseaction and page id details. > > We noticed that the page views for the home page (index.cfm or > index.cfm?fuseaction=home.index) were considerably higher than other > pages. On further investigation it appears that something strange is > happening that results in between 2 and 4 additional log entries being > made. These 'extra' > page views show up about 1 or 2 seconds after the initial page request. > > When cf debug is switched on we see the insert query happens only once > and the logid (a UUID from the CreateUUID() func)is that of the first > log entry for that page request. The additional log entries share all > of the same information apart from the UUID, logdate (datetime) which > will be 1 or 2 secs after the original log entry and the referrer (see > below)? > > The site is run on RHEL 2.1 using CFMX 6.1 and Apache 1.3.x. When the > site is run on a dev machine running XP Pro, CFMX 6.1 and IIS only 1 log > entry is seen per page request. > > Therefore: > > 1. What is causing the multiple hits for the home page and why do we not > see it happening under Windows? > > 2. Is apache looping the request internally but only outputting the > first response from CF to the browser? > > 3. If coldfusion was looping then we should see the last log entry in > the debug not the first? > > 4. The other strange thing which may help pinpoint the problem is that > when the page is visited by typing the address in browser (no referrer) > you see this log entry (as the first one) with no referrer. The > additional hits contain a referrer url that matches what was typed into > the browser. > > All very odd. Any ideas would be very much appreciated. > > Many thanks, > > > Matt. > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:14:4081 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/14 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:14 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
