Hey all, we are using URL rewriting on a site and pages are being run twice.
This is messing up some logging scripts.

Here is the .htaccess file:

RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !CFFileServlet
RewriteRule ^(.*)? /_request.cfm?rule=2&requestedPath=$1 [L]

Which says, if the file or directly doesn't exist and it's not a call to
ColdFusion's file servlet, push the request through to _request.cfm.

Any ideas on which direction I need to take to stop this from happening. I'm
having a look at the R=301 flag but no luck so far.

Thanks.

Adrian Lynch
www.halestorm.co.uk
www.adrianlynch.co.uk


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312433
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to