Re: cfm files bypass permissions -- htm files get 401 unauthorized

2012-10-25 Thread Byron Mann

Yeah, I have experienced that in the past. Some of those scenarios can be
handled with virtual directories pointing to whatever folder and dummy
files in those folders.

Don't think I've done that since CF 7.

Byron Mann
Lead Engineer & Architect
Hostmysite.com
 On Oct 25, 2012 1:29 PM, "Russ Michaels"  wrote:

>
> unfortunately if you enable this option it will also break other things,
> like cfchart, cfimage and tags where a pointer to a generated image file is
> used because the pointer file (graphdata.cfm for example) doesn't really
> exist. So if IIS checks the file exists before passing the request to cf,
> it will give a 404 error.
>
> On Thu, Oct 25, 2012 at 4:46 PM, Chris <0404tow...@gmail.com> wrote:
>
> >
> > WE HAVE A WINNER!
> >
> > Yes, that's exactly what the fix is -- telling IIS to check the file
> > exists before passing it to ColdFusion for processing.
> >
> > I don't know how our apps with folder permissions have (apparently)
> > been trouble-free for years, but it looks like we've now fixed this
> > issue. Perhaps using HTTPS for this new app is what surfaced the
> > issue.
> >
> > So ColdFusion was going around IIS, not because ColdFusion had
> > permission, but because IIS wasn't checking the .cfm file's existence
> > before passing it to ColdFusion.
> >
> > Thanks Byron, and also Russ and others for the help.
> >
> > Chris
> >
> >
> > On Thu, Oct 25, 2012 at 12:12 AM, Byron Mann 
> wrote:
> > >
> > > There is somewhere in the handler mappings in iis to "check if the file
> > > exists". If it is unchecked I do not think IIS touches the file system.
> > >
> > > Maybe?
> >
> >
>
> 

~|
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:353006
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CF10 Solr Searches using Addresses

2012-10-25 Thread Carl Von Stetten

I have a ColdFusion 10-based GIS application with a search form. One of 
the searches that can be performed is an address search. Address data is 
stored in an enterprise database that I can't alter, so I have to work 
with it the way it is.

Addresses are broken apart into six separate database columns, not 
counting the city, state or zip code.  Not every address uses every one 
of the six columns, but some use as many as five of them.

Anyway, the search form currently is rather cumbersome as users have to 
enter pieces of the address into different form fields.  It works, but 
as I said, it's cumbersome.

I decided to try to see if I could use Solr to do more intelligent 
address searches from one form field, ala Google or Yahoo maps.  I 
created a collection on my dev server.  I wrote a query that assembled 
the six pieces into a single address column, then used  to put 
the query results into the index (I put the address column into the body 
attribute of ).  Last, I wrote a simple one field form to 
perform the search.

This seems to work, but it pulls back a horrifically large amount of 
results of dubious match quality.  For example, a search using "1234 
Main St" (fictitious example address to protect the innocent) returned 
34,040 rows out of 123,000 address records.  The reason? It's finding 
matches to any single piece of the search string.

 From the ColdFusion docs, it looks like I might be able to tighten up 
the search results by prefixing each "piece" of the search criteria with 
a "+" character.  However, that will force exact matches (except when 
the street name is also the city name, such as Oakland Blvd in the city 
of Oakland), and I'd like to keep a little bit of "fuzzy" search 
capability for typos and such (like Google does).

Has anyone played around with parsing addresses and assembling an 
optimized Solr search?  I'm hoping to save some time on experimentation.

Thanks,
Carl V.

~|
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:353005
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfm files bypass permissions -- htm files get 401 unauthorized

2012-10-25 Thread Russ Michaels

unfortunately if you enable this option it will also break other things,
like cfchart, cfimage and tags where a pointer to a generated image file is
used because the pointer file (graphdata.cfm for example) doesn't really
exist. So if IIS checks the file exists before passing the request to cf,
it will give a 404 error.

On Thu, Oct 25, 2012 at 4:46 PM, Chris <0404tow...@gmail.com> wrote:

>
> WE HAVE A WINNER!
>
> Yes, that's exactly what the fix is -- telling IIS to check the file
> exists before passing it to ColdFusion for processing.
>
> I don't know how our apps with folder permissions have (apparently)
> been trouble-free for years, but it looks like we've now fixed this
> issue. Perhaps using HTTPS for this new app is what surfaced the
> issue.
>
> So ColdFusion was going around IIS, not because ColdFusion had
> permission, but because IIS wasn't checking the .cfm file's existence
> before passing it to ColdFusion.
>
> Thanks Byron, and also Russ and others for the help.
>
> Chris
>
>
> On Thu, Oct 25, 2012 at 12:12 AM, Byron Mann  wrote:
> >
> > There is somewhere in the handler mappings in iis to "check if the file
> > exists". If it is unchecked I do not think IIS touches the file system.
> >
> > Maybe?
>
> 

~|
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:353004
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfm files bypass permissions -- htm files get 401 unauthorized

2012-10-25 Thread Chris

WE HAVE A WINNER!

Yes, that's exactly what the fix is -- telling IIS to check the file
exists before passing it to ColdFusion for processing.

I don't know how our apps with folder permissions have (apparently)
been trouble-free for years, but it looks like we've now fixed this
issue. Perhaps using HTTPS for this new app is what surfaced the
issue.

So ColdFusion was going around IIS, not because ColdFusion had
permission, but because IIS wasn't checking the .cfm file's existence
before passing it to ColdFusion.

Thanks Byron, and also Russ and others for the help.

Chris


On Thu, Oct 25, 2012 at 12:12 AM, Byron Mann  wrote:
>
> There is somewhere in the handler mappings in iis to "check if the file
> exists". If it is unchecked I do not think IIS touches the file system.
>
> Maybe?

~|
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:353003
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Multiple Application Files

2012-10-25 Thread Steve Milburn

I needed a solution for this exact problem.  I developed a set of web
services that applications call in onApplicationStart().  These web
services contain functions for, among other things, determining the current
school year and marking period based on the current date.

-Steve



On Wed, Oct 24, 2012 at 4:26 PM, Hunsaker, Michael Scott <
mhuns...@indiana.edu> wrote:

>
> Hello -
>
> I wanted to get your advice on managing multiple application files.  We
> have several systems in one office... each of those systems has an
> application file.  And each of those application has a variable called
> "application.app_year". I own a couple of the systems but another team owns
> the other systems.  Each summer, the "application.app_year" variable needs
> to be updated to reflect the new academic year.  I update my systems and
> then notify the other team to update the variable in their systems.  It
> would be great to update the variable in a single location and then "push"
> that to all appropriate systems.
>
> Is it possible to store the application variable values in a database or
> .INC file?  Any other ideas?
>
> Given our current setup, we are unable to have a single application file
> and then extend it to sub applications.  Unfortunately.  I am looking for
> an easy way to store the application variable values in a text file,
> database, etc... so I can store them in one central location, and then pull
> the information directly from that spot.
>
> Any advice would be appreciated!
>
> Thanks -
>
> Mike
>
> Mike Hunsaker
> Indiana University, Kelley School of Business
> 1275 East Tenth Street, Suite 3110F
> Bloomington, IN  47405
> 812.855.7024
> mhuns...@indiana.edu
>
>
>
> 

~|
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:353002
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cf eclipse projects and github

2012-10-25 Thread Steve 'Cutter' Blades

I find that using separate workspaces helps with this. Having a 
workspace for a particular project, which may only include a few 
'projects', to break it all up gives some separation, and my eclipse 
loads and runs much faster.

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 10/16/2012 8:21 AM, Cameron Childress wrote:
> On Fri, Oct 12, 2012 at 2:00 PM, Brian Thornton wrote:
>
>> I'm find for each new project eclipse starts to choke a little more... I've
>> closed the unused projects...
>
> Having too many projects open at once in Eclipse will catch up to you, and
> it doesn't have anything to do with GitHub. Every now and then I right
> click on the project I am working on and select "close unrelated projects".
>
> -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:353001
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: ColdFusion10 IIS7.5 and AKO SSO Authentication

2012-10-25 Thread DURETTE, STEVEN J

Could it be because IIS just passes off cfm requests to ColdFusion? There was 
just a related thread where someone suggested that a setting be changed so that 
IIS verifies that the file is created, instead of having cf do it. That way 
maybe IIS would check the file existence then pass off to siteminder, then to 
cf.

Of course I've never used siteminder so I could be totally off here, I'm just 
trying to help you in the right direction.

-Original Message-
From: Bern Weed [mailto:bernadette.w...@us.army.mil] 
Sent: Thursday, October 25, 2012 8:50 AM
To: cf-talk
Subject: ColdFusion10 IIS7.5 and AKO SSO Authentication


Anyone had any success in getting ColdFusion 10 on Windows 2008 R2 Server,IIS 
7.5, to work with Siteminder for AKO SSO authentication.  If I call and .html 
file siteminder authentication works, but if I call a .cfm file then the 
authentication does not work and the file is just displayed.  I've talked with 
AKO on this issue and they say it is an issue with the ColdFusion ISAPI filter 
in that it keeps taking precedence over the Siteminder filter.  When I look at 
the ordered list on the ISAPI filters in IIS it appears that Siteminder if 
first.  Anyone had any success with this or have any ideas.  Thanks. 



~|
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:353000
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


ColdFusion10 IIS7.5 and AKO SSO Authentication

2012-10-25 Thread Bern Weed

Anyone had any success in getting ColdFusion 10 on Windows 2008 R2 Server,IIS 
7.5, to work with Siteminder for AKO SSO authentication.  If I call and .html 
file siteminder authentication works, but if I call a .cfm file then the 
authentication does not work and the file is just displayed.  I've talked with 
AKO on this issue and they say it is an issue with the ColdFusion ISAPI filter 
in that it keeps taking precedence over the Siteminder filter.  When I look at 
the ordered list on the ISAPI filters in IIS it appears that Siteminder if 
first.  Anyone had any success with this or have any ideas.  Thanks. 

~|
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:352999
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Multiple Application Files

2012-10-25 Thread Hunsaker, Michael Scott

Thanks all!  I appreciate your feedback.

Mike

-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Wednesday, October 24, 2012 5:42 PM
To: cf-talk
Subject: Re: Multiple Application Files


you could use XML, WDDX, JSON, .ini file or how about you just have a CFC on 
site one that sets the variables and then call that CFC from the other sites, 
either directly or as a web service if they are on different servers.


On Wed, Oct 24, 2012 at 9:26 PM, Hunsaker, Michael Scott < 
mhuns...@indiana.edu> wrote:

>
> Hello -
>
> I wanted to get your advice on managing multiple application files.  
> We have several systems in one office... each of those systems has an 
> application file.  And each of those application has a variable called 
> "application.app_year". I own a couple of the systems but another team 
> owns the other systems.  Each summer, the "application.app_year" 
> variable needs to be updated to reflect the new academic year.  I 
> update my systems and then notify the other team to update the 
> variable in their systems.  It would be great to update the variable in a 
> single location and then "push"
> that to all appropriate systems.
>
> Is it possible to store the application variable values in a database 
> or .INC file?  Any other ideas?
>
> Given our current setup, we are unable to have a single application 
> file and then extend it to sub applications.  Unfortunately.  I am 
> looking for an easy way to store the application variable values in a 
> text file, database, etc... so I can store them in one central 
> location, and then pull the information directly from that spot.
>
> Any advice would be appreciated!
>
> Thanks -
>
> Mike
>
> Mike Hunsaker
> Indiana University, Kelley School of Business
> 1275 East Tenth Street, Suite 3110F
> Bloomington, IN  47405
> 812.855.7024
> mhuns...@indiana.edu
>
>
>
> 



~|
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:352998
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion .Net add new site in IIS integration

2012-10-25 Thread Maureen

Have you verified that all appropriate ports are open and that this is not
a firewall issue?

On Thu, Oct 18, 2012 at 4:56 AM, Akos Fortagh wrote:

>
> thanks Russ, we believe we have tried all that on your list and still
> getting the same error.
> We must be overlooking something obvious, but if you have any other
> suggestions we'd appreciate it.
> thanks again
>


~|
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:352997
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion .Net add new site in IIS integration

2012-10-25 Thread Akos Fortagh

Thanks Russ again for your help. We ended up using a totally different method. 
Instead of CF calling the .net object it calls a powershell script instead.
Still a mystery why it wouldn't work though, very frustrating too
Thanks again 

~|
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:352996
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm