|
Code Protection Under Cold Fusion
Next articles: Cloaking Meta Tags - (rt) This short tutorial will cover the cloaking of web page meta tags, which follows a different procedure than the IP delivery and full page cloaking...
Ten Basic Steps for Building a Click-ready Web Site - 1) Assemble a web site development plan that is integrated with your overall marketing processes; the content should be consistent with offline materials...
Module mod_rewrite: Rewriting URLs With Query Strings - The Apache server's module mod_rewrite is typically used to rewrite one URL to turn it into another one...
The Wisenut Framejob - Freshly launched new Google contender Wisenut has met with a good deal of preliminary applause: to date, the media buzz has focused on their lean-and-mean, no-frills...
To WAP or Not to WAP - WAP: "Wireless Application Protocol (WAP) is an open, global specification that empowers mobile users with wireless devices to easily access and interact...
|
by Ralph Tegtmeier
By default, Cold Fusion poweredn sites won't allow for .htaccess functionality which makes it difficult to impossible employing SSIs to protect your meta tag and other code.
The following workaround was contributed by Pam of < http://www.AspenTradingPost.com/ > AspenTradingPost.com is an award winning Internet Store for Gifts, Jewelry, Dream Catchers, Animal Design Items, Native American Indian made items, Flute and Drumming Music & More... Proceeds from every purchase help save threatened animals, rainforests, land and more. Thanks a heap, Pam!
<CFSET aList = "#CGI.HTTP_USER_AGENT#"> <CFSET BrowserPlug = rereplacenocase(aList,"Mozilla|MSIE|Opera|Lynx|WebTV|NCSA Mosaic)","ASPEN","ALL")> <HTML> <HEAD> <TITLE>Put your title here</TITLE> <META HTTP-EQUIV="Content-Type" CONTENT="Text / html Charset=iso-8859-1">
<CFIF FindNoCase(#BrowserPlug#, "ASPEN")>
<META NAME="keywords" CONTENT="your protected keywords go here">
</CFIF>
<META NAME="description" CONTENT="your description goes here "> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT ="#C0C0C0" LINK="#408080">
<!- More protected code here ->
<CFIF FindNoCase(#BrowserPlug#, "ASPEN")> put keywords or code between these tags </CFIF>
Ralph Tegtmeier is the co-founder and principal of fantomaster.com Ltd. (UK) and fantomaster.com GmbH (Belgium), a company specializing in webmasters software development, industrial-strength cloaking and search engine positioning services. He has been a web marketer since 1994 and is editor-in-chief of fantomNews, a free newsletter focusing on search engine optimization, available at: < http://fantomaster.com/fantomnews-sub.html > You can contact him at mailto:fneditor@fantomaster.com (c) copyright 2000 by fantomaster.com
|
Link to this article, just copy and paste following code:
<a href=http://www.torroid.com/article1228.html>Code Protection Under Cold Fusion</a>
|
Article viewed 416 time(s). Read more: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | |