Re: redirect question SERVER_NAME script_name

2009-01-30 Thread Paul Ihrig
yeah have full access. its iis On Tue, Jan 27, 2009 at 4:49 PM, Mark Pederson m...@netgoofy.com wrote: Hey Mark. could you please explain how you implemented the ISAPI re-write. Well I guess it depends on a few things. Do you have access to the web server? What is it running? In my case

Re: redirect question SERVER_NAME script_name

2009-01-27 Thread Paul Ihrig
hey guys looks like Missing Template Handler points to 404.cfm in cf admin which was causing it to ignore #CGI.SCRIPT_NAME# if there was no folder and no index.cfm how can i override the cfadmin missing template handler? cfif #CGI.SERVER_NAME# CONTAINS morel.com AND #CGI.SCRIPT_NAME# CONTAINS

Re: redirect question SERVER_NAME script_name

2009-01-27 Thread Mark Pederson
I had the same problem and ended up using ISAPI re-write to do the job. The request is redirected before it gets processed by CF at the web server level. I initially was just creating the folder and puttinbg in an index.cfm with the re-direct, but it got ugly real fast. You could also possibly

Re: redirect question SERVER_NAME script_name

2009-01-27 Thread Paul Ihrig
Hey Mark. could you please explain how you implemented the ISAPI re-write. i did do cfif #cgi.QUERY_STRING# CONTAINS product=tasty which worked just fine. but the guy wanted morels.com/tasty for add placement, he says its easier for user to type in the morels.com?product=tasty so yeah, it makes

Re: redirect question SERVER_NAME script_name

2009-01-27 Thread Mark Pederson
Hey Mark. could you please explain how you implemented the ISAPI re-write. Well I guess it depends on a few things. Do you have access to the web server? What is it running? In my case I have full control of the IIS servers and used Ionic Isapi rewriter http://www.codeplex.com/IIRF I just

redirect question SERVER_NAME script_name

2009-01-26 Thread Paul Ihrig
hey guys.. trying to set up a ton of redirects in application.cfm they don't seem to be working. i want if url is www.morel/tasty/ to goto a addy... cfif #CGI.SERVER_NAME# CONTAINS www.morel.com/tasty/ cflocation url=/products/index.cfm?n1Id=1n2Id=7 addtoken=no /cfif not sure if i

RE: redirect question SERVER_NAME script_name

2009-01-26 Thread Adrian Lynch
question SERVER_NAME script_name hey guys.. trying to set up a ton of redirects in application.cfm they don't seem to be working. i want if url is www.morel/tasty/ to goto a addy... cfif #CGI.SERVER_NAME# CONTAINS www.morel.com/tasty/ cflocation url=/products/index.cfm?n1Id

Re: redirect question SERVER_NAME script_name

2009-01-26 Thread Casey Dougall
On Mon, Jan 26, 2009 at 10:12 AM, Paul Ihrig pih...@gmail.com wrote: hey guys.. trying to set up a ton of redirects in application.cfm they don't seem to be working. i want if url is www.morel/tasty/ to goto a addy... cfif #CGI.SERVER_NAME# CONTAINS www.morel.com/tasty/

Re: redirect question SERVER_NAME script_name

2009-01-26 Thread Paul Ihrig
nm... cfif #CGI.SERVER_NAME# CONTAINS www.morel.ca AND #SCRIPT_NAME# CONTAINS /tasty/ cflocation url=/products/index.cfm?n1Id=1n2Id=7 addtoken=no /cfif On Mon, Jan 26, 2009 at 10:12 AM, Paul Ihrig pih...@gmail.com wrote: hey guys.. trying to set up a ton of redirects in application.cfm

Re: redirect question SERVER_NAME script_name

2009-01-26 Thread Casey Dougall
On Mon, Jan 26, 2009 at 10:23 AM, Paul Ihrig pih...@gmail.com wrote: nm... cfif #CGI.SERVER_NAME# CONTAINS www.morel.ca AND #SCRIPT_NAME# CONTAINS /tasty/ cflocation url=/products/index.cfm?n1Id=1n2Id=7 addtoken=no /cfif I'd still do that in a cfswitch instead, and get rid of www

Re: redirect question SERVER_NAME script_name

2009-01-26 Thread Jason Fisher
cgi.server_name will only give you the www.morel.com part, so you'll need to look at parts of cgi.sript_name as well to get subdir's ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the

Re: redirect question SERVER_NAME script_name

2009-01-26 Thread Greg Luce
Yeah, SERVER_NAME is only going to have the server name, not the subdirectory. You'll have to look at CF_TEMPLATE_PATH or PATH_TRANSLATED I think to find tasty. Greg On Mon, Jan 26, 2009 at 10:12 AM, Paul Ihrig pih...@gmail.com wrote: hey guys.. trying to set up a ton of redirects

Re: redirect question SERVER_NAME script_name

2009-01-26 Thread Paul Ihrig
man.. this only works if there is a folder called /tasty/ i need it to work with out the folder being there., On Mon, Jan 26, 2009 at 10:23 AM, Paul Ihrig pih...@gmail.com wrote: nm... cfif #CGI.SERVER_NAME# CONTAINS www.morel.ca AND #SCRIPT_NAME# CONTAINS /tasty/ cflocation

Re: redirect question SERVER_NAME script_name

2009-01-26 Thread Greg Luce
...@gmail.com wrote: Yeah, SERVER_NAME is only going to have the server name, not the subdirectory. You'll have to look at CF_TEMPLATE_PATH or PATH_TRANSLATED I think to find tasty. Greg On Mon, Jan 26, 2009 at 10:12 AM, Paul Ihrig pih...@gmail.com wrote: hey guys.. trying to set up a ton

Re: redirect question SERVER_NAME script_name

2009-01-26 Thread Paul Ihrig
ok. it dosnt work if there is no folder on the server called tasty CGI.SCRIPT_NAME it does work if there is a folder. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

RE: Server_Name

2000-03-29 Thread Ron Anderson
very reliable. I use for over 20 URLs doing the same thing, then I set a SiteID variable. -Original Message- From: John Bowering [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 29, 2000 12:40 PM To: [EMAIL PROTECTED] Subject: Server_Name Has anyone had any problems relying

RE: Server_Name

2000-03-29 Thread Ron Anderson
ins "shirleywolcoski" cfset rootdir = "/shirleywolcoski" Then all other paths are relative to the rootdir variable. Seems to work well, no caveats...yet. -Original Message- From: Pete Freitag [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 29, 2000 1:12 PM To: [EMAIL P

Re: Server_Name

2000-03-29 Thread Eric Dawson
not sure. but I think older browsers don't pass the server_name, but I think it is simple enough to put up a front door. ie. index.html displays link:domain1 link:domain2 from then on they browse www.domain1.com/domain1/index.html how much traffic are your sites pushing through? ?? Does