So I'm trying out modrewrite on apache/linux.

I want to turn *ALL* instances of the following:

http://url.rickroot.com/12345

to

http://url.rickroot.com/index.cfm?id=12345

so here's what I've added to my httpd config.

RewriteEngine on
RewriteLog /home/rickroot/logs/rewrite_log
RewriteLogLevel 1
RewriteRule (.*) /index.cfm?id=$1 [L]

In my index.cfm for testing, I did just a <cfoutput>#id#</cfoutput>

So *SOME* urls seem to be working:

http://url.rickroot.com/nothere.cfm

But urls like this do NOT work:

http://url.rickroot.com/nothere.html
http://url.rickroot.com/12345

These urls generate a Forbidden error.

What am I doing wrong?

-- 
CFMBB - Coldfusion Message Boards, Version 1.21 Now Available!
http://www.cfmbb.org

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277835
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