I do have the CFIDE mapped in the other sites too. CF seems to execute
fine. I think this is a problem in IIS or something. This is what I'm
actually running into now:

Windows 7 Pro with IIS 7.5

1. CF and SQL successfully installed and datasources are set up and working.

2. As long as I use the default site in IIS everything things seems to work
fine. Even if I point the site to a different folder other that default
wwwroot folder, all is well.

3. If I add new site and point that to a different folder (like
c:\websites\mysite) there are problems. For example I added a new CF site
on a different port 88 and browse it with http://localhost:88. It pulls up
the homepage inside the root folder just fine and it executes CF code.
However, any other page inside of a subfolder generates a 404 error and in
the error it displays the path to the default wwwroot folder
(c:\Inetpub\wwwroot\subfoldername) instead of the actual path set up in the
IIS site (c:\websites\mysite).

For now I'm solving the issue by just changing the default website in IIS
to point to the correct folder (c:\websites\mysite). However, now I'm stuck
with only being able to run one site so hopefully I'll figure out a
solution soon.

Thanks for listening ;-)

Dusty


On Tue, Nov 20, 2012 at 4:48 PM, william beers
<[email protected]>wrote:

> Just throwing out some ideas but you should have CFIDE mapped in the other
> sites as a virtual directory I think.  That may help you execute cf pages
> on the non-default website.
>
> From: Dusty Hale <[email protected]>
> Reply-To: <[email protected]>
> Date: 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
>>>>> [ 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.
>>>>
>>>>
>>>
>>>
>>> --
>>> Steve Ross
>>> web application & interface developer
>>> http://blog.stevensross.com
>>> [mobile] (912) 344-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 ]
>>
>
>
>
>

Reply via email to