If anyone looks at those URLS.. pretend I said this instead:

http://url.rickroot.com/u/12345

And pretend I said my rewrite url is actually this:

RewriteRule ^\/u\/(.*) /index.cfm?id=$1 [L]

I still get "forbidden" anytime I try to access a URL that wouldn't
normally be handled by coldfusion.. it's a JRun Servlet Error
forbidden though, not your usual apache forbidden.

Rick

On 5/11/07, Rick Root <[EMAIL PROTECTED]> wrote:
> 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
>


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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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

Reply via email to