----- Original Message ----- From: "Will Tomlinson" <[email protected]> To: "cf-talk" <[email protected]> Sent: Saturday, February 07, 2009 10:21 AM Subject: Need ISAPI rewrite help...
> > I'm attempting my first SES URL rewriting with the IIS ISAPI filter, and > having a few problems. > > I wanted to process .html files as .cfm's. That part seems to work, You know you don't have to use a rewrite tool to do that - you can just map the .html extension to CF in IIS. > but I have another rule that converts /EID/993 to ?EID=993 > > My URL var doesn't seem to be seen on the action page. > > http://staging.ac100.org/calendarDetails.html?/EID/935 Wouldn't the goal be to eliminate the ? completely from your URLs? http://staging.ac100.org/calendarDetails.html/EID/935 > I dump the value of URL.EID, and it's 0, which I had <cfparam>'d. > > Here are my rewrite rules in httpd.ini. Thanks for any help someone > could offer. > > RewriteRule (.*)/(.*)\.html(.*) /$2.cfm [I] > > #Convert SES URLs to standard URLs before passing them to ColdFusion > RewriteRule (.*?\.cfm)(\?[^/]*)?/([^/]*)/([^/]*)(.+?)? > $1(?2$2&:\?)$3=$4?5$5: [N,I] > RewriteRule (.*?\.cfc)(\?[^/]*)?/([^/]*)/([^/]*)(.+?)? > $1(?2$2&:\?)$3=$4?5$5: [N,I] I think you might need to use the .html extension. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319020 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

