Dusty, there are a few potential problems. First, are you saying that you installed CF10 telling it to connect to IIS during the installer, telling it to run with "all sites"? And then after that, did you load up the CF Admin with localhost or 127.0.0.1 (which worked), but now find that when you added a new IIS site, and are trying to browse pages there, it's not working (except in the root)?
In that case, the problem may not be so much "with CF10", but rather due to a difference in IIS 7 (which also applied to 9.0.1). Only 9.0.1 and 10 are supported for IIS 7, unless one runs in IIS 6 compatibility mode (and to some other manual tweaks to get earlier releases to work.) And one of the differences of running CF 9.0.1 or 10 against IIS 7 in its native mode is that, even if you may tell it to configure "all sites", it (IIS) no longer causes newly added sites to inherit all the settings set for the server. So as Mark said, you need to re-run the CF web server config tool whenever you add a site, to remove and re-add the option to connect "all sites". It's annoying, but again it's not new in CF 10. It's just that often people "moving to 10" are also "moving to Windows 7" or "moving to Windows 2008" for the first time, likely running a shiny new install of IIS 7, which (unless you change it) is running in native IIS 7 mode (versus IIS 6 Compat mode.) As such, they then experience this "difference" connecting CF to IIS 7. The need to do this reconfiguration on new sites is indeed documented in the CF 9.0.1 and 10 docs, and in the config tool, and the installer, but people often miss it (expecting that things work as they always have, and that the discussion is not something "new", I think.) Here, also, is another gotcha: in Windows 7 and 2008, there's also new security (better, but tighter and it gets in the way sometimes compared to old experience/expectations). I have seen many people who, even though their user "was a Windows administrator account" or "in the Admin group", they still needed to choose manually to "run as administrator" when launching the CF web server config tool. If you use the GUI, right-click on it in Start>All Programs>Adobe>ColdFusion x>Wed Server Configuration and choose "run as administrator". If using the command line, do that same right-click trick when opening the command prompt. Let us know if any of that helps. /charlie From: [email protected] [mailto:[email protected]] On Behalf Of Dusty Hale Sent: Tuesday, November 20, 2012 4:51 PM To: [email protected] Subject: Re: [ACFUG Discuss] running coldfusion apps on Mac Well I kind of abandoned the idea and today actually I installed CF 10 in the new Win 7 Pro Virtual Machine (vmware) I've set up. I added a new site in IIS and have configured that to work with CF and created an ODBC via CF admin for the site (it works). The problem I'm now running into is that sites in IIS don't seem to work correctly unless it's all in the default site and in the default wwwroot folder. The new IIS site I set up does work when I pull up the homepage. However, if I browse to any page located in a subfolder, I get a 404 error even though the page does exist and the in the 404 error it shows the physical path to the wwwroot folder even though the site was set up in IIS to point to c:\websites\mysite\ ... I've tried everything known to man and have been googling all day about it and still nothing. I'm totally stuck and frustrated. Now I'm thinking about going back to the idea of putting CF on the mac side but I'm confused if I should install a web server on the mac side or use the built in webserver in CF and I would really like to understand why I can't get sites on the IIS side to work unless they're in the default site and wwwroot folder. If anyone has any insight to that it would be most appreciated. Thanks, Dusty On Thu, Nov 15, 2012 at 12:02 PM, Steve Ross <[email protected]> wrote: http://www.virtualbox.org/manual/ch06.html#network_hostonly On Thu, Nov 15, 2012 at 1:00 PM, Steve Ross <[email protected]> wrote: Are you using Virtualbox? Sounds like you could use host only mode on the VM to do something like that but, I haven't ever used it. I just typically go into my /etc/hosts on my mac and change the IP if the windows vm's IP changes. On Tue, Nov 13, 2012 at 9:13 PM, Dusty Hale <[email protected]> wrote: Steve thanks for the info. I'm familiar with configuring a hosts file on a Windows machine. I'm not sure if the IP on my VM is dynamically assigned or not so this is a concern. I seem to remember in the past hitting an IIS site on the VM from the mac side and always having to change the IP. If you have any other info about how to solve that problem, please share and if not I will google up something to try and resolve that. Are you saying I could configure the hosts file on the VM for this. If you have an example line from your hosts file that would be awesome :-) Thanks again, Dusty On Tue, Nov 13, 2012 at 7:28 PM, Steve Ross <[email protected]> wrote: Yup, That is my setup. Simply install CF and create a DSN to your VM. I typically like to add something to my /etc/hosts to point to sql server incase you dynamically assign an IP for your VM. So I have in my /etc/hosts a definition for "sql.vm" and point that at the IP for my VM's sql server instance. I like it better than creating a shared drive and creating a smb share. That always seems clunky. Also, apache will let you setup n vhosts so you can actually run apps without having to muck with creating a different context etc for the apps to run under. Hope that helps. On Tue, Nov 13, 2012 at 7:48 PM, Dusty Hale <[email protected]> wrote: I'm loading up VMWare and Win 7 Pro on a new macbook and was planning to install CF and SQL Server on Win 7 virtual machine. However, this is just a thought and I'm curious if anyone has ever run a CF server on the Mac side but use an SQL Server database that would reside on the Win 7 virtual machine. I'm sure this is probably possible but is it a good idea or does anyone have any thought about this? -Dusty -- Steve Ross web application & interface developer http://blog.stevensross.com [mobile] (912) 344-8113 <tel:%28912%29%20344-8113> [ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ] -- Dusty Hale Email: [email protected] Phone (USA): +1.850.387.2321 <tel:%2B1.850.387.2321> Skype (World Wide): dustyhale CONFIDENTIALITY NOTICE: This transmission and any accompanying information are intended exclusively for the addressee. Information may be proprietary, privileged, and confidential or otherwise legally exempt from disclosure. The authorized recipient of this information is prohibited from disclosing this information to any other unauthorized party and is required to maintain the privacy/security of the information. If you are not the addressee, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this message in error, please contact the sender immediately and, unless instructed otherwise by sender, destroy or delete the message and accompanying information completely from all systems and within standards required by State or Federal law. -- Steve Ross web application & interface developer http://blog.stevensross.com [mobile] (912) 344-8113 <tel:%28912%29%20344-8113> [ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ] -- Steve Ross web application & interface developer http://blog.stevensross.com [mobile] (912) 344-8113 [ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ] -- Dusty Hale Email: [email protected] Phone (USA): +1.850.387.2321 Skype (World Wide): dustyhale CONFIDENTIALITY NOTICE: This transmission and any accompanying information are intended exclusively for the addressee. Information may be proprietary, privileged, and confidential or otherwise legally exempt from disclosure. The authorized recipient of this information is prohibited from disclosing this information to any other unauthorized party and is required to maintain the privacy/security of the information. If you are not the addressee, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this message in error, please contact the sender immediately and, unless instructed otherwise by sender, destroy or delete the message and accompanying information completely from all systems and within standards required by State or Federal law. ------------------------------------------------------------- To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
