|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
Virtual pathing issue
Posted this to the wrong list before.. My bad.Nick Simone 12/02/11 02:08 P > 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 untilDave Watts 12/02/11 02:38 P or create a mapping that points to the org folderRuss Michaels 12/02/11 03:49 P > or create a mapping that points to the org folderDave Watts 12/02/11 04:10 P typically shared SSL works like this.Russ Michaels 12/02/11 05:03 P > at the host there is a website acme.com which has the sslDave Watts 12/02/11 05:58 P ok I thought his problem was with the cfc path not url'sRuss Michaels 12/02/11 06:03 P > ok I thought his problem was with the cfc path not url'sDave Watts 12/02/11 06:24 P 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- ----- 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 or create a mapping that points to the org folder ----- Excess quoted text cut - see Original Post for more ----- > 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. 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 ----- > 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. ok I thought his problem was with the cfc path not url's ----- Excess quoted text cut - see Original Post for more ----- > 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
|
May 20, 2013
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||