If you write it yourself then the answer will be yes.   Having said
that, it sounds like a real pain in the butt to write, since the
preprocessheaders call doesn't know where the incoming url will
ultimately map to on disk, so checking for the file means figuring all
that out, and I wouldn't want to have to do it.  Yeah, that does make it
tougher...
        Mark

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

Yes, but does it allow you to do -f (basically check if the file
exists?)  I haven't found any commercial ISAPI filters that support
this... 

-----Original Message-----
From: Gaulin, Mark [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 03, 2006 12:24 PM
To: CF-Talk
Subject: RE: IIS vs. Apache again...

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:228270
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to