Thanks, Cliff and Ben. > Cliff may have a good point -- I'd definitely at least try that. I'm > tending to think that what you're seeing is the external redirect that > Apache is doing for the trailing-slash. Have you tried accessing the > site using the trailing slash (or even going directly to /index.cfm) to > see if it's having the same effect?
I have always done this for those situations where you have more than one site under the same domain eg. 'www.nameofsite.co.uk' and 'support.nameofsite.co.uk' and you only want one of them to be accessible should someone just type 'nameofsite.co.uk' Have done a quick Google search and it seems valid but am not certain! I have tried accessing the site just using 'index.cfm' and it still does the multiple hits.... arghh! > If you're not using relative path links on the index.cfm page for > images/hrefs, then you might be able to override the external redirect > behavior. Google "mod rewrite" or "trailing slash Apache" and you'll > find: > http://httpd.apache.org/docs/2.0/misc/rewriteguide.html > > Which has a small section on trailing-slash redirects (how to put them > in httpd.conf): > RewriteEngine on > RewriteBase /~quux/ > RewriteRule ^foo$ foo/ [R] > > How exactly you would do this for the root directory, I am not 100% > certain (not having needed to previously do this myself), however if you > leave off the "[R]" bit, it should *not* externally force the browser to > redirect... but the browser will think that it is in the right spot, and > any relative links will be off. > > YMMV, but I hope this helps. Thanks for this. We are still running 1.3.x but next month are planning on upgrading to 2.x and MX 7 and perhaps the problem will then disappear. It's very odd. If we ever find the cause, I'll post it up just in case anyone else experiences a similar issue. Happy Xmas! Matt ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:14:4103 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
