Adobe take over a MONTH to advise me my credit card details are stolen
We all heard about the Adobe security disaster here, but finally now, OVER A MONTH later, Adobe have finally got around to informing me that my credit card info and other details were stolen, possibly creating an identity theft issue for me. And they thought so much about it, and were SO concerned for my security, they didnt even bother to sign the letter. I have my email address on file because I'm a Creative Cloud subscriber, but did they send me a warning that way? NO! Merely sent a letter by snail mail on 13 October and couldn't even put a name to the person sending it. I dont have many complimentary words for these *^$#@@s. -- Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357136 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Adobe take over a MONTH to advise me my credit card details are stolen
My bank (Bank Of America) preemptively sent me a new card with a letter stating that my old card's numbers may have been stolen from a vendor I've used in the past. No letter from Adobe yet. On Tue, Nov 26, 2013 at 7:07 AM, Mike K afpwebwo...@gmail.com wrote: We all heard about the Adobe security disaster here, but finally now, OVER A MONTH later, Adobe have finally got around to informing me that my credit card info and other details were stolen, possibly creating an identity theft issue for me. And they thought so much about it, and were SO concerned for my security, they didnt even bother to sign the letter. I have my email address on file because I'm a Creative Cloud subscriber, but did they send me a warning that way? NO! Merely sent a letter by snail mail on 13 October and couldn't even put a name to the person sending it. I dont have many complimentary words for these *^$#@@s. -- Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357137 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Adobe take over a MONTH to advise me my credit card details are stolen
I received a letter stating my information might have been compromised and offered me one year of credit monitoring for free. Sent from my iPhone 4S. On Nov 26, 2013, at 7:20 AM, John M Bliss bliss.j...@gmail.com wrote: My bank (Bank Of America) preemptively sent me a new card with a letter stating that my old card's numbers may have been stolen from a vendor I've used in the past. No letter from Adobe yet. On Tue, Nov 26, 2013 at 7:07 AM, Mike K afpwebwo...@gmail.com wrote: We all heard about the Adobe security disaster here, but finally now, OVER A MONTH later, Adobe have finally got around to informing me that my credit card info and other details were stolen, possibly creating an identity theft issue for me. And they thought so much about it, and were SO concerned for my security, they didnt even bother to sign the letter. I have my email address on file because I'm a Creative Cloud subscriber, but did they send me a warning that way? NO! Merely sent a letter by snail mail on 13 October and couldn't even put a name to the person sending it. I dont have many complimentary words for these *^$#@@s. -- Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357138 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Adobe take over a MONTH to advise me my credit card details are stolen
Really? I received my letter a month ago, and three separate emails the week that the breach was announced, each informing me that I must reset my password, and explaining why. In fact, they immediately reset the password of every account affected. Did you not have to change your password? Did you not get those early missives warning you of the breach? Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 11/26/2013 6:07 AM, Mike K wrote: We all heard about the Adobe security disaster here, but finally now, OVER A MONTH later, Adobe have finally got around to informing me that my credit card info and other details were stolen, possibly creating an identity theft issue for me. And they thought so much about it, and were SO concerned for my security, they didnt even bother to sign the letter. I have my email address on file because I'm a Creative Cloud subscriber, but did they send me a warning that way? NO! Merely sent a letter by snail mail on 13 October and couldn't even put a name to the person sending it. I dont have many complimentary words for these *^$#@@s. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357139 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Adobe take over a MONTH to advise me my credit card details are stolen
I received emails stating that my password may have been stolen. Nothing about card number. Why would Adobe have been storing my entire card number anyway? I'm pretty sure that's just bad infosec. On Tue, Nov 26, 2013 at 7:40 AM, Steve 'Cutter' Blades cold.fus...@cutterscrossing.com wrote: Really? I received my letter a month ago, and three separate emails the week that the breach was announced, each informing me that I must reset my password, and explaining why. In fact, they immediately reset the password of every account affected. Did you not have to change your password? Did you not get those early missives warning you of the breach? Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 11/26/2013 6:07 AM, Mike K wrote: We all heard about the Adobe security disaster here, but finally now, OVER A MONTH later, Adobe have finally got around to informing me that my credit card info and other details were stolen, possibly creating an identity theft issue for me. And they thought so much about it, and were SO concerned for my security, they didnt even bother to sign the letter. I have my email address on file because I'm a Creative Cloud subscriber, but did they send me a warning that way? NO! Merely sent a letter by snail mail on 13 October and couldn't even put a name to the person sending it. I dont have many complimentary words for these *^$#@@s. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357140 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Adobe take over a MONTH to advise me my credit card details are stolen
Same here John. Emails stating that my password might have been compromised as well. Bruce On Nov 26, 2013, at 7:44 AM, John M Bliss bliss.j...@gmail.com wrote: I received emails stating that my password may have been stolen. Nothing about card number. Why would Adobe have been storing my entire card number anyway? I'm pretty sure that's just bad infosec. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357141 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Adobe take over a MONTH to advise me my credit card details are stolen
Because your CC subscription is a revolving subscription? Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 11/26/2013 6:44 AM, John M Bliss wrote: I received emails stating that my password may have been stolen. Nothing about card number. Why would Adobe have been storing my entire card number anyway? I'm pretty sure that's just bad infosec. On Tue, Nov 26, 2013 at 7:40 AM, Steve 'Cutter' Blades cold.fus...@cutterscrossing.com wrote: Really? I received my letter a month ago, and three separate emails the week that the breach was announced, each informing me that I must reset my password, and explaining why. In fact, they immediately reset the password of every account affected. Did you not have to change your password? Did you not get those early missives warning you of the breach? Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 11/26/2013 6:07 AM, Mike K wrote: We all heard about the Adobe security disaster here, but finally now, OVER A MONTH later, Adobe have finally got around to informing me that my credit card info and other details were stolen, possibly creating an identity theft issue for me. And they thought so much about it, and were SO concerned for my security, they didnt even bother to sign the letter. I have my email address on file because I'm a Creative Cloud subscriber, but did they send me a warning that way? NO! Merely sent a letter by snail mail on 13 October and couldn't even put a name to the person sending it. I dont have many complimentary words for these *^$#@@s. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357142 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Adobe take over a MONTH to advise me my credit card details are stolen
It was not. Also, vendors do not need to store entire CC numbers for recurring subscription payments. IIRC, they can store last four, expiration date, number from back of card(?), and an auth token provided to them by payment processing gateway on first charge. On Tue, Nov 26, 2013 at 9:25 AM, Steve 'Cutter' Blades cold.fus...@cutterscrossing.com wrote: Because your CC subscription is a revolving subscription? Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 11/26/2013 6:44 AM, John M Bliss wrote: I received emails stating that my password may have been stolen. Nothing about card number. Why would Adobe have been storing my entire card number anyway? I'm pretty sure that's just bad infosec. On Tue, Nov 26, 2013 at 7:40 AM, Steve 'Cutter' Blades cold.fus...@cutterscrossing.com wrote: Really? I received my letter a month ago, and three separate emails the week that the breach was announced, each informing me that I must reset my password, and explaining why. In fact, they immediately reset the password of every account affected. Did you not have to change your password? Did you not get those early missives warning you of the breach? Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 11/26/2013 6:07 AM, Mike K wrote: We all heard about the Adobe security disaster here, but finally now, OVER A MONTH later, Adobe have finally got around to informing me that my credit card info and other details were stolen, possibly creating an identity theft issue for me. And they thought so much about it, and were SO concerned for my security, they didnt even bother to sign the letter. I have my email address on file because I'm a Creative Cloud subscriber, but did they send me a warning that way? NO! Merely sent a letter by snail mail on 13 October and couldn't even put a name to the person sending it. I dont have many complimentary words for these *^$#@@s. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357143 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Adobe take over a MONTH to advise me my credit card details are stolen
On Tue, Nov 26, 2013 at 8:28 AM, Bruce Sorge wrote: Same here John. Emails stating that my password might have been compromised as well. I got a few emails to various addresses. Some arrived right after the breach and others much later (a month maybe). IIRC, none were about credit card data, only about UN/PW breach. Sounds like they were not using a tokenization service and were storing the PCI directly? Odd that they would be stored in the same location as the UN/PW (assuming they are both part of the same breach). Usually vendors with Payment Card volume as high as Adobe are required to keep PCI on totally isolated systems. But then, you'd assume that about the source code that was stolen as well. So the breach was 1) authentication information AND 2) Payment Card Information AND 3) source code? Presumably all available via the same breach? Each of which should have been isolated systems. Someone got pwned. Not Adobe's finest hour. -Cameron ... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357144 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
per application settings
I am trying to set up some local mappings (CF9) and it doiesn't seem to recognize it. I have this as part of several variables that are set before the 1st function in my application.cfc... cfset this.mappings[ /cup ] = #application.cuproot#/cup For instance...when I try to access an image in a directory (the path from the root is /cup/images/image.png), I call img src=/cup/images/image.png /, instead of mapping it like i would expect it to, it just appends the server url and i get something like http://www.xxx.com/cup/images/image.pngwhen it should be http://www.xxx.com/er/cup/images/image.png. I have dumped application.cuproot and it has the appropriate value. It just seems to be ignoring the fact that i am setting up a CF mapping, If I do the mapping in cf admin...it works as expected. Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357145 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
Eric, I don't think ColdFusion mappings are involved when accessing files other than ColdFusion templates and components (.cfm and .cfc). If you look at the source of your web page in your browser, you'll probably see that the URLs are still /cup/images/image.png. The web server then prepends the server name when handling the request. You'll need to create a cup virtual directory for that host, and point it to where the mapping is pointing. If the only purpose of the mapping is for URLs to static resources, you don't even need the mapping at all. As a side note, is the application scope even available to make assignments before the onApplicationStart() function is called? Your application.cuproot variable may not even exist when the constructor is processing the cfset this.mappings... stuff (especially on first run of the application). HTH, -Carl V. On 11/26/2013 10:36 AM, Eric Roberts wrote: I am trying to set up some local mappings (CF9) and it doiesn't seem to recognize it. I have this as part of several variables that are set before the 1st function in my application.cfc... cfset this.mappings[ /cup ] = #application.cuproot#/cup For instance...when I try to access an image in a directory (the path from the root is /cup/images/image.png), I call img src=/cup/images/image.png /, instead of mapping it like i would expect it to, it just appends the server url and i get something like http://www.xxx.com/cup/images/image.pngwhen it should be http://www.xxx.com/er/cup/images/image.png. I have dumped application.cuproot and it has the appropriate value. It just seems to be ignoring the fact that i am setting up a CF mapping, If I do the mapping in cf admin...it works as expected. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357146 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
Since your image files are being served by the web server, not by Coldfusion, you will have to create a new variable to hold your image directory prefix, or you will have to create an Alias for your web server to honor. For Apache, in your VirtualHost directive for the site you would specify: Alias /cup/ /er/cup/ CF mappings are only recognized by the CF server. If youre trying to change that directory dynamically, you can serve via cfcontent. Jon On Nov 26, 2013, at 1:36 PM, Eric Roberts ow...@threeravensconsulting.com wrote: I am trying to set up some local mappings (CF9) and it doiesn't seem to recognize it. I have this as part of several variables that are set before the 1st function in my application.cfc... cfset this.mappings[ /cup ] = #application.cuproot#/cup For instance...when I try to access an image in a directory (the path from the root is /cup/images/image.png), I call img src=/cup/images/image.png /, instead of mapping it like i would expect it to, it just appends the server url and i get something like http://www.xxx.com/cup/images/image.pngwhen it should be http://www.xxx.com/er/cup/images/image.png. I have dumped application.cuproot and it has the appropriate value. It just seems to be ignoring the fact that i am setting up a CF mapping, If I do the mapping in cf admin...it works as expected. Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357147 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
So why does the mapping in CFADmin work if I set that up? That is all I am doing, just at an application level...that doesn't make sense... When CF renders the page, it should render the mapping, just like it would render a variable. Eric On Tue, Nov 26, 2013 at 12:54 PM, Jon Clausen jon_clau...@silowebworks.comwrote: Since your image files are being served by the web server, not by Coldfusion, you will have to create a new variable to hold your image directory prefix, or you will have to create an Alias for your web server to honor. For Apache, in your VirtualHost directive for the site you would specify: Alias /cup/ /er/cup/ CF mappings are only recognized by the CF server. If youre trying to change that directory dynamically, you can serve via cfcontent. Jon On Nov 26, 2013, at 1:36 PM, Eric Roberts ow...@threeravensconsulting.com wrote: I am trying to set up some local mappings (CF9) and it doiesn't seem to recognize it. I have this as part of several variables that are set before the 1st function in my application.cfc... cfset this.mappings[ /cup ] = #application.cuproot#/cup For instance...when I try to access an image in a directory (the path from the root is /cup/images/image.png), I call img src=/cup/images/image.png /, instead of mapping it like i would expect it to, it just appends the server url and i get something like http://www.xxx.com/cup/images/image.pngwhen it should be http://www.xxx.com/er/cup/images/image.png. I have dumped application.cuproot and it has the appropriate value. It just seems to be ignoring the fact that i am setting up a CF mapping, If I do the mapping in cf admin...it works as expected. Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357148 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
I am trying to set up some local mappings (CF9) and it doiesn't seem to recognize it. I have this as part of several variables that are set before the 1st function in my application.cfc... cfset this.mappings[ /cup ] = #application.cuproot#/cup For instance...when I try to access an image in a directory (the path from the root is /cup/images/image.png), I call img src=/cup/images/image.png /, instead of mapping it like i would expect it to, it just appends the server url and i get something like ColdFusion mappings are used by the ColdFusion server to locate files in the file system, for like cfinclude and CFC pathing. They've got nothing to do with URLs. You want to be setting up a web server virtual directory, so when the browser requests a file on a given URL, the web server knows where to find them. Reading this - to understand how CF / web server / client interact - might help: http://cfmlblog.adamcameron.me/2012/10/the-coldfusion-requestresponse-process.html -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357149 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
On Nov 26, 2013, at 2:11 PM, Eric Roberts ow...@threeravensconsulting.com wrote: So why does the mapping in CFADmin work if I set that up? That is all I am doing, just at an application level...that doesn't make sense... When CF renders the page, it should render the mapping, just like it would render a variable. Because CF is not evaluating img src=/cup/images/image.png / and the HTTP request is serving that image to the browser based on the HTML rendered. CF would, however, evaluate img src=cfoutput#my_directory_variable#/cfoutputimage.png/ HTH, ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357150 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
I know that...I was referring to what is rendered after the fact.When i click on image information, the image info should display the url with /er/ in it...not the other as that is part of the path from the root. Eric On Tue, Nov 26, 2013 at 1:13 PM, Adam Cameron dac.c...@gmail.com wrote: I am trying to set up some local mappings (CF9) and it doiesn't seem to recognize it. I have this as part of several variables that are set before the 1st function in my application.cfc... cfset this.mappings[ /cup ] = #application.cuproot#/cup For instance...when I try to access an image in a directory (the path from the root is /cup/images/image.png), I call img src=/cup/images/image.png /, instead of mapping it like i would expect it to, it just appends the server url and i get something like ColdFusion mappings are used by the ColdFusion server to locate files in the file system, for like cfinclude and CFC pathing. They've got nothing to do with URLs. You want to be setting up a web server virtual directory, so when the browser requests a file on a given URL, the web server knows where to find them. Reading this - to understand how CF / web server / client interact - might help: http://cfmlblog.adamcameron.me/2012/10/the-coldfusion-requestresponse-process.html -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357151 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
Yes...cf does evaluate the img tag...as it has a mappiung in it...just as it would evaluate it if there was a variable in the path to the image. So yes...CF does evaluate html tags...whenever ther is a / in from of a path...CF is supposed to recognize that as a mapping. If i sewt it up the cf admin...it does do that. The problem is that i cant have a server wide setting...it needs to be specific to my application. Eric On Tue, Nov 26, 2013 at 1:17 PM, Eric Roberts ow...@threeravensconsulting.com wrote: I know that...I was referring to what is rendered after the fact.When i click on image information, the image info should display the url with /er/ in it...not the other as that is part of the path from the root. Eric On Tue, Nov 26, 2013 at 1:13 PM, Adam Cameron dac.c...@gmail.com wrote: I am trying to set up some local mappings (CF9) and it doiesn't seem to recognize it. I have this as part of several variables that are set before the 1st function in my application.cfc... cfset this.mappings[ /cup ] = #application.cuproot#/cup For instance...when I try to access an image in a directory (the path from the root is /cup/images/image.png), I call img src=/cup/images/image.png /, instead of mapping it like i would expect it to, it just appends the server url and i get something like ColdFusion mappings are used by the ColdFusion server to locate files in the file system, for like cfinclude and CFC pathing. They've got nothing to do with URLs. You want to be setting up a web server virtual directory, so when the browser requests a file on a given URL, the web server knows where to find them. Reading this - to understand how CF / web server / client interact - might help: http://cfmlblog.adamcameron.me/2012/10/the-coldfusion-requestresponse-process.html -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357152 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
Are you developing on the standalone CF server? If so, that may be why youre getting that behavior when you specify it in the CF Admin, but not at the application level. You may get that behavior if youre serving everything through the self-contained server, but that behavior wont carry over in to production if youre using Apache or IIS on the live server. Coldfusion mappings are not designed for the purpose youre attempting to use them for. Not trying to burst your bubble or tell you how to code your app, but it would be much more reliable to set the image directory variable in the request scope and let CF set the path at runtime? -J On Nov 26, 2013, at 2:20 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Yes...cf does evaluate the img tag...as it has a mappiung in it...just as it would evaluate it if there was a variable in the path to the image. So yes...CF does evaluate html tags...whenever ther is a / in from of a path...CF is supposed to recognize that as a mapping. If i sewt it up the cf admin...it does do that. The problem is that i cant have a server wide setting...it needs to be specific to my application. Eric On Tue, Nov 26, 2013 at 1:17 PM, Eric Roberts ow...@threeravensconsulting.com wrote: I know that...I was referring to what is rendered after the fact.When i click on image information, the image info should display the url with /er/ in it...not the other as that is part of the path from the root. Eric On Tue, Nov 26, 2013 at 1:13 PM, Adam Cameron dac.c...@gmail.com wrote: I am trying to set up some local mappings (CF9) and it doiesn't seem to recognize it. I have this as part of several variables that are set before the 1st function in my application.cfc... cfset this.mappings[ /cup ] = #application.cuproot#/cup For instance...when I try to access an image in a directory (the path from the root is /cup/images/image.png), I call img src=/cup/images/image.png /, instead of mapping it like i would expect it to, it just appends the server url and i get something like ColdFusion mappings are used by the ColdFusion server to locate files in the file system, for like cfinclude and CFC pathing. They've got nothing to do with URLs. You want to be setting up a web server virtual directory, so when the browser requests a file on a given URL, the web server knows where to find them. Reading this - to understand how CF / web server / client interact - might help: http://cfmlblog.adamcameron.me/2012/10/the-coldfusion-requestresponse-process.html -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357153 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
I know that...I was referring to what is rendered after the fact.When i click on image information, the image info should display the url with /er/ in it...not the other as that is part of the path from the root. NO, you don't quite seem to get it actually. When I said CF has got nothing to do with it... it serious has NOTHING to do with it. You have this IMG tag: img src=/cup/images/image.png / As far as CF is concerned that's all just text, it doesn't process it at all. Like I said, CF mappings are only for CF to find files in its own file system. It's got *nothing* (NOTHING) to do with URLs. That being the case, there is going to be no magic transformation of img src=/cup/images/image.png / to img src=/er/cup/images/image.png / simply because you have a *ColdFusion* mapping set up. If you want to send the URL /er/cup/images/image.png down to the browser (where er is a value stored in application.cuproot, then you need to code for that, eg: img src=/#application.cuproot#/images/image.png / You have to understand that CF (and CFML) have no knowledge of the concept of HTML or client browsers or anything like that, All CF does is accept a request for a file from the web server, assembles some data to send back via processing some CFML (kinda), and that's it. It has no idea you want your image tags to have different URLs from the ones you tell it... it just does what it's told. It really would help if you read that doc I linked to before. -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357154 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
no...it's not the standalone server. It's going through Apache. This is exactly what mappings are used for...just as they are used the same way if you specify this in Apache. If it works when i set up up in cf admin...then the per application setting should work the same way but only be defined as such in the application.That is how it has always worked. On Tue, Nov 26, 2013 at 1:29 PM, Jon Clausen jon_clau...@silowebworks.comwrote: Are you developing on the standalone CF server? If so, that may be why youre getting that behavior when you specify it in the CF Admin, but not at the application level. You may get that behavior if youre serving everything through the self-contained server, but that behavior wont carry over in to production if youre using Apache or IIS on the live server. Coldfusion mappings are not designed for the purpose youre attempting to use them for. Not trying to burst your bubble or tell you how to code your app, but it would be much more reliable to set the image directory variable in the request scope and let CF set the path at runtime? -J On Nov 26, 2013, at 2:20 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Yes...cf does evaluate the img tag...as it has a mappiung in it...just as it would evaluate it if there was a variable in the path to the image. So yes...CF does evaluate html tags...whenever ther is a / in from of a path...CF is supposed to recognize that as a mapping. If i sewt it up the cf admin...it does do that. The problem is that i cant have a server wide setting...it needs to be specific to my application. Eric On Tue, Nov 26, 2013 at 1:17 PM, Eric Roberts ow...@threeravensconsulting.com wrote: I know that...I was referring to what is rendered after the fact.When i click on image information, the image info should display the url with /er/ in it...not the other as that is part of the path from the root. Eric On Tue, Nov 26, 2013 at 1:13 PM, Adam Cameron dac.c...@gmail.com wrote: I am trying to set up some local mappings (CF9) and it doiesn't seem to recognize it. I have this as part of several variables that are set before the 1st function in my application.cfc... cfset this.mappings[ /cup ] = #application.cuproot#/cup For instance...when I try to access an image in a directory (the path from the root is /cup/images/image.png), I call img src=/cup/images/image.png /, instead of mapping it like i would expect it to, it just appends the server url and i get something like ColdFusion mappings are used by the ColdFusion server to locate files in the file system, for like cfinclude and CFC pathing. They've got nothing to do with URLs. You want to be setting up a web server virtual directory, so when the browser requests a file on a given URL, the web server knows where to find them. Reading this - to understand how CF / web server / client interact - might help: http://cfmlblog.adamcameron.me/2012/10/the-coldfusion-requestresponse-process.html -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357155 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
Adam...if that is true, they why does it pick it up when I set the mapping in CF Admin? I am thinking it is you that isn't getting it... If it works with a mapping in CF Admin, then it should behave the same with a per application mapping...that was kinda the point in creating them. Eric On Tue, Nov 26, 2013 at 1:32 PM, Adam Cameron dac.c...@gmail.com wrote: I know that...I was referring to what is rendered after the fact.When i click on image information, the image info should display the url with /er/ in it...not the other as that is part of the path from the root. NO, you don't quite seem to get it actually. When I said CF has got nothing to do with it... it serious has NOTHING to do with it. You have this IMG tag: img src=/cup/images/image.png / As far as CF is concerned that's all just text, it doesn't process it at all. Like I said, CF mappings are only for CF to find files in its own file system. It's got *nothing* (NOTHING) to do with URLs. That being the case, there is going to be no magic transformation of img src=/cup/images/image.png / to img src=/er/cup/images/image.png / simply because you have a *ColdFusion* mapping set up. If you want to send the URL /er/cup/images/image.png down to the browser (where er is a value stored in application.cuproot, then you need to code for that, eg: img src=/#application.cuproot#/images/image.png / You have to understand that CF (and CFML) have no knowledge of the concept of HTML or client browsers or anything like that, All CF does is accept a request for a file from the web server, assembles some data to send back via processing some CFML (kinda), and that's it. It has no idea you want your image tags to have different URLs from the ones you tell it... it just does what it's told. It really would help if you read that doc I linked to before. -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357156 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
Yes...cf does evaluate the img tag... No. It absolutely does not. You are mistaken. I'm not vaguely speculating as to what your problem might be: I know what your problem is, and I know how it is you're mistaken about things. It's a fairly common misconception people have. And both John and I are explaining the problem, and giving you the answer. The other problem we're now faced with is you're simply not listening for some reason. -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357157 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
again...if it works with a cf mapping in cf admin...how is it not parsing the img tag? Eric On Tue, Nov 26, 2013 at 1:36 PM, Adam Cameron dac.c...@gmail.com wrote: Yes...cf does evaluate the img tag... No. It absolutely does not. You are mistaken. I'm not vaguely speculating as to what your problem might be: I know what your problem is, and I know how it is you're mistaken about things. It's a fairly common misconception people have. And both John and I are explaining the problem, and giving you the answer. The other problem we're now faced with is you're simply not listening for some reason. -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357158 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
no...it's not the standalone server. It's going through Apache. This is exactly what mappings are used for... No they're not. just as they are used the same way if you specify this in Apache. If it works when i set up up in cf admin...then the per application setting should work the same way but only be defined as such in the application.That is how it has always worked. Perform this experiment now. 1) remove your Application.cfc mappings; 2) put the same mapping in CFAdmin; 3) do NOTHING ELSE; 4) browse to the page concerned. You will not see any difference. You might coincidentally have had an unnecessary CF mapping at some point when you ALSO had the appropriate web server virtual directory, but... deep breath... CF mappings have nothing to do with URLs. John reminds me that if one sets up a mapping in jrun-web.xml then those work as both CF mappings (kinda) and JWS mappings at the same time, but that's not relevant here. But that is the only situation where a CF mapping have even the most passing connection to web server mappings. -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357159 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
Eric, It might be coincidence only. We had something similar with a directory mapping that caused one thing on one domain but when another domain/app had a similar directory weird things happened until we removed the CF mapping. Adam and John are right, CF mappings as defined through the ColdFusion administrator are reflective of and utilized by ColdFusion resources only. I do want to go back to your original email. You said I call img src=/cup/images/image.png / By call, do you mean that this is what you've written in your cfm file or are you putting this into some other CF or custom function/tag? Phil On Tue, Nov 26, 2013 at 2:39 PM, Eric Roberts ow...@threeravensconsulting.com wrote: again...if it works with a cf mapping in cf admin...how is it not parsing the img tag? Eric On Tue, Nov 26, 2013 at 1:36 PM, Adam Cameron dac.c...@gmail.com wrote: Yes...cf does evaluate the img tag... No. It absolutely does not. You are mistaken. I'm not vaguely speculating as to what your problem might be: I know what your problem is, and I know how it is you're mistaken about things. It's a fairly common misconception people have. And both John and I are explaining the problem, and giving you the answer. The other problem we're now faced with is you're simply not listening for some reason. -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357160 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
again...if it works with a cf mapping in cf admin...how is it not parsing the img tag? There are two possibilities here: 1) you have a very special unique version of CF in which a CF mapping setting in CFAdmin will magically change a URL in an image tag. 2) you're mistaken. Those are the only two options. If you have the unique magic version of CF... I'm afraid I'm not able to help you (and I suspect no-one else will be either). However if it's just a case of you being mistaken, you could simply follow the advice already given here. I have nothing to add to the advice, so I guess it's down to you at some stage deciding to follow it. I'm done. -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357161 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
Adam...as i stated several times...when I do the cf mapping in cf admin...it works just fine...so I have already done your experiment... Eric On Tue, Nov 26, 2013 at 1:44 PM, Phillip Duba phild...@gmail.com wrote: Eric, It might be coincidence only. We had something similar with a directory mapping that caused one thing on one domain but when another domain/app had a similar directory weird things happened until we removed the CF mapping. Adam and John are right, CF mappings as defined through the ColdFusion administrator are reflective of and utilized by ColdFusion resources only. I do want to go back to your original email. You said I call img src=/cup/images/image.png / By call, do you mean that this is what you've written in your cfm file or are you putting this into some other CF or custom function/tag? Phil On Tue, Nov 26, 2013 at 2:39 PM, Eric Roberts ow...@threeravensconsulting.com wrote: again...if it works with a cf mapping in cf admin...how is it not parsing the img tag? Eric On Tue, Nov 26, 2013 at 1:36 PM, Adam Cameron dac.c...@gmail.com wrote: Yes...cf does evaluate the img tag... No. It absolutely does not. You are mistaken. I'm not vaguely speculating as to what your problem might be: I know what your problem is, and I know how it is you're mistaken about things. It's a fairly common misconception people have. And both John and I are explaining the problem, and giving you the answer. The other problem we're now faced with is you're simply not listening for some reason. -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357162 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. The point behind having mappings is so that in the code, you are refering to a directiory by name rather than having to deal with what the path is from the file. CF handles determining what that is when it renders it int o html. Eric On Tue, Nov 26, 2013 at 1:50 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Adam...as i stated several times...when I do the cf mapping in cf admin...it works just fine...so I have already done your experiment... Eric On Tue, Nov 26, 2013 at 1:44 PM, Phillip Duba phild...@gmail.com wrote: Eric, It might be coincidence only. We had something similar with a directory mapping that caused one thing on one domain but when another domain/app had a similar directory weird things happened until we removed the CF mapping. Adam and John are right, CF mappings as defined through the ColdFusion administrator are reflective of and utilized by ColdFusion resources only. I do want to go back to your original email. You said I call img src=/cup/images/image.png / By call, do you mean that this is what you've written in your cfm file or are you putting this into some other CF or custom function/tag? Phil On Tue, Nov 26, 2013 at 2:39 PM, Eric Roberts ow...@threeravensconsulting.com wrote: again...if it works with a cf mapping in cf admin...how is it not parsing the img tag? Eric On Tue, Nov 26, 2013 at 1:36 PM, Adam Cameron dac.c...@gmail.com wrote: Yes...cf does evaluate the img tag... No. It absolutely does not. You are mistaken. I'm not vaguely speculating as to what your problem might be: I know what your problem is, and I know how it is you're mistaken about things. It's a fairly common misconception people have. And both John and I are explaining the problem, and giving you the answer. The other problem we're now faced with is you're simply not listening for some reason. -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357163 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
OK, Just ran a test and I cant duplicate your server mapping functionality with a standard Apache/CF Connector server setup but I *can* duplicate that functionality when I tell Apache to serve an image MIME type (e.g. - .jpg, .png) through Coldfusion. Is this how your setup is configured? If so, yowsers on a few levels . If youre serving every MIME type with Coldfusion, then the reason youre getting this behavior is because the request is being evaluated and served before the application is even being brought in to play. CF is evaluating that file according to the path specified at the server level, not recognizing any CFML and then just passing it back to the browser without involving the Application at all. You would never be able to get application-specific mappings to work for this purpose. Once again, though, this would be attempting to use the web application server for a purpose it was not designed for and serving non-CFML MIME types through the Coldfusion server can have major security and performance implications. - J On Nov 26, 2013, at 2:39 PM, Eric Roberts ow...@threeravensconsulting.com wrote: again...if it works with a cf mapping in cf admin...how is it not parsing the img tag? Eric On Tue, Nov 26, 2013 at 1:36 PM, Adam Cameron dac.c...@gmail.com wrote: Yes...cf does evaluate the img tag... No. It absolutely does not. You are mistaken. I'm not vaguely speculating as to what your problem might be: I know what your problem is, and I know how it is you're mistaken about things. It's a fairly common misconception people have. And both John and I are explaining the problem, and giving you the answer. The other problem we're now faced with is you're simply not listening for some reason. -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357164 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
John...it's not serving the image...but it renders the path in the src attribute when it renders from cfml to html and JavaScript...the mapping gets converted to the url that the browser sees and uses to get the image...hence the reson the final result from /cup/images/image.png becomes http://www.xxx.com/er/cup/images/image.png...this has nothing to do with serving mime types... Eric On Tue, Nov 26, 2013 at 1:56 PM, Jon Clausen jon_clau...@silowebworks.comwrote: OK, Just ran a test and I cant duplicate your server mapping functionality with a standard Apache/CF Connector server setup but I *can* duplicate that functionality when I tell Apache to serve an image MIME type (e.g. - .jpg, .png) through Coldfusion. Is this how your setup is configured? If so, yowsers on a few levels . If youre serving every MIME type with Coldfusion, then the reason youre getting this behavior is because the request is being evaluated and served before the application is even being brought in to play. CF is evaluating that file according to the path specified at the server level, not recognizing any CFML and then just passing it back to the browser without involving the Application at all. You would never be able to get application-specific mappings to work for this purpose. Once again, though, this would be attempting to use the web application server for a purpose it was not designed for and serving non-CFML MIME types through the Coldfusion server can have major security and performance implications. - J On Nov 26, 2013, at 2:39 PM, Eric Roberts ow...@threeravensconsulting.com wrote: again...if it works with a cf mapping in cf admin...how is it not parsing the img tag? Eric On Tue, Nov 26, 2013 at 1:36 PM, Adam Cameron dac.c...@gmail.com wrote: Yes...cf does evaluate the img tag... No. It absolutely does not. You are mistaken. I'm not vaguely speculating as to what your problem might be: I know what your problem is, and I know how it is you're mistaken about things. It's a fairly common misconception people have. And both John and I are explaining the problem, and giving you the answer. The other problem we're now faced with is you're simply not listening for some reason. -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357165 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
Eric, To clear up any questions about how the URL is being built/coded, can you post the content of your .cfm file that handles the header. -Carl V. On 11/26/2013 11:52 AM, Eric Roberts wrote: Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. The point behind having mappings is so that in the code, you are refering to a directiory by name rather than having to deal with what the path is from the file. CF handles determining what that is when it renders it int o html. Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357167 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
OK, Just ran a test and I cant duplicate your server mapping functionality with a standard Apache/CF Connector server setup but I *can* duplicate that functionality when I tell Apache to serve an image MIME type (e.g. - .jpg, .png) through Coldfusion. Is this how your setup is configured? If so, yowsers on a few levels . Oh god no. That could well be it though. If it is, sorry Eric... that's - generally - such a terrible approach to take it did not even occur to me that it might be the case! But, please, tell me that's not the way you've got your site configured? -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357166 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
Ok, you've given us more information in this then in the original. Is it just something like this inside of header.cfm: htmlheadtitleMy app/title/headbodyheaderimg src=/cup/images/image.png/ .. While it is true that file is parsed by ColdFusion it DOES NOT evaluate every tag inside of the file, it only looks specifically for the ColdFusion tags, functions or items surrounded by #. I still believe you are hitting something else with your setup. When you say the / is working in CF administrator mapping are you changing the path the / had previously to the / you were doing in the per application mapping setting? Also, is there a difference in path in the generated source output? Finally, how is this header file being called? Is it being called with an include? With a CFHTTP? Thanks, Phil On Tue, Nov 26, 2013 at 2:52 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. The point behind having mappings is so that in the code, you are refering to a directiory by name rather than having to deal with what the path is from the file. CF handles determining what that is when it renders it int o html. Eric On Tue, Nov 26, 2013 at 1:50 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Adam...as i stated several times...when I do the cf mapping in cf admin...it works just fine...so I have already done your experiment... Eric On Tue, Nov 26, 2013 at 1:44 PM, Phillip Duba phild...@gmail.com wrote: Eric, It might be coincidence only. We had something similar with a directory mapping that caused one thing on one domain but when another domain/app had a similar directory weird things happened until we removed the CF mapping. Adam and John are right, CF mappings as defined through the ColdFusion administrator are reflective of and utilized by ColdFusion resources only. I do want to go back to your original email. You said I call img src=/cup/images/image.png / By call, do you mean that this is what you've written in your cfm file or are you putting this into some other CF or custom function/tag? Phil On Tue, Nov 26, 2013 at 2:39 PM, Eric Roberts ow...@threeravensconsulting.com wrote: again...if it works with a cf mapping in cf admin...how is it not parsing the img tag? Eric On Tue, Nov 26, 2013 at 1:36 PM, Adam Cameron dac.c...@gmail.com wrote: Yes...cf does evaluate the img tag... No. It absolutely does not. You are mistaken. I'm not vaguely speculating as to what your problem might be: I know what your problem is, and I know how it is you're mistaken about things. It's a fairly common misconception people have. And both John and I are explaining the problem, and giving you the answer. The other problem we're now faced with is you're simply not listening for some reason. -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357168 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
On Tue, Nov 26, 2013 at 2:52 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. I know you've been told this repeatedly and so I'm probably just wasting my breath (finger energy, I suppose), but you are 100% incorrect. 100% WRONG. Here's a 100% accurate statement that is based upon your 100% inaccurate one: CF does not execute html files unless your web server is specifically custom-configured to do so. In a default CF installation, CF only executes *.cfm(l) and *.cfc files. At no time does CF parse the entire file that it executes, but rather, it relies on specific syntax and code constructs - CFML and/or CFScript - to determine its parsing boundaries. CF never has and never will parse HTML. Period. The point behind having mappings is so that in the code, you are refering to a directiory by name rather than having to deal with what the path is from the file. You are correct that by setting a CF mapping named `/foo` you can then reference the mapping by name as simply `/foo` rather than needing to write out the full path. CF handles determining what that is when it renders it int o html. You are 100% WRONG if you think CF does anything with mappings for any purpose other than **CFML FILE SYSTEM ACCESS**. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357169 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
Matt...where did I say I was executing a non-cfm file? On Tue, Nov 26, 2013 at 2:04 PM, Matt Quackenbush quackfu...@gmail.comwrote: On Tue, Nov 26, 2013 at 2:52 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. I know you've been told this repeatedly and so I'm probably just wasting my breath (finger energy, I suppose), but you are 100% incorrect. 100% WRONG. Here's a 100% accurate statement that is based upon your 100% inaccurate one: CF does not execute html files unless your web server is specifically custom-configured to do so. In a default CF installation, CF only executes *.cfm(l) and *.cfc files. At no time does CF parse the entire file that it executes, but rather, it relies on specific syntax and code constructs - CFML and/or CFScript - to determine its parsing boundaries. CF never has and never will parse HTML. Period. The point behind having mappings is so that in the code, you are refering to a directiory by name rather than having to deal with what the path is from the file. You are correct that by setting a CF mapping named `/foo` you can then reference the mapping by name as simply `/foo` rather than needing to write out the full path. CF handles determining what that is when it renders it int o html. You are 100% WRONG if you think CF does anything with mappings for any purpose other than **CFML FILE SYSTEM ACCESS**. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357170 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
Matt...please read what you quoted and that should address your statement about non-cfm files... Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. I know you've been told this repeatedly and so I'm probably just wasting my breath (finger energy, I suppose), but you are 100% incorrect. 100% WRONG. Here's a 100% accurate statement that is based upon your 100% inaccurate one: CF does not execute html files unless your web server is specifically custom-configured to do so. In a default CF installation, CF only executes *.cfm(l) and *.cfc files. At no time does CF parse the entire file that it executes, but rather, it relies on specific syntax and code constructs - CFML and/or CFScript - to determine its parsing boundaries. CF never has and never will parse HTML. Period. Please read before commenting. I clearly stated that it was in a cfm file...not an html file...sheesh Eric On Tue, Nov 26, 2013 at 2:07 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Matt...where did I say I was executing a non-cfm file? On Tue, Nov 26, 2013 at 2:04 PM, Matt Quackenbush quackfu...@gmail.comwrote: On Tue, Nov 26, 2013 at 2:52 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. I know you've been told this repeatedly and so I'm probably just wasting my breath (finger energy, I suppose), but you are 100% incorrect. 100% WRONG. Here's a 100% accurate statement that is based upon your 100% inaccurate one: CF does not execute html files unless your web server is specifically custom-configured to do so. In a default CF installation, CF only executes *.cfm(l) and *.cfc files. At no time does CF parse the entire file that it executes, but rather, it relies on specific syntax and code constructs - CFML and/or CFScript - to determine its parsing boundaries. CF never has and never will parse HTML. Period. The point behind having mappings is so that in the code, you are refering to a directiory by name rather than having to deal with what the path is from the file. You are correct that by setting a CF mapping named `/foo` you can then reference the mapping by name as simply `/foo` rather than needing to write out the full path. CF handles determining what that is when it renders it int o html. You are 100% WRONG if you think CF does anything with mappings for any purpose other than **CFML FILE SYSTEM ACCESS**. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357171 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
I don't know that you did and I did not say that you did. But you repeatedly stated that CF parses html, and that is 100% WRONG. CF only parses CFML/CFScript. On Tue, Nov 26, 2013 at 3:07 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Matt...where did I say I was executing a non-cfm file? On Tue, Nov 26, 2013 at 2:04 PM, Matt Quackenbush quackfu...@gmail.com wrote: On Tue, Nov 26, 2013 at 2:52 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. I know you've been told this repeatedly and so I'm probably just wasting my breath (finger energy, I suppose), but you are 100% incorrect. 100% WRONG. Here's a 100% accurate statement that is based upon your 100% inaccurate one: CF does not execute html files unless your web server is specifically custom-configured to do so. In a default CF installation, CF only executes *.cfm(l) and *.cfc files. At no time does CF parse the entire file that it executes, but rather, it relies on specific syntax and code constructs - CFML and/or CFScript - to determine its parsing boundaries. CF never has and never will parse HTML. Period. The point behind having mappings is so that in the code, you are refering to a directiory by name rather than having to deal with what the path is from the file. You are correct that by setting a CF mapping named `/foo` you can then reference the mapping by name as simply `/foo` rather than needing to write out the full path. CF handles determining what that is when it renders it int o html. You are 100% WRONG if you think CF does anything with mappings for any purpose other than **CFML FILE SYSTEM ACCESS**. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357172 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
Philip...if I go ijnto cf admin and set up /cup in mappings...it works as expected. As a per application mapping...it is not working as expected. here is the surrounding code in the header file... cfform action=#ATTRIBUTES.FORM_ACTION# method=post name=sds_login_form table class=login-table tr td class=login-td-left style=vertical-align:middle; cfoutputimg src=/cup/images/insignia.png //cfoutput /td yes...the header file is included in the index.cfm On Tue, Nov 26, 2013 at 2:02 PM, Phillip Duba phild...@gmail.com wrote: Ok, you've given us more information in this then in the original. Is it just something like this inside of header.cfm: htmlheadtitleMy app/title/headbodyheaderimg src=/cup/images/image.png/ .. While it is true that file is parsed by ColdFusion it DOES NOT evaluate every tag inside of the file, it only looks specifically for the ColdFusion tags, functions or items surrounded by #. I still believe you are hitting something else with your setup. When you say the / is working in CF administrator mapping are you changing the path the / had previously to the / you were doing in the per application mapping setting? Also, is there a difference in path in the generated source output? Finally, how is this header file being called? Is it being called with an include? With a CFHTTP? Thanks, Phil On Tue, Nov 26, 2013 at 2:52 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. The point behind having mappings is so that in the code, you are refering to a directiory by name rather than having to deal with what the path is from the file. CF handles determining what that is when it renders it int o html. Eric On Tue, Nov 26, 2013 at 1:50 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Adam...as i stated several times...when I do the cf mapping in cf admin...it works just fine...so I have already done your experiment... Eric On Tue, Nov 26, 2013 at 1:44 PM, Phillip Duba phild...@gmail.com wrote: Eric, It might be coincidence only. We had something similar with a directory mapping that caused one thing on one domain but when another domain/app had a similar directory weird things happened until we removed the CF mapping. Adam and John are right, CF mappings as defined through the ColdFusion administrator are reflective of and utilized by ColdFusion resources only. I do want to go back to your original email. You said I call img src=/cup/images/image.png / By call, do you mean that this is what you've written in your cfm file or are you putting this into some other CF or custom function/tag? Phil On Tue, Nov 26, 2013 at 2:39 PM, Eric Roberts ow...@threeravensconsulting.com wrote: again...if it works with a cf mapping in cf admin...how is it not parsing the img tag? Eric On Tue, Nov 26, 2013 at 1:36 PM, Adam Cameron dac.c...@gmail.com wrote: Yes...cf does evaluate the img tag... No. It absolutely does not. You are mistaken. I'm not vaguely speculating as to what your problem might be: I know what your problem is, and I know how it is you're mistaken about things. It's a fairly common misconception people have. And both John and I are explaining the problem, and giving you the answer. The other problem we're now faced with is you're simply not listening for some reason. -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357173 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
Correct. And you should read what I wrote. I addressed your words, exactly. On Tue, Nov 26, 2013 at 3:09 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Matt...please read what you quoted and that should address your statement about non-cfm files... Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. I know you've been told this repeatedly and so I'm probably just wasting my breath (finger energy, I suppose), but you are 100% incorrect. 100% WRONG. Here's a 100% accurate statement that is based upon your 100% inaccurate one: CF does not execute html files unless your web server is specifically custom-configured to do so. In a default CF installation, CF only executes *.cfm(l) and *.cfc files. At no time does CF parse the entire file that it executes, but rather, it relies on specific syntax and code constructs - CFML and/or CFScript - to determine its parsing boundaries. CF never has and never will parse HTML. Period. Please read before commenting. I clearly stated that it was in a cfm file...not an html file...sheesh Eric On Tue, Nov 26, 2013 at 2:07 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Matt...where did I say I was executing a non-cfm file? On Tue, Nov 26, 2013 at 2:04 PM, Matt Quackenbush quackfu...@gmail.com wrote: On Tue, Nov 26, 2013 at 2:52 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. I know you've been told this repeatedly and so I'm probably just wasting my breath (finger energy, I suppose), but you are 100% incorrect. 100% WRONG. Here's a 100% accurate statement that is based upon your 100% inaccurate one: CF does not execute html files unless your web server is specifically custom-configured to do so. In a default CF installation, CF only executes *.cfm(l) and *.cfc files. At no time does CF parse the entire file that it executes, but rather, it relies on specific syntax and code constructs - CFML and/or CFScript - to determine its parsing boundaries. CF never has and never will parse HTML. Period. The point behind having mappings is so that in the code, you are refering to a directiory by name rather than having to deal with what the path is from the file. You are correct that by setting a CF mapping named `/foo` you can then reference the mapping by name as simply `/foo` rather than needing to write out the full path. CF handles determining what that is when it renders it int o html. You are 100% WRONG if you think CF does anything with mappings for any purpose other than **CFML FILE SYSTEM ACCESS**. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357175 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
it parses html in a cfm file...it parses it to see if there are any cf elements in it that it needs to render...like variables and mappings... Eric On Tue, Nov 26, 2013 at 2:10 PM, Matt Quackenbush quackfu...@gmail.comwrote: I don't know that you did and I did not say that you did. But you repeatedly stated that CF parses html, and that is 100% WRONG. CF only parses CFML/CFScript. On Tue, Nov 26, 2013 at 3:07 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Matt...where did I say I was executing a non-cfm file? On Tue, Nov 26, 2013 at 2:04 PM, Matt Quackenbush quackfu...@gmail.com wrote: On Tue, Nov 26, 2013 at 2:52 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. I know you've been told this repeatedly and so I'm probably just wasting my breath (finger energy, I suppose), but you are 100% incorrect. 100% WRONG. Here's a 100% accurate statement that is based upon your 100% inaccurate one: CF does not execute html files unless your web server is specifically custom-configured to do so. In a default CF installation, CF only executes *.cfm(l) and *.cfc files. At no time does CF parse the entire file that it executes, but rather, it relies on specific syntax and code constructs - CFML and/or CFScript - to determine its parsing boundaries. CF never has and never will parse HTML. Period. The point behind having mappings is so that in the code, you are refering to a directiory by name rather than having to deal with what the path is from the file. You are correct that by setting a CF mapping named `/foo` you can then reference the mapping by name as simply `/foo` rather than needing to write out the full path. CF handles determining what that is when it renders it int o html. You are 100% WRONG if you think CF does anything with mappings for any purpose other than **CFML FILE SYSTEM ACCESS**. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357174 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
so back to the question...why are the per application settings not working? Eric On Tue, Nov 26, 2013 at 2:12 PM, Matt Quackenbush quackfu...@gmail.comwrote: Correct. And you should read what I wrote. I addressed your words, exactly. On Tue, Nov 26, 2013 at 3:09 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Matt...please read what you quoted and that should address your statement about non-cfm files... Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. I know you've been told this repeatedly and so I'm probably just wasting my breath (finger energy, I suppose), but you are 100% incorrect. 100% WRONG. Here's a 100% accurate statement that is based upon your 100% inaccurate one: CF does not execute html files unless your web server is specifically custom-configured to do so. In a default CF installation, CF only executes *.cfm(l) and *.cfc files. At no time does CF parse the entire file that it executes, but rather, it relies on specific syntax and code constructs - CFML and/or CFScript - to determine its parsing boundaries. CF never has and never will parse HTML. Period. Please read before commenting. I clearly stated that it was in a cfm file...not an html file...sheesh Eric On Tue, Nov 26, 2013 at 2:07 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Matt...where did I say I was executing a non-cfm file? On Tue, Nov 26, 2013 at 2:04 PM, Matt Quackenbush quackfu...@gmail.com wrote: On Tue, Nov 26, 2013 at 2:52 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. I know you've been told this repeatedly and so I'm probably just wasting my breath (finger energy, I suppose), but you are 100% incorrect. 100% WRONG. Here's a 100% accurate statement that is based upon your 100% inaccurate one: CF does not execute html files unless your web server is specifically custom-configured to do so. In a default CF installation, CF only executes *.cfm(l) and *.cfc files. At no time does CF parse the entire file that it executes, but rather, it relies on specific syntax and code constructs - CFML and/or CFScript - to determine its parsing boundaries. CF never has and never will parse HTML. Period. The point behind having mappings is so that in the code, you are refering to a directiory by name rather than having to deal with what the path is from the file. You are correct that by setting a CF mapping named `/foo` you can then reference the mapping by name as simply `/foo` rather than needing to write out the full path. CF handles determining what that is when it renders it int o html. You are 100% WRONG if you think CF does anything with mappings for any purpose other than **CFML FILE SYSTEM ACCESS**. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357176 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
No, it doesn't. You're flat out wrong. CF does not, has not, and never will parse HTML. It only looks for CFML code to parse, and handles it accordingly. Ex. img src=/foo/bar/image.png / !---// never parsed by CF --- img src=/#foo#/bar/image.png / !---// never parsed by CF --- cfoutput img src=/foo/bar/image.png / !---// never parsed by CF --- img src=/#foo#/bar/image.png / !---// CF only parses #foo#, and only because it's within a cfoutput --- /cfoutput On Tue, Nov 26, 2013 at 3:11 PM, Eric Roberts ow...@threeravensconsulting.com wrote: it parses html in a cfm file...it parses it to see if there are any cf elements in it that it needs to render...like variables and mappings... Eric On Tue, Nov 26, 2013 at 2:10 PM, Matt Quackenbush quackfu...@gmail.com wrote: I don't know that you did and I did not say that you did. But you repeatedly stated that CF parses html, and that is 100% WRONG. CF only parses CFML/CFScript. On Tue, Nov 26, 2013 at 3:07 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Matt...where did I say I was executing a non-cfm file? On Tue, Nov 26, 2013 at 2:04 PM, Matt Quackenbush quackfu...@gmail.com wrote: On Tue, Nov 26, 2013 at 2:52 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. I know you've been told this repeatedly and so I'm probably just wasting my breath (finger energy, I suppose), but you are 100% incorrect. 100% WRONG. Here's a 100% accurate statement that is based upon your 100% inaccurate one: CF does not execute html files unless your web server is specifically custom-configured to do so. In a default CF installation, CF only executes *.cfm(l) and *.cfc files. At no time does CF parse the entire file that it executes, but rather, it relies on specific syntax and code constructs - CFML and/or CFScript - to determine its parsing boundaries. CF never has and never will parse HTML. Period. The point behind having mappings is so that in the code, you are refering to a directiory by name rather than having to deal with what the path is from the file. You are correct that by setting a CF mapping named `/foo` you can then reference the mapping by name as simply `/foo` rather than needing to write out the full path. CF handles determining what that is when it renders it int o html. You are 100% WRONG if you think CF does anything with mappings for any purpose other than **CFML FILE SYSTEM ACCESS**. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357177 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
The answer is still the same: What you are expecting will never be experienced with CF. On Tue, Nov 26, 2013 at 3:15 PM, Eric Roberts ow...@threeravensconsulting.com wrote: so back to the question...why are the per application settings not working? Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357178 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
On Nov 26, 2013, at 3:15 PM, Eric Roberts ow...@threeravensconsulting.com wrote: so back to the question...why are the per application settings not working? Eric I suspect the answer lies within the unique configuration of your development server. No matter what variables you have in place with your system that allow for this behavior to happen, the simple fact is that youre attempting to use CF to do something its not meant to do. Even if you get it to work in the short-term, it will likely bite you again in the long-term. I would opt to take the consensually correct and conventional approach to your problem, rather than attempting to be clever in hacking the functionality of the server for something as simple as an image path. I will exit this conversation by asking a question that I try to ask myself frequently: Would you rather be right or would you rather be happy? -J [Exeunt, pursued by a bea ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357179 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
I swear this guy is a troll, nobody is that dense. but incase he is: CFMappings are used ONLY FOR things such as CFINCLUDE. They are never used for img src=/some/place/imagename.png To get a mapping for image or other HTML urls you have to use the web server (IIS OR Apache) Alias configuration settings. These are two totally different types of mappings and they have NO relation to each other. Can only hope this sinks in. Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. On Nov 26, 2013, at 2:12 PM, Matt Quackenbush quackfu...@gmail.com wrote: Correct. And you should read what I wrote. I addressed your words, exactly. On Tue, Nov 26, 2013 at 3:09 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Matt...please read what you quoted and that should address your statement about non-cfm files... Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. I know you've been told this repeatedly and so I'm probably just wasting my breath (finger energy, I suppose), but you are 100% incorrect. 100% WRONG. Here's a 100% accurate statement that is based upon your 100% inaccurate one: CF does not execute html files unless your web server is specifically custom-configured to do so. In a default CF installation, CF only executes *.cfm(l) and *.cfc files. At no time does CF parse the entire file that it executes, but rather, it relies on specific syntax and code constructs - CFML and/or CFScript - to determine its parsing boundaries. CF never has and never will parse HTML. Period. Please read before commenting. I clearly stated that it was in a cfm file...not an html file...sheesh Eric On Tue, Nov 26, 2013 at 2:07 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Matt...where did I say I was executing a non-cfm file? On Tue, Nov 26, 2013 at 2:04 PM, Matt Quackenbush quackfu...@gmail.com wrote: On Tue, Nov 26, 2013 at 2:52 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. I know you've been told this repeatedly and so I'm probably just wasting my breath (finger energy, I suppose), but you are 100% incorrect. 100% WRONG. Here's a 100% accurate statement that is based upon your 100% inaccurate one: CF does not execute html files unless your web server is specifically custom-configured to do so. In a default CF installation, CF only executes *.cfm(l) and *.cfc files. At no time does CF parse the entire file that it executes, but rather, it relies on specific syntax and code constructs - CFML and/or CFScript - to determine its parsing boundaries. CF never has and never will parse HTML. Period. The point behind having mappings is so that in the code, you are refering to a directiory by name rather than having to deal with what the path is from the file. You are correct that by setting a CF mapping named `/foo` you can then reference the mapping by name as simply `/foo` rather than needing to write out the full path. CF handles determining what that is when it renders it int o html. You are 100% WRONG if you think CF does anything with mappings for any purpose other than **CFML FILE SYSTEM ACCESS**. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357180 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
Matt...where did I say I was executing a non-cfm file? When you said this: For instance...when I try to access an image in a directory (the path from the root is /cup/images/image.png), I call img src=/cup/images/image.png /, Say you have this in your eric.cfm file: cfset msg = Hi Eric cfoutput#msg#/cfoutput img src=/cup/images/image.png / CF does not know that you want it to do something special with /cup/images/image.png, because that's just text. So what CF will send back to the web server is just this: Hi Eric img src=/cup/images/image.png / And the web server will send that to the client browser. And the client browser will render the mark-up, and it will also go looking for an image @ /cup/images/image.png. It will reuse the same domain name that the rest of the file came from, if you don't specify it, so it'll go fetch http://yourdomain.com/cup/images/image.png or something. The request for the image is a completely separate request from the original request to eric.cfm. CF has finished its job as far as any of this goes. The web server receives the request, resolves /cup/images/image.png relative to its base directory (eg: /var/htdocs), or if it has a virtual directory set up for eg /cup pointing to another dir, then it will fetch the file from there instead. And send it back to the browser. The browser then renders the image. As I mentioned above, CF plays no part in this request. So it doesn't matter what your CF mappings say. The only way that CF can possibly know about /cup/images/image.png (so as to maybe remap /cup to be /er/cup) is if you have configured your WEB SERVER to pass png requests to CF as well. According to John's research, then CF will resolve a mapping. I dunno whether it'll process ones in Application.cfc, but the Application.cfc would need to be somewhere on the /er/cup/images path for it to be picked up. If indeed it was picked up at all. But the fact remains that the original CF request will do nothing to the URL in the image tag, and the web server won't either. -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357181 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
Adam...as i stated several times...when I do the cf mapping in cf admin...it works just fine...so I have already done your experiment... Please... do it again, and perform only the steps I listed. Then you will see you're mistaken, and we can move on. -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357182 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
it parses html in a cfm file...it parses it to see if there are any cf elements in it that it needs to render...like variables and mappings... No it doesn't. CF only parses the CFML part of any file. It completely ignores anything else. This is easy to see if you decompile the compiled class file... you'll see all the plain text stuff (ie: everything that's not CFML) simply being echoed back, untouched. Eric, you need to accept you're mistaken here. Why do you think we (all) would be suggesting you are if you're not? There's no conspiracy here. We just actually know what we're talking about. Seriously. -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357183 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
That's a good explanation / demonstration Matt. -- Adam No, it doesn't. You're flat out wrong. CF does not, has not, and never will parse HTML. It only looks for CFML code to parse, and handles it accordingly. Ex. img src=/foo/bar/image.png / !---// never parsed by CF --- img src=/#foo#/bar/image.png / !---// never parsed by CF --- cfoutput img src=/foo/bar/image.png / !---// never parsed by CF --- img src=/#foo#/bar/image.png / !---// CF only parses #foo#, and only because it's within a cfoutput --- /cfoutput ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357184 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
+infinity On Tue, Nov 26, 2013 at 3:28 PM, Adam Cameron dac.c...@gmail.com wrote: it parses html in a cfm file...it parses it to see if there are any cf elements in it that it needs to render...like variables and mappings... No it doesn't. CF only parses the CFML part of any file. It completely ignores anything else. This is easy to see if you decompile the compiled class file... you'll see all the plain text stuff (ie: everything that's not CFML) simply being echoed back, untouched. Eric, you need to accept you're mistaken here. Why do you think we (all) would be suggesting you are if you're not? There's no conspiracy here. We just actually know what we're talking about. Seriously. -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357185 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
Then why does it work when i set up the mapping in cfadmin? No one seems to want to answer that... Eric On Tue, Nov 26, 2013 at 2:21 PM, Wil Genovese jugg...@trunkful.com wrote: I swear this guy is a troll, nobody is that dense. but incase he is: CFMappings are used ONLY FOR things such as CFINCLUDE. They are never used for img src=/some/place/imagename.png To get a mapping for image or other HTML urls you have to use the web server (IIS OR Apache) Alias configuration settings. These are two totally different types of mappings and they have NO relation to each other. Can only hope this sinks in. Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. On Nov 26, 2013, at 2:12 PM, Matt Quackenbush quackfu...@gmail.com wrote: Correct. And you should read what I wrote. I addressed your words, exactly. On Tue, Nov 26, 2013 at 3:09 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Matt...please read what you quoted and that should address your statement about non-cfm files... Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. I know you've been told this repeatedly and so I'm probably just wasting my breath (finger energy, I suppose), but you are 100% incorrect. 100% WRONG. Here's a 100% accurate statement that is based upon your 100% inaccurate one: CF does not execute html files unless your web server is specifically custom-configured to do so. In a default CF installation, CF only executes *.cfm(l) and *.cfc files. At no time does CF parse the entire file that it executes, but rather, it relies on specific syntax and code constructs - CFML and/or CFScript - to determine its parsing boundaries. CF never has and never will parse HTML. Period. Please read before commenting. I clearly stated that it was in a cfm file...not an html file...sheesh Eric On Tue, Nov 26, 2013 at 2:07 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Matt...where did I say I was executing a non-cfm file? On Tue, Nov 26, 2013 at 2:04 PM, Matt Quackenbush quackfu...@gmail.com wrote: On Tue, Nov 26, 2013 at 2:52 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. I know you've been told this repeatedly and so I'm probably just wasting my breath (finger energy, I suppose), but you are 100% incorrect. 100% WRONG. Here's a 100% accurate statement that is based upon your 100% inaccurate one: CF does not execute html files unless your web server is specifically custom-configured to do so. In a default CF installation, CF only executes *.cfm(l) and *.cfc files. At no time does CF parse the entire file that it executes, but rather, it relies on specific syntax and code constructs - CFML and/or CFScript - to determine its parsing boundaries. CF never has and never will parse HTML. Period. The point behind having mappings is so that in the code, you are refering to a directiory by name rather than having to deal with what the path is from the file. You are correct that by setting a CF mapping named `/foo` you can then reference the mapping by name as simply `/foo` rather than needing to write out the full path. CF handles determining what that is when it renders it int o html. You are 100% WRONG if you think CF does anything with mappings for any purpose other than **CFML FILE SYSTEM ACCESS**. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357186 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
The fact that it works in this case is not the issue. CF mappings whether defined in the application and/or in the administrator operate the same way. You need to define for us, since we're not sitting their in front of your terminal, the mappings, mapping path and full path, as they appear in CF Admin as well as the docroot of your application that your web server points to for the domain this application is under, folder structure, image file folder location, does this application run under a sub domain that might cross-pollinate with the main domain, i.e., www.xxx.com and er..com points to www.xxx.com/er? As I said before, I think you are running into a coincidence that's causing you to think the application mapping in the ColdFusion administrator is assisting in the displaying of this image whereas the rest of us trying to answer your question know that it doesn't, Phil On Tue, Nov 26, 2013 at 3:32 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Then why does it work when i set up the mapping in cfadmin? No one seems to want to answer that... Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357187 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
That has been answered, too. From Jon... OK, Just ran a test and I cant duplicate your server mapping functionality with a standard Apache/CF Connector server setup but I *can* duplicate that functionality when I tell Apache to serve an image MIME type (e.g. - .jpg, .png) through Coldfusion. Is this how your setup is configured? If so, yowsers on a few levels . If youre serving every MIME type with Coldfusion, then the reason youre getting this behavior is because the request is being evaluated and served before the application is even being brought in to play. CF is evaluating that file according to the path specified at the server level, not recognizing any CFML and then just passing it back to the browser without involving the Application at all. You would never be able to get application-specific mappings to work for this purpose. Once again, though, this would be attempting to use the web application server for a purpose it was not designed for and serving non-CFML MIME types through the Coldfusion server can have major security and performance implications. - J From Jon, again... I suspect the answer lies within the unique configuration of your development server. No matter what variables you have in place with your system that allow for this behavior to happen, the simple fact is that youre attempting to use CF to do something its not meant to do. Even if you get it to work in the short-term, it will likely bite you again in the long-term. I would opt to take the consensually correct and conventional approach to your problem, rather than attempting to be clever in hacking the functionality of the server for something as simple as an image path. From Phillip... It might be coincidence only. We had something similar with a directory mapping that caused one thing on one domain but when another domain/app had a similar directory weird things happened until we removed the CF mapping. Adam and John are right, CF mappings as defined through the ColdFusion administrator are reflective of and utilized by ColdFusion resources only. On Tue, Nov 26, 2013 at 3:32 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Then why does it work when i set up the mapping in cfadmin? No one seems to want to answer that... Eric On Tue, Nov 26, 2013 at 2:21 PM, Wil Genovese jugg...@trunkful.com wrote: I swear this guy is a troll, nobody is that dense. but incase he is: CFMappings are used ONLY FOR things such as CFINCLUDE. They are never used for img src=/some/place/imagename.png To get a mapping for image or other HTML urls you have to use the web server (IIS OR Apache) Alias configuration settings. These are two totally different types of mappings and they have NO relation to each other. Can only hope this sinks in. Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. On Nov 26, 2013, at 2:12 PM, Matt Quackenbush quackfu...@gmail.com wrote: Correct. And you should read what I wrote. I addressed your words, exactly. On Tue, Nov 26, 2013 at 3:09 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Matt...please read what you quoted and that should address your statement about non-cfm files... Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. I know you've been told this repeatedly and so I'm probably just wasting my breath (finger energy, I suppose), but you are 100% incorrect. 100% WRONG. Here's a 100% accurate statement that is based upon your 100% inaccurate one: CF does not execute html files unless your web server is specifically custom-configured to do so. In a default CF installation, CF only executes *.cfm(l) and *.cfc files. At no time does CF parse the entire file that it executes, but rather, it relies on specific syntax and code constructs - CFML and/or CFScript - to determine its parsing boundaries. CF never has and never will parse HTML. Period. Please read before commenting. I clearly stated that it was in a cfm file...not an html file...sheesh Eric On Tue, Nov 26, 2013 at 2:07 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Matt...where did I say I was executing a non-cfm file? On Tue, Nov 26, 2013 at 2:04 PM, Matt Quackenbush quackfu...@gmail.com wrote: On Tue, Nov 26, 2013 at 2:52 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file,
Re: per application settings
this is the value of cuproot: /usr/test/softfac_test/www/htdocs/er so when it gets put intot he mapping setting it's /usr/test/softfac_test/www/htdocs/er/cup In the cfadmin the path is /usr/test/softfac_test/www/htdocs/er/cup Eric On Tue, Nov 26, 2013 at 2:40 PM, Phillip Duba phild...@gmail.com wrote: The fact that it works in this case is not the issue. CF mappings whether defined in the application and/or in the administrator operate the same way. You need to define for us, since we're not sitting their in front of your terminal, the mappings, mapping path and full path, as they appear in CF Admin as well as the docroot of your application that your web server points to for the domain this application is under, folder structure, image file folder location, does this application run under a sub domain that might cross-pollinate with the main domain, i.e., www.xxx.com and er..com points to www.xxx.com/er? As I said before, I think you are running into a coincidence that's causing you to think the application mapping in the ColdFusion administrator is assisting in the displaying of this image whereas the rest of us trying to answer your question know that it doesn't, Phil On Tue, Nov 26, 2013 at 3:32 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Then why does it work when i set up the mapping in cfadmin? No one seems to want to answer that... Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357189 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
Saying that I have some special configuration is not an answer...there is nothing special about the setup of the server. He was confused with something about serving up mime types...which had nothing to do with the question. On Tue, Nov 26, 2013 at 2:43 PM, Matt Quackenbush quackfu...@gmail.comwrote: That has been answered, too. From Jon... OK, Just ran a test and I cant duplicate your server mapping functionality with a standard Apache/CF Connector server setup but I *can* duplicate that functionality when I tell Apache to serve an image MIME type (e.g. - .jpg, .png) through Coldfusion. Is this how your setup is configured? If so, yowsers on a few levels . If youre serving every MIME type with Coldfusion, then the reason youre getting this behavior is because the request is being evaluated and served before the application is even being brought in to play. CF is evaluating that file according to the path specified at the server level, not recognizing any CFML and then just passing it back to the browser without involving the Application at all. You would never be able to get application-specific mappings to work for this purpose. Once again, though, this would be attempting to use the web application server for a purpose it was not designed for and serving non-CFML MIME types through the Coldfusion server can have major security and performance implications. - J From Jon, again... I suspect the answer lies within the unique configuration of your development server. No matter what variables you have in place with your system that allow for this behavior to happen, the simple fact is that youre attempting to use CF to do something its not meant to do. Even if you get it to work in the short-term, it will likely bite you again in the long-term. I would opt to take the consensually correct and conventional approach to your problem, rather than attempting to be clever in hacking the functionality of the server for something as simple as an image path. From Phillip... It might be coincidence only. We had something similar with a directory mapping that caused one thing on one domain but when another domain/app had a similar directory weird things happened until we removed the CF mapping. Adam and John are right, CF mappings as defined through the ColdFusion administrator are reflective of and utilized by ColdFusion resources only. On Tue, Nov 26, 2013 at 3:32 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Then why does it work when i set up the mapping in cfadmin? No one seems to want to answer that... Eric On Tue, Nov 26, 2013 at 2:21 PM, Wil Genovese jugg...@trunkful.com wrote: I swear this guy is a troll, nobody is that dense. but incase he is: CFMappings are used ONLY FOR things such as CFINCLUDE. They are never used for img src=/some/place/imagename.png To get a mapping for image or other HTML urls you have to use the web server (IIS OR Apache) Alias configuration settings. These are two totally different types of mappings and they have NO relation to each other. Can only hope this sinks in. Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. On Nov 26, 2013, at 2:12 PM, Matt Quackenbush quackfu...@gmail.com wrote: Correct. And you should read what I wrote. I addressed your words, exactly. On Tue, Nov 26, 2013 at 3:09 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Matt...please read what you quoted and that should address your statement about non-cfm files... Philip...it is in a .cfm file that handles the header. in this specific instance, it is calling up a logo image in the header. If this was in an html file, then they would be correct...but in a cfm file...everything is parsed. I know you've been told this repeatedly and so I'm probably just wasting my breath (finger energy, I suppose), but you are 100% incorrect. 100% WRONG. Here's a 100% accurate statement that is based upon your 100% inaccurate one: CF does not execute html files unless your web server is specifically custom-configured to do so. In a default CF installation, CF only executes *.cfm(l) and *.cfc files. At no time does CF parse the entire file that it executes, but rather, it relies on specific syntax and code constructs - CFML and/or CFScript - to determine its parsing boundaries. CF never has and never will parse HTML. Period. Please read before commenting. I clearly stated that it was in a cfm file...not an html file...sheesh Eric On Tue, Nov 26, 2013 at 2:07 PM, Eric Roberts
Re: per application settings
Ok, do me a favor then, delete the mapping from your administrator AND your per-application mapping, Phil On Tue, Nov 26, 2013 at 3:44 PM, Eric Roberts ow...@threeravensconsulting.com wrote: this is the value of cuproot: /usr/test/softfac_test/www/htdocs/er so when it gets put intot he mapping setting it's /usr/test/softfac_test/www/htdocs/er/cup In the cfadmin the path is /usr/test/softfac_test/www/htdocs/er/cup Eric On Tue, Nov 26, 2013 at 2:40 PM, Phillip Duba phild...@gmail.com wrote: The fact that it works in this case is not the issue. CF mappings whether defined in the application and/or in the administrator operate the same way. You need to define for us, since we're not sitting their in front of your terminal, the mappings, mapping path and full path, as they appear in CF Admin as well as the docroot of your application that your web server points to for the domain this application is under, folder structure, image file folder location, does this application run under a sub domain that might cross-pollinate with the main domain, i.e., www.xxx.com and er..com points to www.xxx.com/er? As I said before, I think you are running into a coincidence that's causing you to think the application mapping in the ColdFusion administrator is assisting in the displaying of this image whereas the rest of us trying to answer your question know that it doesn't, Phil On Tue, Nov 26, 2013 at 3:32 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Then why does it work when i set up the mapping in cfadmin? No one seems to want to answer that... Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357191 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
when i do that...the image is broken. If I add the per app setting it is broken. if I add the mapping in cf admin it works... On Tue, Nov 26, 2013 at 2:47 PM, Phillip Duba phild...@gmail.com wrote: Ok, do me a favor then, delete the mapping from your administrator AND your per-application mapping, Phil On Tue, Nov 26, 2013 at 3:44 PM, Eric Roberts ow...@threeravensconsulting.com wrote: this is the value of cuproot: /usr/test/softfac_test/www/htdocs/er so when it gets put intot he mapping setting it's /usr/test/softfac_test/www/htdocs/er/cup In the cfadmin the path is /usr/test/softfac_test/www/htdocs/er/cup Eric On Tue, Nov 26, 2013 at 2:40 PM, Phillip Duba phild...@gmail.com wrote: The fact that it works in this case is not the issue. CF mappings whether defined in the application and/or in the administrator operate the same way. You need to define for us, since we're not sitting their in front of your terminal, the mappings, mapping path and full path, as they appear in CF Admin as well as the docroot of your application that your web server points to for the domain this application is under, folder structure, image file folder location, does this application run under a sub domain that might cross-pollinate with the main domain, i.e., www.xxx.com and er..com points to www.xxx.com/er? As I said before, I think you are running into a coincidence that's causing you to think the application mapping in the ColdFusion administrator is assisting in the displaying of this image whereas the rest of us trying to answer your question know that it doesn't, Phil On Tue, Nov 26, 2013 at 3:32 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Then why does it work when i set up the mapping in cfadmin? No one seems to want to answer that... Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357192 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
What's the new rendered path from your generated HTML? Phil On Tue, Nov 26, 2013 at 3:50 PM, Eric Roberts ow...@threeravensconsulting.com wrote: when i do that...the image is broken. If I add the per app setting it is broken. if I add the mapping in cf admin it works... On Tue, Nov 26, 2013 at 2:47 PM, Phillip Duba phild...@gmail.com wrote: Ok, do me a favor then, delete the mapping from your administrator AND your per-application mapping, Phil On Tue, Nov 26, 2013 at 3:44 PM, Eric Roberts ow...@threeravensconsulting.com wrote: this is the value of cuproot: /usr/test/softfac_test/www/htdocs/er so when it gets put intot he mapping setting it's /usr/test/softfac_test/www/htdocs/er/cup In the cfadmin the path is /usr/test/softfac_test/www/htdocs/er/cup Eric On Tue, Nov 26, 2013 at 2:40 PM, Phillip Duba phild...@gmail.com wrote: The fact that it works in this case is not the issue. CF mappings whether defined in the application and/or in the administrator operate the same way. You need to define for us, since we're not sitting their in front of your terminal, the mappings, mapping path and full path, as they appear in CF Admin as well as the docroot of your application that your web server points to for the domain this application is under, folder structure, image file folder location, does this application run under a sub domain that might cross-pollinate with the main domain, i.e., www.xxx.com and er..com points to www.xxx.com/er? As I said before, I think you are running into a coincidence that's causing you to think the application mapping in the ColdFusion administrator is assisting in the displaying of this image whereas the rest of us trying to answer your question know that it doesn't, Phil On Tue, Nov 26, 2013 at 3:32 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Then why does it work when i set up the mapping in cfadmin? No one seems to want to answer that... Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357193 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
Then why does it work when i set up the mapping in cfadmin? No one seems to want to answer that... I suspect it's because you're mistaken about that too. Do you perform those steps I asked you to? I mean again, now, this evening, after I asked you to. And after you said I don't have to because I've done it before. Just... pls... do it again. Following my steps, with no other steps at all. And then what do you see? -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357194 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
You also haven't answered my question on how the header CFM is being loaded into the application's page. Is it by CFINCLUDE, CFHTTP, part of a function call, etc.? Phil On Tue, Nov 26, 2013 at 3:50 PM, Eric Roberts ow...@threeravensconsulting.com wrote: when i do that...the image is broken. If I add the per app setting it is broken. if I add the mapping in cf admin it works... On Tue, Nov 26, 2013 at 2:47 PM, Phillip Duba phild...@gmail.com wrote: Ok, do me a favor then, delete the mapping from your administrator AND your per-application mapping, Phil On Tue, Nov 26, 2013 at 3:44 PM, Eric Roberts ow...@threeravensconsulting.com wrote: this is the value of cuproot: /usr/test/softfac_test/www/htdocs/er so when it gets put intot he mapping setting it's /usr/test/softfac_test/www/htdocs/er/cup In the cfadmin the path is /usr/test/softfac_test/www/htdocs/er/cup Eric On Tue, Nov 26, 2013 at 2:40 PM, Phillip Duba phild...@gmail.com wrote: The fact that it works in this case is not the issue. CF mappings whether defined in the application and/or in the administrator operate the same way. You need to define for us, since we're not sitting their in front of your terminal, the mappings, mapping path and full path, as they appear in CF Admin as well as the docroot of your application that your web server points to for the domain this application is under, folder structure, image file folder location, does this application run under a sub domain that might cross-pollinate with the main domain, i.e., www.xxx.com and er..com points to www.xxx.com/er? As I said before, I think you are running into a coincidence that's causing you to think the application mapping in the ColdFusion administrator is assisting in the displaying of this image whereas the rest of us trying to answer your question know that it doesn't, Phil On Tue, Nov 26, 2013 at 3:32 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Then why does it work when i set up the mapping in cfadmin? No one seems to want to answer that... Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357195 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
when i do that...the image is broken. If I add the per app setting it is broken. if I add the mapping in cf admin it works... And did you go an TEST THAT just now, or are you running from memory or describing what you recall from past experience? -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357198 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
http://www.xxx.com/cup/images/image.png when it is working it is http://www.xxx.com/er/cup/images/image.png On Tue, Nov 26, 2013 at 2:52 PM, Phillip Duba phild...@gmail.com wrote: What's the new rendered path from your generated HTML? Phil On Tue, Nov 26, 2013 at 3:50 PM, Eric Roberts ow...@threeravensconsulting.com wrote: when i do that...the image is broken. If I add the per app setting it is broken. if I add the mapping in cf admin it works... On Tue, Nov 26, 2013 at 2:47 PM, Phillip Duba phild...@gmail.com wrote: Ok, do me a favor then, delete the mapping from your administrator AND your per-application mapping, Phil On Tue, Nov 26, 2013 at 3:44 PM, Eric Roberts ow...@threeravensconsulting.com wrote: this is the value of cuproot: /usr/test/softfac_test/www/htdocs/er so when it gets put intot he mapping setting it's /usr/test/softfac_test/www/htdocs/er/cup In the cfadmin the path is /usr/test/softfac_test/www/htdocs/er/cup Eric On Tue, Nov 26, 2013 at 2:40 PM, Phillip Duba phild...@gmail.com wrote: The fact that it works in this case is not the issue. CF mappings whether defined in the application and/or in the administrator operate the same way. You need to define for us, since we're not sitting their in front of your terminal, the mappings, mapping path and full path, as they appear in CF Admin as well as the docroot of your application that your web server points to for the domain this application is under, folder structure, image file folder location, does this application run under a sub domain that might cross-pollinate with the main domain, i.e., www.xxx.com and er..com points to www.xxx.com/er? As I said before, I think you are running into a coincidence that's causing you to think the application mapping in the ColdFusion administrator is assisting in the displaying of this image whereas the rest of us trying to answer your question know that it doesn't, Phil On Tue, Nov 26, 2013 at 3:32 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Then why does it work when i set up the mapping in cfadmin? No one seems to want to answer that... Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357196 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
I did...it is included in the index page... On Tue, Nov 26, 2013 at 2:53 PM, Phillip Duba phild...@gmail.com wrote: You also haven't answered my question on how the header CFM is being loaded into the application's page. Is it by CFINCLUDE, CFHTTP, part of a function call, etc.? Phil On Tue, Nov 26, 2013 at 3:50 PM, Eric Roberts ow...@threeravensconsulting.com wrote: when i do that...the image is broken. If I add the per app setting it is broken. if I add the mapping in cf admin it works... On Tue, Nov 26, 2013 at 2:47 PM, Phillip Duba phild...@gmail.com wrote: Ok, do me a favor then, delete the mapping from your administrator AND your per-application mapping, Phil On Tue, Nov 26, 2013 at 3:44 PM, Eric Roberts ow...@threeravensconsulting.com wrote: this is the value of cuproot: /usr/test/softfac_test/www/htdocs/er so when it gets put intot he mapping setting it's /usr/test/softfac_test/www/htdocs/er/cup In the cfadmin the path is /usr/test/softfac_test/www/htdocs/er/cup Eric On Tue, Nov 26, 2013 at 2:40 PM, Phillip Duba phild...@gmail.com wrote: The fact that it works in this case is not the issue. CF mappings whether defined in the application and/or in the administrator operate the same way. You need to define for us, since we're not sitting their in front of your terminal, the mappings, mapping path and full path, as they appear in CF Admin as well as the docroot of your application that your web server points to for the domain this application is under, folder structure, image file folder location, does this application run under a sub domain that might cross-pollinate with the main domain, i.e., www.xxx.com and er..com points to www.xxx.com/er? As I said before, I think you are running into a coincidence that's causing you to think the application mapping in the ColdFusion administrator is assisting in the displaying of this image whereas the rest of us trying to answer your question know that it doesn't, Phil On Tue, Nov 26, 2013 at 3:32 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Then why does it work when i set up the mapping in cfadmin? No one seems to want to answer that... Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357197 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
It just occurs to me... do you have mod_rewrite running, and do you have any rewrite rules in play? -- Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357200 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
And that index page is at www.xxx.com/er/cup/index.cfm, correct? On Tue, Nov 26, 2013 at 3:54 PM, Eric Roberts ow...@threeravensconsulting.com wrote: I did...it is included in the index page... On Tue, Nov 26, 2013 at 2:53 PM, Phillip Duba phild...@gmail.com wrote: You also haven't answered my question on how the header CFM is being loaded into the application's page. Is it by CFINCLUDE, CFHTTP, part of a function call, etc.? Phil On Tue, Nov 26, 2013 at 3:50 PM, Eric Roberts ow...@threeravensconsulting.com wrote: when i do that...the image is broken. If I add the per app setting it is broken. if I add the mapping in cf admin it works... On Tue, Nov 26, 2013 at 2:47 PM, Phillip Duba phild...@gmail.com wrote: Ok, do me a favor then, delete the mapping from your administrator AND your per-application mapping, Phil On Tue, Nov 26, 2013 at 3:44 PM, Eric Roberts ow...@threeravensconsulting.com wrote: this is the value of cuproot: /usr/test/softfac_test/www/htdocs/er so when it gets put intot he mapping setting it's /usr/test/softfac_test/www/htdocs/er/cup In the cfadmin the path is /usr/test/softfac_test/www/htdocs/er/cup Eric On Tue, Nov 26, 2013 at 2:40 PM, Phillip Duba phild...@gmail.com wrote: The fact that it works in this case is not the issue. CF mappings whether defined in the application and/or in the administrator operate the same way. You need to define for us, since we're not sitting their in front of your terminal, the mappings, mapping path and full path, as they appear in CF Admin as well as the docroot of your application that your web server points to for the domain this application is under, folder structure, image file folder location, does this application run under a sub domain that might cross-pollinate with the main domain, i.e., www.xxx.comand er..com points to www.xxx.com/er? As I said before, I think you are running into a coincidence that's causing you to think the application mapping in the ColdFusion administrator is assisting in the displaying of this image whereas the rest of us trying to answer your question know that it doesn't, Phil On Tue, Nov 26, 2013 at 3:32 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Then why does it work when i set up the mapping in cfadmin? No one seems to want to answer that... Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357199 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
Thanks. Have you reset the application scope as we've asked you to add and remove the per-app mappings? Phil On Nov 26, 2013 3:55 PM, Eric Roberts ow...@threeravensconsulting.com wrote: http://www.xxx.com/cup/images/image.png when it is working it is http://www.xxx.com/er/cup/images/image.png On Tue, Nov 26, 2013 at 2:52 PM, Phillip Duba phild...@gmail.com wrote: What's the new rendered path from your generated HTML? Phil On Tue, Nov 26, 2013 at 3:50 PM, Eric Roberts ow...@threeravensconsulting.com wrote: when i do that...the image is broken. If I add the per app setting it is broken. if I add the mapping in cf admin it works... On Tue, Nov 26, 2013 at 2:47 PM, Phillip Duba phild...@gmail.com wrote: Ok, do me a favor then, delete the mapping from your administrator AND your per-application mapping, Phil On Tue, Nov 26, 2013 at 3:44 PM, Eric Roberts ow...@threeravensconsulting.com wrote: this is the value of cuproot: /usr/test/softfac_test/www/htdocs/er so when it gets put intot he mapping setting it's /usr/test/softfac_test/www/htdocs/er/cup In the cfadmin the path is /usr/test/softfac_test/www/htdocs/er/cup Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357201 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
Yes on both Philip. No...no mod rewrite Adam. On Tue, Nov 26, 2013 at 3:19 PM, Phillip Duba phild...@gmail.com wrote: Thanks. Have you reset the application scope as we've asked you to add and remove the per-app mappings? Phil On Nov 26, 2013 3:55 PM, Eric Roberts ow...@threeravensconsulting.com wrote: http://www.xxx.com/cup/images/image.png when it is working it is http://www.xxx.com/er/cup/images/image.png On Tue, Nov 26, 2013 at 2:52 PM, Phillip Duba phild...@gmail.com wrote: What's the new rendered path from your generated HTML? Phil On Tue, Nov 26, 2013 at 3:50 PM, Eric Roberts ow...@threeravensconsulting.com wrote: when i do that...the image is broken. If I add the per app setting it is broken. if I add the mapping in cf admin it works... On Tue, Nov 26, 2013 at 2:47 PM, Phillip Duba phild...@gmail.com wrote: Ok, do me a favor then, delete the mapping from your administrator AND your per-application mapping, Phil On Tue, Nov 26, 2013 at 3:44 PM, Eric Roberts ow...@threeravensconsulting.com wrote: this is the value of cuproot: /usr/test/softfac_test/www/htdocs/er so when it gets put intot he mapping setting it's /usr/test/softfac_test/www/htdocs/er/cup In the cfadmin the path is /usr/test/softfac_test/www/htdocs/er/cup Eric ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357202 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
On Tue, Nov 26, 2013 at 3:23 PM, Eric wrote: img src=/cup/images/image.png / Here's what MAY be happening here. In the case of a CFAdmin mapping: 1) Apache gets request for /cup/images/image.png 2) Apache says no such file! what say you JRun (CF9 right?) 3) JRun says: Hey! This aint no CFM file! Let's not run Application.cfc on it! 4) Then JRun says: Hey! I have a serverwide mapping for that! Awesome! 5) File gets served. In this case, the Application.cfc never executes. JRun knows about the mapping and it serves the file. Now, move that same mapping inside Application.cfc then: 1) Apache gets request for /cup/images/image.png 2) Apache says no such file! what say you JRun (CF9 right?) 3) JRun says: Hey! This aint no CFM file! Let's not run Application.cfc on it! 4) Then JRun says: I don't know nuthin about this stinking file! 5) Four Oh Four. You got served. Dance off over. Drops mic. -Cameron -- Cameron Childress -- p: 678.637.5072 im: cameroncf facebook http://www.facebook.com/cameroncf | twitterhttp://twitter.com/cameronc | google+ https://profiles.google.com/u/0/117829379451708140985 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357203 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: per application settings
Thank you Cam...now this .png is getting called from a cfm page (header.cfm ) So wouldn't the application.cfc be applied? -Original Message- From: Cameron Childress [mailto:camer...@gmail.com] Sent: Tuesday, November 26, 2013 4:48 PM To: cf-talk Subject: Re: per application settings On Tue, Nov 26, 2013 at 3:23 PM, Eric wrote: img src=/cup/images/image.png / Here's what MAY be happening here. In the case of a CFAdmin mapping: 1) Apache gets request for /cup/images/image.png 2) Apache says no such file! what say you JRun (CF9 right?) 3) JRun says: Hey! This aint no CFM file! Let's not run Application.cfc on it! 4) Then JRun says: Hey! I have a serverwide mapping for that! Awesome! 5) File gets served. In this case, the Application.cfc never executes. JRun knows about the mapping and it serves the file. Now, move that same mapping inside Application.cfc then: 1) Apache gets request for /cup/images/image.png 2) Apache says no such file! what say you JRun (CF9 right?) 3) JRun says: Hey! This aint no CFM file! Let's not run Application.cfc on it! 4) Then JRun says: I don't know nuthin about this stinking file! 5) Four Oh Four. You got served. Dance off over. Drops mic. -Cameron -- Cameron Childress -- p: 678.637.5072 im: cameroncf facebook http://www.facebook.com/cameroncf | twitterhttp://twitter.com/cameronc | google+ https://profiles.google.com/u/0/117829379451708140985 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357204 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: per application settings
No it wouldn't. Its being served and called through the browser, that's why you can view it directly. The scenario Cameron describes is very close to what happened to me 2 weeks ago with a mapping, Phil On Nov 26, 2013 6:15 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Thank you Cam...now this .png is getting called from a cfm page (header.cfm ) So wouldn't the application.cfc be applied? -Original Message- From: Cameron Childress [mailto:camer...@gmail.com] Sent: Tuesday, November 26, 2013 4:48 PM To: cf-talk Subject: Re: per application settings On Tue, Nov 26, 2013 at 3:23 PM, Eric wrote: img src=/cup/images/image.png / Here's what MAY be happening here. In the case of a CFAdmin mapping: 1) Apache gets request for /cup/images/image.png 2) Apache says no such file! what say you JRun (CF9 right?) 3) JRun says: Hey! This aint no CFM file! Let's not run Application.cfc on it! 4) Then JRun says: Hey! I have a serverwide mapping for that! Awesome! 5) File gets served. In this case, the Application.cfc never executes. JRun knows about the mapping and it serves the file. Now, move that same mapping inside Application.cfc then: 1) Apache gets request for /cup/images/image.png 2) Apache says no such file! what say you JRun (CF9 right?) 3) JRun says: Hey! This aint no CFM file! Let's not run Application.cfc on it! 4) Then JRun says: I don't know nuthin about this stinking file! 5) Four Oh Four. You got served. Dance off over. Drops mic. -Cameron -- Cameron Childress -- p: 678.637.5072 im: cameroncf facebook http://www.facebook.com/cameroncf | twitterhttp://twitter.com/cameronc | google+ https://profiles.google.com/u/0/117829379451708140985 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357205 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: per application settings
I think we are focusing on the actual image too much here...I am talking about the path to the image. So this is before anything gets served... Eric -Original Message- From: Phillip Duba [mailto:phild...@gmail.com] Sent: Tuesday, November 26, 2013 6:37 PM To: cf-talk Subject: RE: per application settings No it wouldn't. Its being served and called through the browser, that's why you can view it directly. The scenario Cameron describes is very close to what happened to me 2 weeks ago with a mapping, Phil On Nov 26, 2013 6:15 PM, Eric Roberts ow...@threeravensconsulting.com wrote: Thank you Cam...now this .png is getting called from a cfm page (header.cfm ) So wouldn't the application.cfc be applied? -Original Message- From: Cameron Childress [mailto:camer...@gmail.com] Sent: Tuesday, November 26, 2013 4:48 PM To: cf-talk Subject: Re: per application settings On Tue, Nov 26, 2013 at 3:23 PM, Eric wrote: img src=/cup/images/image.png / Here's what MAY be happening here. In the case of a CFAdmin mapping: 1) Apache gets request for /cup/images/image.png 2) Apache says no such file! what say you JRun (CF9 right?) 3) JRun says: Hey! This aint no CFM file! Let's not run Application.cfc on it! 4) Then JRun says: Hey! I have a serverwide mapping for that! Awesome! 5) File gets served. In this case, the Application.cfc never executes. JRun knows about the mapping and it serves the file. Now, move that same mapping inside Application.cfc then: 1) Apache gets request for /cup/images/image.png 2) Apache says no such file! what say you JRun (CF9 right?) 3) JRun says: Hey! This aint no CFM file! Let's not run Application.cfc on it! 4) Then JRun says: I don't know nuthin about this stinking file! 5) Four Oh Four. You got served. Dance off over. Drops mic. -Cameron -- Cameron Childress -- p: 678.637.5072 im: cameroncf facebook http://www.facebook.com/cameroncf | twitterhttp://twitter.com/cameronc | google+ https://profiles.google.com/u/0/117829379451708140985 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357206 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: per application settings
it parses html in a cfm file...it parses it to see if there are any cf elements in it that it needs to render...like variables and mappings... This is a long thread, and I'm kind of woozy so I didn't read every response, but just in case this hasn't been fully addressed: this is not entirely accurate. CF parses the page all right, but it only looks for specific tags that it knows in advance. Everything else is passed as-is to the buffer, where it will eventually be returned to the browser. By default, the only thing that CF looks for is CFML tags, but you can expand this to individual HTML tags by writing a custom tag that corresponds to the HTML tag in question. That is pretty rare, so we can probably safely disregard that here. CF does not do anything with variables or mappings unless they occur within the context of a CFML tag. Second, CF doesn't use mappings for anything except CF's own tags. They are analogous to, but not identical to, web server mappings which are handled only by the web server. Also, mappings are only used at runtime - CF doesn't rewrite page content to evaluate a mapping, it just goes to the location where the mapping points to find the file you're looking for. If you're seeing other behavior, there is some other explanation that has nothing to do with CF mappings specifically. For example, the default mappings in CF are often replicated by your web server - the mapping for / in CF will point to the web root, and the mapping for /CFIDE will point to the CFIDE directory that by default is placed directly within the web root. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357207 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm