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
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
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
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
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
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
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
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/
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
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
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
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 in
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
You forgot the CGI scope on the second condition here:
cfif #CGI.SERVER_NAME# CONTAINS www.morel.ca AND #SCRIPT_NAME#
CONTAINS /tasty/
cflocation url=/products/index.cfm?n1Id=1n2Id=7 addtoken=no
/cfif
Should be CGI.SCRIPT_NAME
Greg
On Mon, Jan 26, 2009 at 10:31 AM, Greg Luce
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
15 matches
Mail list logo