Re: (ot) Site issue with Safari 5.01 on Mac

2010-08-16 Thread mac jordan
On Mon, Aug 16, 2010 at 1:44 AM, Rick Root rick.r...@gmail.com wrote: We've got a user saying that their site is scred up on Safari 5.01 on Mac Looks fine in Safari 5.1 here, on my Mac Pro running Snow Leopard patched up to date. -- mac jordan www.kestrel.org | www.reactivecooking.com |

Re: Extracting data from Java ByteArrayOutputStream

2010-08-16 Thread Pete Freitag
On Fri, Aug 13, 2010 at 2:03 PM, Jeff Chastain li...@admentus.com wrote:  Pete, This does have me an ASCII string of the contents of the byte array. After a lot of string parsing, I can get the SOAP envelope out and convert it to XML.  However, the binary images that are also included here

Re: Preventing use of remote method by other sites

2010-08-16 Thread Raymond Camden
Don't forget you can easily set those headers yourself. I could setup cfhttp to use that header and hit your resource. On Fri, Aug 13, 2010 at 3:31 PM, Andy Matthews li...@commadelimited.com wrote: Works perfectly Tony. I simplified the conditional tho' cfif

RE: Preventing use of remote method by other sites

2010-08-16 Thread Andy Matthews
Yes, but would you know TO do that? andy -Original Message- From: Raymond Camden [mailto:rcam...@gmail.com] Sent: Monday, August 16, 2010 11:30 AM To: cf-talk Subject: Re: Preventing use of remote method by other sites Don't forget you can easily set those headers yourself. I could

Re: Preventing use of remote method by other sites

2010-08-16 Thread Raymond Camden
Sorry - what? Oh - are you asking if I would know to use that vector? If I run your site and see a request made via XHR to foo.cfm, and then I try to run it myself in another tab and get blocked, then yes, I would consider that. And I'm a Script Kiddy Hacker so I assume the real guys would try it

RE: Preventing use of remote method by other sites

2010-08-16 Thread Andy Matthews
Right. I know that. Good point though. I suppose I could get our JS guy to also pass in a session id. Then I could compare that with the actual session ID for the user and go from there. -Original Message- From: Raymond Camden [mailto:rcam...@gmail.com] Sent: Monday, August 16, 2010

image dimensions on mapped drive file

2010-08-16 Thread Matthew Smith
I need to get the dimensions of some images. In my local environment, my wwwroot is located on a mapped drive at: \\awesome-pc\inetpub\wwwroot\ It is also mapped on the server as: z:\wwwroot\ I found a couple of methods to get image dimensions, and am using the one from this thread:

Re: Preventing use of remote method by other sites

2010-08-16 Thread Raymond Camden
Which can also be done via CFHTTP as well. ;) Not trying to be a jerk here - but the fact is, there is no (afaik) 100% way to say that a URL is ajax only. On Mon, Aug 16, 2010 at 11:51 AM, Andy Matthews li...@commadelimited.com wrote: Right. I know that. Good point though. I suppose I could

RE: image dimensions on mapped drive file

2010-08-16 Thread Andy Matthews
Does ColdFusion have access to that drive? Can you generate a list of files, and their permissions with cfdirectory for example? andy -Original Message- From: Matthew Smith [mailto:chedders...@gmail.com] Sent: Monday, August 16, 2010 12:31 PM To: cf-talk Subject: image dimensions on

RE: Preventing use of remote method by other sites

2010-08-16 Thread Andy Matthews
You're not being a jerk. Those are all good points. I doubt anyone's going to care to mess with it. Even if they do, the most that will happen is that one site's usability stats get inflated. andy -Original Message- From: Raymond Camden [mailto:rcam...@gmail.com] Sent: Monday, August

Re: image dimensions on mapped drive file

2010-08-16 Thread Matthew Smith
cfdirectory directory=z:\wwwroot\domain_com\includes\www_domain_com\dev\images\products\ action=list name=dir_list produces empty list cfdirectory directory=\\awesome-pc\inetpub\wwwroot\domain_com\includes\www_domain_com\dev\images\products\ action=list name=dir_list lists the files as it

Re: image dimensions on mapped drive file

2010-08-16 Thread Michael Grant
I'm thinking you need to add the user account that CF runs under to the permissions of the mapped drive. On Mon, Aug 16, 2010 at 3:12 PM, Matthew Smith chedders...@gmail.comwrote: cfdirectory directory=z:\wwwroot\domain_com\includes\www_domain_com\dev\images\products\ action=list

Re: image dimensions on mapped drive file

2010-08-16 Thread Rick Root
Drive mappings only exist as part of a login session. The Z: drive does not exist if nobody is logged into the computer. I think what you need to do, if you want to use drive mappings, is have coldfusion log into some account (other than system), and set up the drive mapping for that user

Re: image dimensions on mapped drive file

2010-08-16 Thread Matthew Smith
All CF services are starting under my user account. The mapped drive is on a windows 7 box, and I can't figure out how to put a xp user on it. The share allows everyone read write. On Mon, Aug 16, 2010 at 2:50 PM, Rick Root rick.r...@gmail.com wrote: Drive mappings only exist as part of a

Re: image dimensions on mapped drive file

2010-08-16 Thread Dave Watts
cfdirectory directory=z:\wwwroot\domain_com\includes\www_domain_com\dev\images\products\ action=list name=dir_list produces empty list cfdirectory directory=\\awesome-pc\inetpub\wwwroot\domain_com\includes\www_domain_com\dev\images\products\ action=list name=dir_list There are two

Re: image dimensions on mapped drive file

2010-08-16 Thread Dave Watts
All CF services are starting under my user account.  The mapped drive is on a windows 7 box, and I can't figure out how to put a xp user on it.  The share allows everyone read write. I don't think this will work unless both machines are within the same domain. Dave Watts, CTO, Fig Leaf

CF/Git Integration - Issues with pathing to remote

2010-08-16 Thread adam sontag
Hi all, I'm doing a bit of Git integration in my app, and I have run into a fairly sticky situation. By using CFX_ConsoleCommand or CFExecute, I am able to make most git commands with ease. I can commit, tag, diff, status, log, etc, etc. The problem arises when I attempt to push or pull

Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Laura Norris
It is not advisable to use your default cfusion instance for development. You should create another instance of cf9 and use that as your development server. The default instance should only be used to manage your instances. I personally don't know of anything preventing cfbuilder from

RE: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Andrew Scott
Laura, where is it written that you should not use the default cfusion instance for development? As far as I can tell it is just an interface to the underlying JRun functions to start, stop and deploy instances. This is not what I would say I breaker for having to create a new instance in my

Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Dave Watts
Laura, where is it written that you should not use the default cfusion instance for development? As far as I can tell it is just an interface to the underlying JRun functions to start, stop and deploy instances. I don't know that it's written anywhere, but I'd make the same recommendation as

Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Ian Skinner
On 8/16/2010 2:25 PM, Andrew Scott wrote: Laura, where is it written that you should not use the default cfusion instance for development? The way I read it was that you should not use cfusion if you also plan to create new instances for other development in the future of other projects.

Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Ian Skinner
On 8/16/2010 2:18 PM, Laura Norris wrote: I put together a presentation detailing how to install multi-server. http://slidesix.com/view/Installing-Multiple-Versions-of-ColdFusion-Together Your link is throwing HTTP 500 errors at the moment.

RE: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Andrew Scott
Sorry, but as this is for development I don't think this should be a set in stone thing. I can deploy a new ear/war, and not want those settings copied across in my development. The only time I would want to copy all my datasource's etc. would be if I was going into a production scenario, but

Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Dave Watts
Sorry, but as this is for development I don't think this should be a set in stone thing. Nothing is set in stone. I can deploy a new ear/war, and not want those settings copied across in my development. The only time I would want to copy all my datasource's etc. would be if I was going

RE: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Andrew Scott
I would not want too, I can see benefits to it so I am not saying it shouldn't but there are different ways of setting up for development and I am afraid this rule of advisement is not something I would go around telling people that they should do this, unless I knew what they were trying to

Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Judah McAuley
The whole point of best practices is to codify what most smart people would suggest as a set of default behaviors. For any given best practice there are likely to be good reasons to deviate from it. For example, normalizing your data in an rdbms is considered a best practice. However, there are

Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Dave Watts
I would not want too, I can see benefits to it so I am not saying it shouldn't but there are different ways of setting up for development and I am afraid this rule of advisement is not something I would go around telling people that they should do this, unless I knew what they were trying to

RE: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Andrew Scott
No there might not be, but I find it hard to accept that people are telling me to install a new instance and have two instances of ColdFusion 9 running and for what purpose? Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Dave Watts

RE: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Andrew Scott
I don't think I would put this in the class of Best Practice. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Judah McAuley [mailto:ju...@wiredotter.com] Sent: Tuesday, 17 August 2010 8:18 AM To: cf-talk Subject: Re: CFBuilder Server Setup with CF

Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Dave Watts
No there might not be, but I find it hard to accept that people are telling me to install a new instance and have two instances of ColdFusion 9 running and for what purpose? I don't know who's telling you what, but I don't see anyone telling you to install a new instance. What I do see, is

RE: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Andrew Scott
Dave, I am sorry but if I install one, two, three instances and I wish to use the very initial instance there should be no reason not to. I would like someone to give me a very valid good reason why it is frowned upon? I might have one instance for one client, and another for another client.

Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Dave Watts
I am sorry but if I install one, two, three instances and I wish to use the very initial instance there should be no reason not to. I would like someone to give me a very valid good reason why it is frowned upon? I can only reiterate what I've said already. If it's not good enough for you,

Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Ian Skinner
On 8/16/2010 3:29 PM, Andrew Scott wrote: Dave, I am sorry but if I install one, two, three instances and I wish to use the very initial instance there should be no reason not to. I would like someone to give me a very valid good reason why it is frowned upon? I might have one instance

Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Adrocknaphobia
@Jeff: Best practices aside... if you want to drop me a line at adrock at adobe dot com, we can get to the bottom of your CB config issue. -Adam On Mon, Aug 16, 2010 at 6:44 PM, Ian Skinner h...@ilsweb.com wrote: On 8/16/2010 3:29 PM, Andrew Scott wrote: Dave, I am sorry but if I

Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Andy Allan
I'm not sure if I can find the email or not (it's from the CF7.01 or 7.02 beta) but Stephen Dupre, who was part of the CF QA team at the time stated that the cfusion instance had unfortunately been misused by the CF community at large, although this was partly down to Macromedia not communicating

RE: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Andrew Scott
Ok that makes a bit more sense, but I don't use it anyway and prefer to do it through JRun. Maybe we could partition an option to migrate the settings or not perhaps. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Ian Skinner [mailto:h...@ilsweb.com]

RE: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Andrew Scott
Ok, the key there is production use and we are talking development here. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Andy Allan [mailto:andy.al...@gmail.com] Sent: Tuesday, 17 August 2010 8:57 AM To: cf-talk Subject: Re: CFBuilder Server Setup with

Re: CFBuilder Server Setup with CF Multiserver Installation

2010-08-16 Thread Andy Allan
Indeed - I just wanted to try and help clarify the purpose of cfusion which means that even in development it's intent was not actually meant for developing against. But again, if it's working for you, and you're happy, keep using it. As an aside, after we perform a multi-server install

Yahoo! API and Oauth

2010-08-16 Thread Matthew Reinbold
I'm currently trying to use a Yahoo!'s API that requires that I use Oauth before being able to consume the service. A sample REST request, otherwise ridiculously simple in CF, goes nowhere without authenticating first. For example, hitting:

RE: Move CF website to non CF host

2010-08-16 Thread UXB Internet
I would like to move that site to be hosted without CF (or MS SQL). The short answer is no you need a CF server to process CF pages (*.cfm). However, you can capture your website in pure HTML regardless of what CF is doing under the hood. You just need to be aware of some gotcha's when

Re: Yahoo! API and Oauth

2010-08-16 Thread Matthew Reinbold
And just as a follow up, I'm aware of Harry Klein's Ria Forge Oauth library - http://oauth.riaforge.org/ . I'm just unclear of how to use it with Yahoo!, what server I need to authorize against, etc. -Matthew ~| Order the