House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Virtual pathing issue

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Nick Simone
12/02/2011 02:08 PM

Posted this to the wrong list before.. My bad. I'm having some issues with a shared host and fw/1 that I was wondering if anyone has ever seen/heard of. Basically everything works great until I try to redirect to a shared SSL url. It seems that the shared SSL is a virtual folder that is pointed at the root of my 'user' folder on the shared server. The issue I'm seeing here is that the when I try to redirect to this virtual path - fw/1 has problems finding the relative path to the cfc. CF omits the user from the path. So for example if I had my files at: D:\clients\myUserName\wwwroot\.... it tries to build the cfc at: D:\clients\wwwroot\.... Which as you can guess blows up.  I can't imagine I'm the first person to run into this, but I haven't been able to find too much about it. Any help would be greatly appreciated. Thanks! -Nick Simone-

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
12/02/2011 02:38 PM

----- Excess quoted text cut - see Original Post for more ----- If you're redirecting to a URL, this really has nothing to do with CF configuration. It's a matter of web server configuration. You need to have a virtual directory that points to the directory containing your CFC. 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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Russ Michaels
12/02/2011 03:49 PM

or create a mapping that points to the org folder ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
12/02/2011 04:10 PM

> or create a mapping that points to the org folder Creating a mapping in CF won't help here, I suspect - it has to be at the web server. 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.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Russ Michaels
12/02/2011 05:03 PM

typically shared SSL works like this. at the host there is a website acme.com which has the ssl in this site they create a vDir which points to a folder in your site, allowing you to use their SSL for your own site. So the files are still within your own site and directory structure, so cf mappings do work. paths relative to your site root wont work because it is no longer your site thus your files do not exist relative to the webroot. ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
12/02/2011 05:58 PM

> at the host there is a website acme.com which has the ssl > in this site they create a vDir which points to a folder in your site, > allowing you to use their SSL for your own site. > So the files are still within your own site and directory structure, > so cf mappings do work. > paths relative to your site root wont work because it is no longer > your site thus your files do not exist relative to the webroot. CF mappings tell CF how to find files via CFINCLUDE, CFMODULE, etc. They don't tell web servers how to resolve HTTP requests. 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.

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Russ Michaels
12/02/2011 06:03 PM

ok I thought his problem was with the cfc path  not url's ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Dave Watts
12/02/2011 06:24 PM

> ok I thought his problem was with the cfc path  not url's You might be right. It's not clear to me from the OP's question. 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


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 20, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference