You might be right in your assumption (or not), but I've definitely
written custom ISAPI filters in C++ to rewrite urls and that does work
for POSTs.  It's not trivial, but "all" you have to do is subclass
CHttpFilter and handle the OnPreprocHeaders() method.

-----Original Message-----
From: Russ [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 03, 2006 11:59 AM
To: CF-Talk
Subject: RE: IIS vs. Apache again...

So nobody has an answer for this?  Am I right to assume that there is no
way to set up a 404 handler in IIS and allow it to accept posts?

Russ

-----Original Message-----
From: Russ [mailto:[EMAIL PROTECTED]
Sent: Monday, January 02, 2006 2:53 AM
To: CF-Talk
Subject: IIS vs. Apache again...

I'm trying out the CF on Wheels framework, and it's showing real
promise.
I've got it running perfectly under Apache, but I can't seem to get it
to run under IIS.  It requires mod_rewrite under apache, and I've tried
all the ISAPI plugins I can find for IIS that simulate it, but none come
even close.
One of the lines in the config file is 

 

RewriteCond %{REQUEST_FILENAME} !-f

RewriteRule ^(.*)$
dispatch.cfc?method=dispatch&cf_request=%{REQUEST_URI}
[QSA,L]

 

Which basically sets up a 404 handler.  I couldn't find similar
functionality in any of the MOD_REWRITE clones for IIS.  Specifically
the
!-f part.   Now, I tried setting up a 404 handler in IIS, and then pass
the
url to the dispatch.cfc, and it works ok for GET, but doesn't work for
POST.


 

So what happened to IIS being better than or as good as Apache?  It
can't even handle a simple 404 rewrite.  Or is it just me?

 

Russ







~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228246
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to