>- see footer for list info -< Just to clarify what I told you on MSN. As i understand Your using virtual directories currently to determine which site is being visited, as all vdir's point to the root of the site it's all the same site.
So if someone visits www.mysite.com/client1 It delivers the site customise for client style So if someone visits www.mysite.com/client2 It delivers the site customise for client2 style In which case, you do not need to use virtual directories to do this. You can just use standard directories. Here is an example. Create a folder for each site/client. In that folder put a blank index.cfm This will then caus ethe application.cfm in the root of your site to be loaded. In the application.cfm, you just check which directory was requested from the SCRIPT_NAME cgi variable, and customise your site based on that, then redirect back to the root o fthe site. E.g. <cfif script_name contains "/client1"> Do your site customisation stuff] <cflocation url="/index.cfm" addtoken="no"> </cfif> -- Russ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lee Fortnam Sent: 09 February 2006 10:42 To: 'Coldfusion Development' Subject: RE: [CF-Dev] Easy CFHTTP (for someone anyway) >- see footer for list info -< Thanks Matt, Have just been speaking to Russ (Snake) on MSN and it looks like this is one where I will just have to do it manually, no major problem, just curious about it. This that might work if it was .htaccess that was being used to control the username and password login but not through a form. Thanks anyway. Lee Fortnam [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Horn Sent: 09 February 2006 10:39 To: Coldfusion Development Subject: Re: [CF-Dev] Easy CFHTTP (for someone anyway) >- see footer for list info -< Hi Dunno if this will work but you could try http://username:[EMAIL PROTECTED] Lee Fortnam wrote: >>- see footer for list info -< >> >> >Morning All, > >Just wondering if anyone knows of a way to use something like CFHTTP to >perform a 2 stage process to another site, i.e. login to the site >(normally done using a form on the site) by sending the correct >username and password to the form receiving page, once the form has >been submitted perform another action which is only available once >logged into the site. > >Effectively what I am trying to do is log into the HELM interface at >CFMX and then perform a specific action which would normally require my >manual intervention, hope you don't mind this Russ, let me know if this >is a no no from day one. I am sure there is a way to maintain a state >when using something like this but cannot find anything on it anywhere. > >Any ideas gratefully received. > >Lee Fortnam >[EMAIL PROTECTED] > >_______________________________________________ > >For details on ALL mailing lists and for joining or leaving lists, go >to http://list.cfdeveloper.co.uk/mailman/listinfo > >-- >CFDeveloper Sponsors:- > > >>- Hosting provided by www.cfmxhosting.co.uk -< >>- Forum provided by www.fusetalk.com -< >>- DHTML Menus provided by www.APYCOM.com -< >>- Lists hosted by www.Gradwell.com -< >>- CFdeveloper is run by Russ Michaels, feel free to volunteer your >>help -< >> >> > > > > _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help >-< _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help >-< _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
