Dale, This might be ompletely useless to you but...
In apache I trap 404 and 403 errors and redirect them to a .cfm that decodes the URL and takes appropriate action. But I don't know if you can you do this is IIS? An example apache 'virtualhost' for such a thing would be: <VirtualHost 127.0.0.1> ServerName yoursite DocumentRoot "c:\content\yoursite" ErrorDocument 403 /index.cfm ErrorDocument 404 /index.cfm CustomLog logs/yoursite.log common </VirtualHost> What happens is that URLs like http://yoursite/yourpage get redirected to index.cfm (because 'yourpage' doesn't exist) which then extracts 'yourpage' from the URL and gets the content from the database. In your case I imagine that you would be looking at the form variables and making processing decisions appropriately - and I'm assuming that form variables will get passed through... Anyway, hope that helps... Cheers, Brett B) Dale Fraser wrote: > Ok, > > > > The client software posts data to > > http://phoenix.cogmel.office/phoenixapp/comms > <http://phoenix.cogmel.office/phoenixapp/comms> > > Now comms is a servlet, not a directory, so this gets received by a java > servlet. > > I want to replace this servlet with a coldfusion version. I can not > change the client, so the url must remain the same. > > How can I map > > http://phoenix.cogmel.office/phoenixapp/comms > <http://phoenix.cogmel.office/phoenixapp/comms> > > to a .cfm > > I've tried using virtual directories and the like, but the client is > doing dumb http posts and does not follow redirects or similar. > > Regards > Dale Fraser > > ------------------------------------------------------------------------ > > *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Guennadi Moukine > *Sent:* Tuesday, 2 May 2006 14:29 PM > *To:* cfaussie@googlegroups.com > *Subject:* [cfaussie] Re: HTTP Error 405 > > > > some servers reject posts submitted to a non cgi script. eg., if you > submit a form to a html page. > > > > ------------------------------------------------------------------------ > > *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Dale Fraser > *Sent:* Tuesday, May 02, 2006 12:19 PM > *To:* cfaussie@googlegroups.com > *Subject:* [cfaussie] Re: HTTP Error 405 > > How would I check / change this. > > > > I’m using IIS 6 Windows 2003. > > Regards > Dale Fraser > > ------------------------------------------------------------------------ > > *From:* cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Blair McKenzie > *Sent:* Tuesday, 2 May 2006 14:10 PM > *To:* cfaussie@googlegroups.com > *Subject:* [cfaussie] Re: HTTP Error 405 > > > > It's possible your server only accepts form submissions from it's own > domain. > > Blair > > On 5/2/06, *Dale Fraser* < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > wrote: > > Hi, > > > > I have a piece of client software that http posts some data, I'm trying > to interface with it with no luck. It returns an error 405 > > > > Here is the logfile entry > > > > 2006-05-02 03:50:42 192.168.91.126 <http://192.168.91.126> POST > /phoenixapp/comms - 80 - 192.168.91.100 <http://192.168.91.100> - 405 0 0 > > > > If I browse to post url page or post to it from another page, it works > fine. I've read up on 405 and they seem to be suggesting that the page > isn't allowed to accept posts. > > > > Can someone shed some light on this error and why it might be happening. > > Regards > Dale Fraser > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~----------~----~----~----~------~----~------~--~---