Re: RE: Virtual Directories and IIS
With a rewrite rule, if rewriting from /somesite/foo.cfm to /foo.cfm, 'somesite' will *not* appear in your cgi.script_name variable (you will see '/foo.cfm'). You can however pass the value to the request as a url parameter, e.g. /somesite/foo.cfm - /foo.cfm?site=somesite (or some other scheme that you may come up with) HTH Dominic On 6 December 2010 21:43, Rick Root rick.r...@gmail.com wrote: On Mon, Dec 6, 2010 at 3:50 PM, Russ Michaels r...@michaels.me.uk wrote: Well if each site is different and have its own files then you need a unique URL and a folder in which to store the files, so I can't see how you can avoid either a real or a virtual directory. However if every site uses the same codebase, then you could use some url rewriting to allow your code to handle the different sites. Each site uses the same code base, and tt already handles it because I currently use 12,000 virtual directories that point back to the code base in the web root. The code itself gets the site information from the name it finds in the cgi SCRIPT_NAME variable. Here's an example: www.classcreator.com/Saline-MI-1990 I was thinking about using ISAPI Rewrite, as suggested by someone else, but I'm afraid that would actually cause the site name Saline-MI-1990 to be invisible to Coldfusion (would it still be part of the cgi.script_name?) Rick ~| 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:339876 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Virtual Directories and IIS
Not sure if this helps, but a simple custom 404.cfm would work. Update the Custom Errors in IIS, create a custom 404.cfm page that looks in a DB for the missing/unfounded URL. For instance you could place in the DB MyWebSite1 will map to www.mydomain.com/mywebsite1, then do a cfLocation in the 404.cfm file to the real URL. We do this with a lot of success. Makes it easy to bring on new clients without having to create those virtual directories. Again, this only works if you have access to IIS/Web Server custom errors. If you need more info, just ask! Brian -Original Message- From: Rick Root [mailto:rick.r...@gmail.com] Sent: Monday, December 06, 2010 1:44 PM To: cf-talk Subject: Virtual Directories and IIS I'm wondering if there's a better way to do what we're doing. Currently, we have about 12,000 web sites, each of which uses a virtual directory that refers to the web root www.mydomain.com/mywebsite1 www.mydomain.com/mywebsite2 etc Some of these sites end up buying domains and they just end up going to www.mywebsite1.com .. but the virtual directory still works. So yeah, we've got 12,000 virtual directories (back in the old days, we actually had 2,000 physical subdirectories with 2,000 identical copies of the files, so the virtual directory method was a vast improvement) that being said, I'm having problems getting my dot net calls to work (a topic for another thread) but this got me thinking.. is there a better way? Could I somehow have a catch-all virtual directory that would prevent me from having to create unique virtual directories for every site? like, in the case www.mydomain.com/mywebsite1/foo.cfm, if there ws no /mywebsite1/ physical directory, then look for foo.cfm in the web root.. but do not REDIRECT (because we rely on /mywebsite1/ being in the URL so we know which site they're accessing) rick ~| 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:339823 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Virtual Directories and IIS
Rick, What is the purpose of all these sub directories, is each site actually different? What are you actually trying to achieve. Russ -Original Message- From: Rick Root [mailto:rick.r...@gmail.com] Sent: 06 December 2010 18:44 To: cf-talk Subject: Virtual Directories and IIS I'm wondering if there's a better way to do what we're doing. Currently, we have about 12,000 web sites, each of which uses a virtual directory that refers to the web root www.mydomain.com/mywebsite1 www.mydomain.com/mywebsite2 etc Some of these sites end up buying domains and they just end up going to www.mywebsite1.com .. but the virtual directory still works. So yeah, we've got 12,000 virtual directories (back in the old days, we actually had 2,000 physical subdirectories with 2,000 identical copies of the files, so the virtual directory method was a vast improvement) that being said, I'm having problems getting my dot net calls to work (a topic for another thread) but this got me thinking.. is there a better way? Could I somehow have a catch-all virtual directory that would prevent me from having to create unique virtual directories for every site? like, in the case www.mydomain.com/mywebsite1/foo.cfm, if there ws no /mywebsite1/ physical directory, then look for foo.cfm in the web root.. but do not REDIRECT (because we rely on /mywebsite1/ being in the URL so we know which site they're accessing) rick ~| 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:339827 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: RE: Virtual Directories and IIS
Yes, each is managed and customized by different people. On Dec 6, 2010 2:18 PM, Russ Michaels r...@michaels.me.uk wrote: Rick, What is the purpose of all these sub directories, is each site actually different? What are you actually trying to achieve. Russ -Original Message- From: Rick Root [mailto:rick.r...@gmail.com] Sent: 06 December 2010 18:44 To: cf-talk Subject: Virtual Directories and IIS I'm wondering if there's a better way to do what we're doing. Currently, we have about 12,000 web s... ~| 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:339833 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: RE: Virtual Directories and IIS
Simple rewrite rule using a rewrite ISAPI filter. Either the free Ionic one or paid for Helicon: http://www.isapirewrite.com/ http://www.isapirewrite.com/http://iirf.codeplex.com/ http://iirf.codeplex.com/Your rewrite rule might look something like (there will surely be some better regex for your use cases): RewriteRule /(+*?)/(.*)$ /index.cfm?site=$1params=$2 [I,L] or perhaps: RewriteRule ^/(+*?)/(.*)$ /$2/?site=$1 [I,L] (etc) HTH Dominic On 6 December 2010 20:19, Rick Root rick.r...@gmail.com wrote: Yes, each is managed and customized by different people. On Dec 6, 2010 2:18 PM, Russ Michaels r...@michaels.me.uk wrote: Rick, What is the purpose of all these sub directories, is each site actually different? What are you actually trying to achieve. Russ -Original Message- From: Rick Root [mailto:rick.r...@gmail.com] Sent: 06 December 2010 18:44 To: cf-talk Subject: Virtual Directories and IIS I'm wondering if there's a better way to do what we're doing. Currently, we have about 12,000 web s... ~| 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:339836 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: RE: Virtual Directories and IIS
Well if each site is different and have its own files then you need a unique URL and a folder in which to store the files, so I can't see how you can avoid either a real or a virtual directory. However if every site uses the same codebase, then you could use some url rewriting to allow your code to handle the different sites. e.g. www.domain1.com rewrite to www.primarydomain.com/?siteid=site1 www.doamin2.com rewrites to www.primarydomain.com?siteid=site2 URL rewriting is built right into IIS7, otherwise you can use ISAPI_REWRITE Russ -Original Message- From: Rick Root [mailto:rick.r...@gmail.com] Sent: 06 December 2010 20:19 To: cf-talk Subject: Re: RE: Virtual Directories and IIS Yes, each is managed and customized by different people. On Dec 6, 2010 2:18 PM, Russ Michaels r...@michaels.me.uk wrote: Rick, What is the purpose of all these sub directories, is each site actually different? What are you actually trying to achieve. Russ -Original Message- From: Rick Root [mailto:rick.r...@gmail.com] Sent: 06 December 2010 18:44 To: cf-talk Subject: Virtual Directories and IIS I'm wondering if there's a better way to do what we're doing. Currently, we have about 12,000 web s... ~| 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:339839 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: RE: Virtual Directories and IIS
On Mon, Dec 6, 2010 at 3:50 PM, Russ Michaels r...@michaels.me.uk wrote: Well if each site is different and have its own files then you need a unique URL and a folder in which to store the files, so I can't see how you can avoid either a real or a virtual directory. However if every site uses the same codebase, then you could use some url rewriting to allow your code to handle the different sites. Each site uses the same code base, and tt already handles it because I currently use 12,000 virtual directories that point back to the code base in the web root. The code itself gets the site information from the name it finds in the cgi SCRIPT_NAME variable. Here's an example: www.classcreator.com/Saline-MI-1990 I was thinking about using ISAPI Rewrite, as suggested by someone else, but I'm afraid that would actually cause the site name Saline-MI-1990 to be invisible to Coldfusion (would it still be part of the cgi.script_name?) Rick ~| 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:339846 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Virtual Directories and IIS
I have done this and it works a treat, which also means I no longer need to run scripts to setup IIS VDirs anymore. I also use SES so it might be a bit different if you aren't doing this. But I always treat the first in the list for example /myvdir/foo.cfm would be myvdir as a virtual directory, then try to look it up against known clients. If it doesn't match then it must be a dir, and continue. All this info is in the url string so it is easy to work out. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Rick Root [mailto:rick.r...@gmail.com] Sent: Tuesday, 7 December 2010 5:44 AM To: cf-talk Subject: Virtual Directories and IIS I'm wondering if there's a better way to do what we're doing. Currently, we have about 12,000 web sites, each of which uses a virtual directory that refers to the web root www.mydomain.com/mywebsite1 www.mydomain.com/mywebsite2 etc Some of these sites end up buying domains and they just end up going to www.mywebsite1.com .. but the virtual directory still works. So yeah, we've got 12,000 virtual directories (back in the old days, we actually had 2,000 physical subdirectories with 2,000 identical copies of the files, so the virtual directory method was a vast improvement) that being said, I'm having problems getting my dot net calls to work (a topic for another thread) but this got me thinking.. is there a better way? Could I somehow have a catch-all virtual directory that would prevent me from having to create unique virtual directories for every site? like, in the case www.mydomain.com/mywebsite1/foo.cfm, if there ws no /mywebsite1/ physical directory, then look for foo.cfm in the web root.. but do not REDIRECT (because we rely on /mywebsite1/ being in the URL so we know which site they're accessing) rick ~| 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:339856 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: RE: Virtual Directories and IIS
Rick, If www.classcreator.com/Saline-MI-1990 is what you want CF to see then this is simply what you need to rewrite the URL to. So user requests www.saline-mi.com and gets rewritten to www.classcreator.com/Saline-MI-1990 If the vDir matchs the domain name then it should be fairly easy rules, if the vDir name has nothing to do with the domain name, then you will have to create a new rule for each site. Russ -Original Message- From: Rick Root [mailto:rick.r...@gmail.com] Sent: 06 December 2010 21:43 To: cf-talk Subject: Re: RE: Virtual Directories and IIS On Mon, Dec 6, 2010 at 3:50 PM, Russ Michaels r...@michaels.me.uk wrote: Well if each site is different and have its own files then you need a unique URL and a folder in which to store the files, so I can't see how you can avoid either a real or a virtual directory. However if every site uses the same codebase, then you could use some url rewriting to allow your code to handle the different sites. Each site uses the same code base, and tt already handles it because I currently use 12,000 virtual directories that point back to the code base in the web root. The code itself gets the site information from the name it finds in the cgi SCRIPT_NAME variable. Here's an example: www.classcreator.com/Saline-MI-1990 I was thinking about using ISAPI Rewrite, as suggested by someone else, but I'm afraid that would actually cause the site name Saline-MI-1990 to be invisible to Coldfusion (would it still be part of the cgi.script_name?) Rick ~| 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:339859 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Virtual Directories and cfinclude
The virtual directory will take care of the .css and image files, but you'll need to add a mapping for the CFML to work, I think. :Den -- In those days spirits were brave, the stakes were high, men were real men, women were real women and small furry creatures from Alpha Centauri were real small furry creatures from Alpha Centauri. Douglas Adams On Mon, Jul 19, 2010 at 10:26 AM, Rick Faircloth wrote: Recently, I've been trying to modularize all code needed for a particular function with a directory that exists outside the root directory of a website. I have some functionality that is common to many websites and need to reference the files on if a site uses said functionality. For instance, I have a real estate website that uses a subdivision function. Not all do, but this one does. I decided to move the subdivision folder outside the root of all the websites that might use it and put it under its own directory in the webroot. I can create a virtual directory in IIS easily enough to reference files within the subdivision folder. However, if I try to reference files within the main websites structure from within the subdivision folder under the webroot using cfinclude, I can't. At least not using relative links, as far as I can tell. I want to keep all content, .cfm's, .cfc's, .css files etc., outside of the main website folder structure so that if that function (subdivisions, in this case) is not used, then none of the files and assets need be part of the website's directory structure and content. Make any sense? In the end, it amounts to wanting to have a way for referencing cfincludes, such as menu structure file, from within the folder structure of the external directory subdivisions as I can reference files from within subdivisions folder by using a virtual directory in IIS. Maybe I'm missing something very obvious. Any feedback would be appreciated. Thanks, Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335477 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Virtual Directories and cfinclude
Thanks for the insight, Den. Rick -Original Message- From: denstar [mailto:valliants...@gmail.com] Sent: Monday, July 19, 2010 2:20 PM To: cf-talk Subject: Re: Virtual Directories and cfinclude The virtual directory will take care of the .css and image files, but you'll need to add a mapping for the CFML to work, I think. :Den -- In those days spirits were brave, the stakes were high, men were real men, women were real women and small furry creatures from Alpha Centauri were real small furry creatures from Alpha Centauri. Douglas Adams On Mon, Jul 19, 2010 at 10:26 AM, Rick Faircloth wrote: Recently, I've been trying to modularize all code needed for a particular function with a directory that exists outside the root directory of a website. I have some functionality that is common to many websites and need to reference the files on if a site uses said functionality. For instance, I have a real estate website that uses a subdivision function. Not all do, but this one does. I decided to move the subdivision folder outside the root of all the websites that might use it and put it under its own directory in the webroot. I can create a virtual directory in IIS easily enough to reference files within the subdivision folder. However, if I try to reference files within the main websites structure from within the subdivision folder under the webroot using cfinclude, I can't. At least not using relative links, as far as I can tell. I want to keep all content, .cfm's, .cfc's, .css files etc., outside of the main website folder structure so that if that function (subdivisions, in this case) is not used, then none of the files and assets need be part of the website's directory structure and content. Make any sense? In the end, it amounts to wanting to have a way for referencing cfincludes, such as menu structure file, from within the folder structure of the external directory subdivisions as I can reference files from within subdivisions folder by using a virtual directory in IIS. Maybe I'm missing something very obvious. Any feedback would be appreciated. Thanks, Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335487 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Virtual Directories
I tried this, but it doesn't seem to take. I tried a directoryexists(/tools), and it came up negative. Cutter Zaphod Beeblebrox wrote: edit your *cf_root*\wwwroot\WEB-INF\jrun-web.xml file and add mappings in this format: virtual-mapping resource-path/tools/resource-path system-pathC:/inetpub/wwwroot/tools/system-path /virtual-mapping On 4/18/06, Cutter (CFRelated) [EMAIL PROTECTED] wrote: Anyone have a clue how to set up a virtual directory (not a cf mapping) using the built in CF web server? Or if it's even possible to? Cutter ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238127 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Virtual Directories
I know it's a silly question, but did you restart the CF services??? Cutter (CFRelated) wrote: I tried this, but it doesn't seem to take. I tried a directoryexists(/tools), and it came up negative. Cutter Zaphod Beeblebrox wrote: edit your *cf_root*\wwwroot\WEB-INF\jrun-web.xml file and add mappings in this format: virtual-mapping resource-path/tools/resource-path system-pathC:/inetpub/wwwroot/tools/system-path /virtual-mapping On 4/18/06, Cutter (CFRelated) [EMAIL PROTECTED] wrote: Anyone have a clue how to set up a virtual directory (not a cf mapping) using the built in CF web server? Or if it's even possible to? Cutter ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238136 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Virtual Directories
yep, nothing Cutter Ken Ferguson wrote: I know it's a silly question, but did you restart the CF services??? Cutter (CFRelated) wrote: I tried this, but it doesn't seem to take. I tried a directoryexists(/tools), and it came up negative. Cutter Zaphod Beeblebrox wrote: edit your *cf_root*\wwwroot\WEB-INF\jrun-web.xml file and add mappings in this format: virtual-mapping resource-path/tools/resource-path system-pathC:/inetpub/wwwroot/tools/system-path /virtual-mapping On 4/18/06, Cutter (CFRelated) [EMAIL PROTECTED] wrote: Anyone have a clue how to set up a virtual directory (not a cf mapping) using the built in CF web server? Or if it's even possible to? Cutter ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238137 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories
I'm not surprised. DirectoryExists() works at the OS level, not webserver. I would try a cfhttp. If you get an error code of 200 or 403 if the (virtual) directory exists. If it doesn't, you should get a 404. -Original Message- From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 19, 2006 12:43 PM To: CF-Talk Subject: Re: Virtual Directories yep, nothing Cutter Ken Ferguson wrote: I know it's a silly question, but did you restart the CF services??? Cutter (CFRelated) wrote: I tried this, but it doesn't seem to take. I tried a directoryexists(/tools), and it came up negative. Cutter Zaphod Beeblebrox wrote: edit your *cf_root*\wwwroot\WEB-INF\jrun-web.xml file and add mappings in this format: virtual-mapping resource-path/tools/resource-path system-pathC:/inetpub/wwwroot/tools/system-path /virtual-mapping On 4/18/06, Cutter (CFRelated) [EMAIL PROTECTED] wrote: Anyone have a clue how to set up a virtual directory (not a cf mapping) using the built in CF web server? Or if it's even possible to? Cutter ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238145 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Virtual Directories
Anyone have a clue how to set up a virtual directory (not a cf mapping) using the built in CF web server? Or if it's even possible to? Cutter Cutter, You may want to try this article on the Adobe/Macromedia site on configuring the built in web server: http://www.antiwrap.com/?957 It has a section on setting up virtual directories: http://www.antiwrap.com/?955 hth, larry -- Larry C. Lyons Web Analyst BEI Resources American Type Culture Collection http://www.beiresources.org email: llyons(at)atcc(dot)org tel: 703.365.2700.2678 -- ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238193 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Virtual Directories
I finally figured it out. I wrote a blog entry on it: http://blog.cutterscrossing.com/index.cfm/2006/4/19/CFs-BuiltIn-Server-and-Virtual-Directories Thanks to everyone for your input. Cutter Larry Lyons wrote: Anyone have a clue how to set up a virtual directory (not a cf mapping) using the built in CF web server? Or if it's even possible to? Cutter Cutter, You may want to try this article on the Adobe/Macromedia site on configuring the built in web server: http://www.antiwrap.com/?957 It has a section on setting up virtual directories: http://www.antiwrap.com/?955 hth, larry -- Larry C. Lyons Web Analyst BEI Resources American Type Culture Collection http://www.beiresources.org email: llyons(at)atcc(dot)org tel: 703.365.2700.2678 -- ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238206 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Virtual Directories
You never said you were attempting to map a directory to a remote server.. No wonder you spent so much time on this issue. -- Casey Dougall On 4/19/06, Cutter (CFRelated) [EMAIL PROTECTED] wrote: I finally figured it out. I wrote a blog entry on it: http://blog.cutterscrossing.com/index.cfm/2006/4/19/CFs-BuiltIn-Server-and-Virtual-Directories Thanks to everyone for your input. Cutter Larry Lyons wrote: Anyone have a clue how to set up a virtual directory (not a cf mapping) using the built in CF web server? Or if it's even possible to? Cutter Cutter, You may want to try this article on the Adobe/Macromedia site on configuring the built in web server: http://www.antiwrap.com/?957 It has a section on setting up virtual directories: http://www.antiwrap.com/?955 hth, larry -- Larry C. Lyons Web Analyst BEI Resources American Type Culture Collection http://www.beiresources.org email: llyons(at)atcc(dot)org tel: 703.365.2700.2678 -- ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238208 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Virtual Directories
No, the remote server was just a bonus, that wasn't my initial intention. Cutter Casey Dougall wrote: You never said you were attempting to map a directory to a remote server.. No wonder you spent so much time on this issue. -- Casey Dougall On 4/19/06, Cutter (CFRelated) [EMAIL PROTECTED] wrote: I finally figured it out. I wrote a blog entry on it: http://blog.cutterscrossing.com/index.cfm/2006/4/19/CFs-BuiltIn-Server-and-Virtual-Directories Thanks to everyone for your input. Cutter Larry Lyons wrote: Anyone have a clue how to set up a virtual directory (not a cf mapping) using the built in CF web server? Or if it's even possible to? Cutter Cutter, You may want to try this article on the Adobe/Macromedia site on configuring the built in web server: http://www.antiwrap.com/?957 It has a section on setting up virtual directories: http://www.antiwrap.com/?955 hth, larry -- Larry C. Lyons Web Analyst BEI Resources American Type Culture Collection http://www.beiresources.org email: llyons(at)atcc(dot)org tel: 703.365.2700.2678 -- ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238209 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Virtual Directories
edit your *cf_root*\wwwroot\WEB-INF\jrun-web.xml file and add mappings in this format: virtual-mapping resource-path/tools/resource-path system-pathC:/inetpub/wwwroot/tools/system-path /virtual-mapping On 4/18/06, Cutter (CFRelated) [EMAIL PROTECTED] wrote: Anyone have a clue how to set up a virtual directory (not a cf mapping) using the built in CF web server? Or if it's even possible to? Cutter ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238056 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Virtual Directories under CF7 Developer
I am running on Windows XP Pro. How do I set CF up running as a user as you suggest? Where is some documentation on that? If you have CF running as local system, it will not see your network drives. You will need to set up cf running as a user, and make sure that that user has the drive mapping and appropriate access. You can have it run as you, but you will see the command prompt window when jrunsvc starts. -Original Message- From: Wally Randall [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 12:56 PM To: CF-Talk Subject: Re: Virtual Directories under CF7 Developer Marlon, The virtual mapping seems to work OK for mapping to my local C:\ drive but not to a network mapped drive (ie: P:\PMNS\devwebsite\ ). Is the CF Website restricted to the local machine or do I need to provide a different mapping for network drives? virtual-mapping resource-path/*/resource-path system-pathC:/inetpub/wwwroot//system-path /virtual-mapping virtual-mapping resource-path/CFIDE/*/resource-path system-pathC:/CFusionMX7/wwwroot/CFIDE/system-path /virtual-mapping virtual-mapping resource-path/cfdocs/*/resource-path system-pathC:/CFusionMX7/wwwroot/cfdocs/system-path Travelling ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226535 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Virtual Directories under CF7 Developer
Wally, You need to go to Start-Run-Type services.msc. Scroll down and find the Coldfusion MX 7 Application Server. Dbl Click it and select the Logon tab. Yours should have Local System Account checked. What you want to do from here is use an account that has access to network resources. It might be your own login, it might be something that your company will specify. It will have to be a login that has enough privileges that CF will run under it. So if your login on that machine is a 'standard user' and not a 'power user' or 'administrator' I wouldn't try using your own login. On 12/8/05, Wally Randall [EMAIL PROTECTED] wrote: I am running on Windows XP Pro. How do I set CF up running as a user as you suggest? Where is some documentation on that? If you have CF running as local system, it will not see your network drives. You will need to set up cf running as a user, and make sure that that user has the drive mapping and appropriate access. You can have it run as you, but you will see the command prompt window when jrunsvc starts. -Original Message- From: Wally Randall [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 12:56 PM To: CF-Talk Subject: Re: Virtual Directories under CF7 Developer Marlon, The virtual mapping seems to work OK for mapping to my local C:\ drive but not to a network mapped drive (ie: P:\PMNS\devwebsite\ ). Is the CF Website restricted to the local machine or do I need to provide a different mapping for network drives? virtual-mapping resource-path/*/resource-path system-pathC:/inetpub/wwwroot//system-path /virtual-mapping virtual-mapping resource-path/CFIDE/*/resource-path system-pathC:/CFusionMX7/wwwroot/CFIDE/system-path /virtual-mapping virtual-mapping resource-path/cfdocs/*/resource-path system-pathC:/CFusionMX7/wwwroot/cfdocs/system-path Travelling ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226550 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories under CF7 Developer
Simple, go to administrative tools-Services and find the ColdFusion Service (there are several, but you're interested in the one that processes your pages. It will be called something different depending on the version of ColdFusion and the setup you have (standalone vs JRUN). Once you find the service, go to properties and under log on, select 'This account' and put in your username and pw. Once you restart the service it will run as you, and will have the access to the same drive mappings that you define. Russ -Original Message- From: Wally Randall [mailto:[EMAIL PROTECTED] Sent: Thursday, December 08, 2005 7:08 AM To: CF-Talk Subject: Re: Virtual Directories under CF7 Developer I am running on Windows XP Pro. How do I set CF up running as a user as you suggest? Where is some documentation on that? If you have CF running as local system, it will not see your network drives. You will need to set up cf running as a user, and make sure that that user has the drive mapping and appropriate access. You can have it run as you, but you will see the command prompt window when jrunsvc starts. -Original Message- From: Wally Randall [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 12:56 PM To: CF-Talk Subject: Re: Virtual Directories under CF7 Developer Marlon, The virtual mapping seems to work OK for mapping to my local C:\ drive but not to a network mapped drive (ie: P:\PMNS\devwebsite\ ). Is the CF Website restricted to the local machine or do I need to provide a different mapping for network drives? virtual-mapping resource-path/*/resource-path system-pathC:/inetpub/wwwroot//system-path /virtual-mapping virtual-mapping resource-path/CFIDE/*/resource-path system-pathC:/CFusionMX7/wwwroot/CFIDE/system-path /virtual-mapping virtual-mapping resource-path/cfdocs/*/resource-path system-pathC:/CFusionMX7/wwwroot/cfdocs/system-path Travelling ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226589 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Virtual Directories under CF7 Developer
On 12/7/05, Wally Randall [EMAIL PROTECTED] wrote: 1. Can I set-up virtual directories to development websites on a server from the CF built-in webserver? I want to map to sites on a server with CM management but cannot figure out how to do this from the built-in server. Yes you can. You'll need to edit your jrun-web.xml file. It should be located in #MXInstall#\wwwroot\web-inf\ directory. These are the entries I have set up so that I can use a different web-root than the standard #MXInstall#\wwwroot directory. virtual-mapping resource-path/*/resource-path system-pathC:/inetpub/wwwroot//system-path /virtual-mapping virtual-mapping resource-path/CFIDE/*/resource-path system-pathC:/CFusionMX7/wwwroot/CFIDE/system-path /virtual-mapping virtual-mapping resource-path/cfdocs/*/resource-path system-pathC:/CFusionMX7/wwwroot/cfdocs/system-path /virtual-mapping Just set up other directories in the same fashion. BTW, the CFMX server is case-sensitive on Win32 regarding virtual directories. -- Marlon A spaceman came travelling on his ship from afar, 'twas light years of time since his mission did start, And over a village he halted his craft, And it hung in the sky like a star, just like a star... --Chris De Burgh, A Spaceman Came Travelling ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226414 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories under CF7 Developer
Just use apache and solve both of those problems... -Original Message- From: Wally Randall [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 8:07 AM To: CF-Talk Subject: Virtual Directories under CF7 Developer 1. Can I set-up virtual directories to development websites on a server from the CF built-in webserver? I want to map to sites on a server with CM management but cannot figure out how to do this from the built-in server. 2. I know I can do this with IIS but we cannot get permission to install IIS on workstations. We might be able to get IIS installed if we can fix some security issues. Is there a way in IIS to lock-down access to only allow the local-host (127.0.0.1)? ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226454 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Virtual Directories under CF7 Developer
Thanks On 12/7/05, Wally Randall [EMAIL PROTECTED] wrote: 1. Can I set-up virtual directories to development websites on a server from the CF built-in webserver? I want to map to sites on a server with CM management but cannot figure out how to do this from the built-in server. Yes you can. You'll need to edit your jrun-web.xml file. It should be located in #MXInstall#\wwwroot\web-inf\ directory. These are the entries I have set up so that I can use a different web-root than the standard #MXInstall#\wwwroot directory. virtual-mapping resource-path/*/resource-path system-pathC:/inetpub/wwwroot//system-path /virtual-mapping virtual-mapping resource-path/CFIDE/*/resource-path system-pathC:/CFusionMX7/wwwroot/CFIDE/system-path /virtual-mapping virtual-mapping resource-path/cfdocs/*/resource-path system-pathC:/CFusionMX7/wwwroot/cfdocs/system-path /virtual-mapping Just set up other directories in the same fashion. BTW, the CFMX server is case-sensitive on Win32 regarding virtual directories. -- Marlon A spaceman came travelling on his ship from afar, 'twas light years of time since his mission did start, And over a village he halted his craft, And it hung in the sky like a star, just like a star... --Chris De Burgh, A Spaceman Came Travelling ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226458 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Virtual Directories under CF7 Developer
Marlon, The virtual mapping seems to work OK for mapping to my local C:\ drive but not to a network mapped drive (ie: P:\PMNS\devwebsite\ ). Is the CF Website restricted to the local machine or do I need to provide a different mapping for network drives? On 12/7/05, Wally Randall [EMAIL PROTECTED] wrote: 1. Can I set-up virtual directories to development websites on a server from the CF built-in webserver? I want to map to sites on a server with CM management but cannot figure out how to do this from the built-in server. Yes you can. You'll need to edit your jrun-web.xml file. It should be located in #MXInstall#\wwwroot\web-inf\ directory. These are the entries I have set up so that I can use a different web-root than the standard #MXInstall#\wwwroot directory. virtual-mapping resource-path/*/resource-path system-pathC:/inetpub/wwwroot//system-path /virtual-mapping virtual-mapping resource-path/CFIDE/*/resource-path system-pathC:/CFusionMX7/wwwroot/CFIDE/system-path /virtual-mapping virtual-mapping resource-path/cfdocs/*/resource-path system-pathC:/CFusionMX7/wwwroot/cfdocs/system-path /virtual-mapping Just set up other directories in the same fashion. BTW, the CFMX server is case-sensitive on Win32 regarding virtual directories. -- Marlon A spaceman came travelling on his ship from afar, 'twas light years of time since his mission did start, And over a village he halted his craft, And it hung in the sky like a star, just like a star... --Chris De Burgh, A Spaceman Came Travelling ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226460 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories under CF7 Developer
If you have CF running as local system, it will not see your network drives. You will need to set up cf running as a user, and make sure that that user has the drive mapping and appropriate access. You can have it run as you, but you will see the command prompt window when jrunsvc starts. -Original Message- From: Wally Randall [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 12:56 PM To: CF-Talk Subject: Re: Virtual Directories under CF7 Developer Marlon, The virtual mapping seems to work OK for mapping to my local C:\ drive but not to a network mapped drive (ie: P:\PMNS\devwebsite\ ). Is the CF Website restricted to the local machine or do I need to provide a different mapping for network drives? On 12/7/05, Wally Randall [EMAIL PROTECTED] wrote: 1. Can I set-up virtual directories to development websites on a server from the CF built-in webserver? I want to map to sites on a server with CM management but cannot figure out how to do this from the built-in server. Yes you can. You'll need to edit your jrun-web.xml file. It should be located in #MXInstall#\wwwroot\web-inf\ directory. These are the entries I have set up so that I can use a different web-root than the standard #MXInstall#\wwwroot directory. virtual-mapping resource-path/*/resource-path system-pathC:/inetpub/wwwroot//system-path /virtual-mapping virtual-mapping resource-path/CFIDE/*/resource-path system-pathC:/CFusionMX7/wwwroot/CFIDE/system-path /virtual-mapping virtual-mapping resource-path/cfdocs/*/resource-path system-pathC:/CFusionMX7/wwwroot/cfdocs/system-path /virtual-mapping Just set up other directories in the same fashion. BTW, the CFMX server is case-sensitive on Win32 regarding virtual directories. -- Marlon A spaceman came travelling on his ship from afar, 'twas light years of time since his mission did start, And over a village he halted his craft, And it hung in the sky like a star, just like a star... --Chris De Burgh, A Spaceman Came Travelling ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226465 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Virtual Directories for Websites...follow-up remarks
You mean a different port number for each site under development? e.g http://66.79.46.138:85/DevelopmentSite/Index.cfm ? No, it would look like: http://66.79.46.138:85/Index.cfm Rick -Original Message- From: Kwang Suh [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 11:35 AM To: CF-Talk Subject: Re: Virtual Directories for Websites...follow-up remarks You can also use different port numbers. ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195396 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories for Websites...follow-up remarks
Hi, Kwang... So, using ports like that would mean there would be no root directory for the websites? i.e., the port would act as the root for the site? I'm not sure I understand the actual directory structure for http://66.79.46.138:85/Index.cfm... Rick -Original Message- From: Kwang Suh [mailto:[EMAIL PROTECTED] Sent: Friday, February 18, 2005 10:44 AM To: CF-Talk Subject: Re: Virtual Directories for Websites...follow-up remarks You mean a different port number for each site under development? e.g http://66.79.46.138:85/DevelopmentSite/Index.cfm ? No, it would look like: http://66.79.46.138:85/Index.cfm Rick -Original Message- From: Kwang Suh [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 11:35 AM To: CF-Talk Subject: Re: Virtual Directories for Websites...follow-up remarks You can also use different port numbers. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195405 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories for Websites...follow-up remarks
So, using ports like that would mean there would be no root directory for the websites? i.e., the port would act as the root for the site? I'm not sure I understand the actual directory structure for http://66.79.46.138:85/Index.cfm... No, you would still need to have separate virtual hosts for each site, and each virtual host would typically have its own root directory. Using different ports just lets you use the same IP address or DNS name to connect to different virtual servers. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195409 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories for Websites...follow-up remarks
So, when referencing the virtual server, I'd just use a URL like http://66.79.46.138:85/Index.cfm because it would take the visitor directly inside the root directory? Am I understanding that correctly? And I guess the key difference is in the properties for the virtual directory, where instead of port 80, port 85 would be specified for the site? And port 85 would have to be opened in the router, too? Rick -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, February 18, 2005 12:26 PM To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks So, using ports like that would mean there would be no root directory for the websites? i.e., the port would act as the root for the site? I'm not sure I understand the actual directory structure for http://66.79.46.138:85/Index.cfm... No, you would still need to have separate virtual hosts for each site, and each virtual host would typically have its own root directory. Using different ports just lets you use the same IP address or DNS name to connect to different virtual servers. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195412 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories for Websites...follow-up remarks
So, when referencing the virtual server, I'd just use a URL like http://66.79.46.138:85/Index.cfm because it would take the visitor directly inside the root directory? Am I understanding that correctly? Yes. And I guess the key difference is in the properties for the virtual directory, where instead of port 80, port 85 would be specified for the site? Yes, except that for the sake of accuracy, this would be a virtual server, not a virtual directory. And port 85 would have to be opened in the router, too? Yes. I would not recommend this approach for public sites, simply because typing the port in the URL is one more thing that the user has to do to get to your site. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195413 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories for Websites...follow-up remarks
One thing that makes life interesting in this case is that the CF root and the Web root will be different. Kevin -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: 18 February 2005 17:26 To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks So, using ports like that would mean there would be no root directory for the websites? i.e., the port would act as the root for the site? I'm not sure I understand the actual directory structure for http://66.79.46.138:85/Index.cfm... No, you would still need to have separate virtual hosts for each site, and each virtual host would typically have its own root directory. Using different ports just lets you use the same IP address or DNS name to connect to different virtual servers. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195415 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories for Websites...follow-up remarks
Thanks, Dave... Rick -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, February 18, 2005 12:41 PM To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks So, when referencing the virtual server, I'd just use a URL like http://66.79.46.138:85/Index.cfm because it would take the visitor directly inside the root directory? Am I understanding that correctly? Yes. And I guess the key difference is in the properties for the virtual directory, where instead of port 80, port 85 would be specified for the site? Yes, except that for the sake of accuracy, this would be a virtual server, not a virtual directory. And port 85 would have to be opened in the router, too? Yes. I would not recommend this approach for public sites, simply because typing the port in the URL is one more thing that the user has to do to get to your site. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195419 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories for Websites...follow-up remarks
Don't think I understand...at least not without a little more thinking about... Care to elaborate on what you mean? Implications? (I assume you're just talking about using a different port scenario only, right?) Rick -Original Message- From: Kevin Roche [mailto:[EMAIL PROTECTED] Sent: Friday, February 18, 2005 12:33 PM To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks One thing that makes life interesting in this case is that the CF root and the Web root will be different. Kevin -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: 18 February 2005 17:26 To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks So, using ports like that would mean there would be no root directory for the websites? i.e., the port would act as the root for the site? I'm not sure I understand the actual directory structure for http://66.79.46.138:85/Index.cfm... No, you would still need to have separate virtual hosts for each site, and each virtual host would typically have its own root directory. Using different ports just lets you use the same IP address or DNS name to connect to different virtual servers. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195421 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories for Websites...follow-up remarks
One thing that makes life interesting in this case is that the CF root and the Web root will be different. This is the case whenever you have more than one virtual web server using a single CF server instance, though. To avoid any problems, just don't use the root CF mapping (/) within your CFINCLUDE/CFMODULE/etc tags. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195430 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories for Websites...follow-up remarks
Dave... Does the mapping issue become a problem only when the alternate port is used as a solution? Rick -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, February 18, 2005 1:42 PM To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks One thing that makes life interesting in this case is that the CF root and the Web root will be different. This is the case whenever you have more than one virtual web server using a single CF server instance, though. To avoid any problems, just don't use the root CF mapping (/) within your CFINCLUDE/CFMODULE/etc tags. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195436 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Virtual Directories for Websites...follow-up remarks
yes, but in IIS these are called sites. So, for example you have the Default site on port 80 which points http://your.com/ to d:\inetpub\wwwroot\. You can create a new site called say foo listening on port 99 pointing http://your.com:99/ to d:\inetpub\fooroot\ And one step further you can have a different instance of Jrun/CFMX for each of these. :) Doug On Fri, 18 Feb 2005 12:27:21 -0500, Rick Faircloth [EMAIL PROTECTED] wrote: So, when referencing the virtual server, I'd just use a URL like http://66.79.46.138:85/Index.cfm because it would take the visitor directly inside the root directory? Am I understanding that correctly? And I guess the key difference is in the properties for the virtual directory, where instead of port 80, port 85 would be specified for the site? And port 85 would have to be opened in the router, too? Rick -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, February 18, 2005 12:26 PM To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks So, using ports like that would mean there would be no root directory for the websites? i.e., the port would act as the root for the site? I'm not sure I understand the actual directory structure for http://66.79.46.138:85/Index.cfm... No, you would still need to have separate virtual hosts for each site, and each virtual host would typically have its own root directory. Using different ports just lets you use the same IP address or DNS name to connect to different virtual servers. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195437 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories for Websites...follow-up remarks
Thanks for the info, Doug... Rick -Original Message- From: Douglas Knudsen [mailto:[EMAIL PROTECTED] Sent: Friday, February 18, 2005 1:49 PM To: CF-Talk Subject: Re: Virtual Directories for Websites...follow-up remarks yes, but in IIS these are called sites. So, for example you have the Default site on port 80 which points http://your.com/ to d:\inetpub\wwwroot\. You can create a new site called say foo listening on port 99 pointing http://your.com:99/ to d:\inetpub\fooroot\ And one step further you can have a different instance of Jrun/CFMX for each of these. :) Doug On Fri, 18 Feb 2005 12:27:21 -0500, Rick Faircloth [EMAIL PROTECTED] wrote: So, when referencing the virtual server, I'd just use a URL like http://66.79.46.138:85/Index.cfm because it would take the visitor directly inside the root directory? Am I understanding that correctly? And I guess the key difference is in the properties for the virtual directory, where instead of port 80, port 85 would be specified for the site? And port 85 would have to be opened in the router, too? Rick -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, February 18, 2005 12:26 PM To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks So, using ports like that would mean there would be no root directory for the websites? i.e., the port would act as the root for the site? I'm not sure I understand the actual directory structure for http://66.79.46.138:85/Index.cfm... No, you would still need to have separate virtual hosts for each site, and each virtual host would typically have its own root directory. Using different ports just lets you use the same IP address or DNS name to connect to different virtual servers. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195453 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories for Websites...follow-up remarks
Does the mapping issue become a problem only when the alternate port is used as a solution? No, it's an issue whenever you have more than one virtual web server using a single CF server instance. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195462 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories for Websites...follow-up remarks
Ok...I've answered my own question with more experimentation... If I used an established site, then I can created virtual directories for development and point clients to http://www.development.com/clientsite/index.cfm Rick -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 12:07 PM To: CF-Talk Subject: Virtual Directories for Websites...follow-up remarks Ok...I see that Virtual Directories work just like I thought they should for websites that have domains pointing to the server already. However, I usually show my clients their websites as they're being developed by using a direct URL, such as http://66.xx.xx.138/cfdocs/website/index.cfm. That keeps it out of the public eye, yet gives the client access during the development process. Is there a way to do the same thing if I'm using directories not under the wwwroot? Perhaps, a main website with virtual subdirectories for the sites under development, such as www.MyMainWebsite.com/WebsiteUnderDevelopment ? I'll try that... Rick -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195209 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories for Websites...follow-up remarks
I'd recommended removing the cfdocs directory completely. The documentation is available at livedocs.macromedia.com or from within HomeSite or Dreamweaver. It can also be downloaded from www.macromedia.com. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 12:07 PM To: CF-Talk Subject: Virtual Directories for Websites...follow-up remarks Ok...I see that Virtual Directories work just like I thought they should for websites that have domains pointing to the server already. However, I usually show my clients their websites as they're being developed by using a direct URL, such as http://66.xx.xx.138/cfdocs/website/index.cfm. That keeps it out of the public eye, yet gives the client access during the development process. Is there a way to do the same thing if I'm using directories not under the wwwroot? Perhaps, a main website with virtual subdirectories for the sites under development, such as www.MyMainWebsite.com/WebsiteUnderDevelopment ? I'll try that... Rick -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195216 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Virtual Directories for Websites...follow-up remarks
You can also use different port numbers. Ok...I've answered my own question with more experimentation... If I used an established site, then I can created virtual directories for development and point clients to http://www.development.com/clientsite/index.cfm Rick -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 12:07 PM To: CF-Talk Subject: Virtual Directories for Websites...follow-up remarks Ok...I see that Virtual Directories work just like I thought they should for websites that have domains pointing to the server already. However, I usually show my clients their websites as they're being developed by using a direct URL, such as http://66.xx.xx.138/cfdocs/website/index.cfm. That keeps it out of the public eye, yet gives the client access during the development process. Is there a way to do the same thing if I'm using directories not under the wwwroot? Perhaps, a main website with virtual subdirectories for the sites under development, such as www.MyMainWebsite.com/WebsiteUnderDevelopment ? I'll try that... Rick -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195219 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories for Websites...follow-up remarks
Is there any particular reason for removing the cfdocs directory? Space? Any possible complications from not having anything that's in there? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 12:24 PM To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks I'd recommended removing the cfdocs directory completely. The documentation is available at livedocs.macromedia.com or from within HomeSite or Dreamweaver. It can also be downloaded from www.macromedia.com. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 12:07 PM To: CF-Talk Subject: Virtual Directories for Websites...follow-up remarks Ok...I see that Virtual Directories work just like I thought they should for websites that have domains pointing to the server already. However, I usually show my clients their websites as they're being developed by using a direct URL, such as http://66.xx.xx.138/cfdocs/website/index.cfm. That keeps it out of the public eye, yet gives the client access during the development process. Is there a way to do the same thing if I'm using directories not under the wwwroot? Perhaps, a main website with virtual subdirectories for the sites under development, such as www.MyMainWebsite.com/WebsiteUnderDevelopment ? I'll try that... Rick -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195221 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories for Websites...follow-up remarks
You mean a different port number for each site under development? e.g http://66.79.46.138:85/DevelopmentSite/Index.cfm ? Rick -Original Message- From: Kwang Suh [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 11:35 AM To: CF-Talk Subject: Re: Virtual Directories for Websites...follow-up remarks You can also use different port numbers. Ok...I've answered my own question with more experimentation... If I used an established site, then I can created virtual directories for development and point clients to http://www.development.com/clientsite/index.cfm Rick -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 12:07 PM To: CF-Talk Subject: Virtual Directories for Websites...follow-up remarks Ok...I see that Virtual Directories work just like I thought they should for websites that have domains pointing to the server already. However, I usually show my clients their websites as they're being developed by using a direct URL, such as http://66.xx.xx.138/cfdocs/website/index.cfm. That keeps it out of the public eye, yet gives the client access during the development process. Is there a way to do the same thing if I'm using directories not under the wwwroot? Perhaps, a main website with virtual subdirectories for the sites under development, such as www.MyMainWebsite.com/WebsiteUnderDevelopment ? I'll try that... Rick -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195222 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories for Websites...follow-up remarks
Nothing contained with the cfdocs (as provided by the install) is necessary for operation of the ColdFusion server. In some versions of CF there are security risks in the sample apps that are placed there. While we're on it, you don't want cfide to be publicly accessible either, that's even more significant. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 12:40 PM To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks Is there any particular reason for removing the cfdocs directory? Space? Any possible complications from not having anything that's in there? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 12:24 PM To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks I'd recommended removing the cfdocs directory completely. The documentation is available at livedocs.macromedia.com or from within HomeSite or Dreamweaver. It can also be downloaded from www.macromedia.com. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 12:07 PM To: CF-Talk Subject: Virtual Directories for Websites...follow-up remarks Ok...I see that Virtual Directories work just like I thought they should for websites that have domains pointing to the server already. However, I usually show my clients their websites as they're being developed by using a direct URL, such as http://66.xx.xx.138/cfdocs/website/index.cfm. That keeps it out of the public eye, yet gives the client access during the development process. Is there a way to do the same thing if I'm using directories not under the wwwroot? Perhaps, a main website with virtual subdirectories for the sites under development, such as www.MyMainWebsite.com/WebsiteUnderDevelopment ? I'll try that... Rick -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195223 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories for Websites...follow-up remarks
So...do I just move the folder to some other location? Any functional implications for doing that? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 12:50 PM To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks Nothing contained with the cfdocs (as provided by the install) is necessary for operation of the ColdFusion server. In some versions of CF there are security risks in the sample apps that are placed there. While we're on it, you don't want cfide to be publicly accessible either, that's even more significant. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 12:40 PM To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks Is there any particular reason for removing the cfdocs directory? Space? Any possible complications from not having anything that's in there? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 12:24 PM To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks I'd recommended removing the cfdocs directory completely. The documentation is available at livedocs.macromedia.com or from within HomeSite or Dreamweaver. It can also be downloaded from www.macromedia.com. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 12:07 PM To: CF-Talk Subject: Virtual Directories for Websites...follow-up remarks Ok...I see that Virtual Directories work just like I thought they should for websites that have domains pointing to the server already. However, I usually show my clients their websites as they're being developed by using a direct URL, such as http://66.xx.xx.138/cfdocs/website/index.cfm. That keeps it out of the public eye, yet gives the client access during the development process. Is there a way to do the same thing if I'm using directories not under the wwwroot? Perhaps, a main website with virtual subdirectories for the sites under development, such as www.MyMainWebsite.com/WebsiteUnderDevelopment ? I'll try that... Rick -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195229 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories for Websites...follow-up remarks
Agree. If you need cfdocs, keep it on a development server. Use IP restrictions, IIS auth, etc... -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 9:24 AM To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks I'd recommended removing the cfdocs directory completely. The documentation is available at livedocs.macromedia.com or from within HomeSite or Dreamweaver. It can also be downloaded from www.macromedia.com. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 12:07 PM To: CF-Talk Subject: Virtual Directories for Websites...follow-up remarks Ok...I see that Virtual Directories work just like I thought they should for websites that have domains pointing to the server already. However, I usually show my clients their websites as they're being developed by using a direct URL, such as http://66.xx.xx.138/cfdocs/website/index.cfm. That keeps it out of the public eye, yet gives the client access during the development process. Is there a way to do the same thing if I'm using directories not under the wwwroot? Perhaps, a main website with virtual subdirectories for the sites under development, such as www.MyMainWebsite.com/WebsiteUnderDevelopment ? I'll try that... Rick -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195231 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories for Websites...follow-up remarks
Cfide is a bit more tricky because it is required to administer your CF Server. You'll want to set it up on a IIS site that isn't accessible to anyone but yourself. The most straight forward way to accomplish this is set your 'default' site to the IP address of 127.0.0.1 and have your cfide under there. This should make that site only accessible from that box itself. There are additional steps that can be taken, but that's a good start. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 1:00 PM To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks So...do I just move the folder to some other location? Any functional implications for doing that? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 12:50 PM To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks Nothing contained with the cfdocs (as provided by the install) is necessary for operation of the ColdFusion server. In some versions of CF there are security risks in the sample apps that are placed there. While we're on it, you don't want cfide to be publicly accessible either, that's even more significant. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 12:40 PM To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks Is there any particular reason for removing the cfdocs directory? Space? Any possible complications from not having anything that's in there? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 12:24 PM To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks I'd recommended removing the cfdocs directory completely. The documentation is available at livedocs.macromedia.com or from within HomeSite or Dreamweaver. It can also be downloaded from www.macromedia.com. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 12:07 PM To: CF-Talk Subject: Virtual Directories for Websites...follow-up remarks Ok...I see that Virtual Directories work just like I thought they should for websites that have domains pointing to the server already. However, I usually show my clients their websites as they're being developed by using a direct URL, such as http://66.xx.xx.138/cfdocs/website/index.cfm. That keeps it out of the public eye, yet gives the client access during the development process. Is there a way to do the same thing if I'm using directories not under the wwwroot? Perhaps, a main website with virtual subdirectories for the sites under development, such as www.MyMainWebsite.com/WebsiteUnderDevelopment ? I'll try that... Rick -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195235 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories for Websites...follow-up remarks
Rick, Something you may want to consider is to have three instances of a site: dev, test, and production. Dev - where you break a site Test - where they look at a site while you're free to break the one on dev Production - the final site We used to have just a development site and a production site and it was common that we'd ask people to test the development site for us and we'd break it writing new code and they couldn't see it or they'd see things mid-transition. (I personally don't like the word production for the final site, but it seems like a common term.) -Kevin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 11:07 AM To: CF-Talk Subject: Virtual Directories for Websites...follow-up remarks Ok...I see that Virtual Directories work just like I thought they should for websites that have domains pointing to the server already. However, I usually show my clients their websites as they're being developed by using a direct URL, such as http://66.xx.xx.138/cfdocs/website/index.cfm. That keeps it out of the public eye, yet gives the client access during the development process. Is there a way to do the same thing if I'm using directories not under the wwwroot? Perhaps, a main website with virtual subdirectories for the sites under development, such as www.MyMainWebsite.com/WebsiteUnderDevelopment ? I'll try that... Rick -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195251 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories for Websites...follow-up remarks
Good idea, Calvin... Thanks, Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 1:13 PM To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks Cfide is a bit more tricky because it is required to administer your CF Server. You'll want to set it up on a IIS site that isn't accessible to anyone but yourself. The most straight forward way to accomplish this is set your 'default' site to the IP address of 127.0.0.1 and have your cfide under there. This should make that site only accessible from that box itself. There are additional steps that can be taken, but that's a good start. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 1:00 PM To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks So...do I just move the folder to some other location? Any functional implications for doing that? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 12:50 PM To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks Nothing contained with the cfdocs (as provided by the install) is necessary for operation of the ColdFusion server. In some versions of CF there are security risks in the sample apps that are placed there. While we're on it, you don't want cfide to be publicly accessible either, that's even more significant. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 12:40 PM To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks Is there any particular reason for removing the cfdocs directory? Space? Any possible complications from not having anything that's in there? Rick -Original Message- From: Calvin Ward [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 12:24 PM To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks I'd recommended removing the cfdocs directory completely. The documentation is available at livedocs.macromedia.com or from within HomeSite or Dreamweaver. It can also be downloaded from www.macromedia.com. - Calvin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 12:07 PM To: CF-Talk Subject: Virtual Directories for Websites...follow-up remarks Ok...I see that Virtual Directories work just like I thought they should for websites that have domains pointing to the server already. However, I usually show my clients their websites as they're being developed by using a direct URL, such as http://66.xx.xx.138/cfdocs/website/index.cfm. That keeps it out of the public eye, yet gives the client access during the development process. Is there a way to do the same thing if I'm using directories not under the wwwroot? Perhaps, a main website with virtual subdirectories for the sites under development, such as www.MyMainWebsite.com/WebsiteUnderDevelopment ? I'll try that... Rick -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195258 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual Directories for Websites...follow-up remarks
Good idea...thanks Kevin... Rick -Original Message- From: Kevin Graeme [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 1:54 PM To: CF-Talk Subject: RE: Virtual Directories for Websites...follow-up remarks Rick, Something you may want to consider is to have three instances of a site: dev, test, and production. Dev - where you break a site Test - where they look at a site while you're free to break the one on dev Production - the final site We used to have just a development site and a production site and it was common that we'd ask people to test the development site for us and we'd break it writing new code and they couldn't see it or they'd see things mid-transition. (I personally don't like the word production for the final site, but it seems like a common term.) -Kevin -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 11:07 AM To: CF-Talk Subject: Virtual Directories for Websites...follow-up remarks Ok...I see that Virtual Directories work just like I thought they should for websites that have domains pointing to the server already. However, I usually show my clients their websites as they're being developed by using a direct URL, such as http://66.xx.xx.138/cfdocs/website/index.cfm. That keeps it out of the public eye, yet gives the client access during the development process. Is there a way to do the same thing if I'm using directories not under the wwwroot? Perhaps, a main website with virtual subdirectories for the sites under development, such as www.MyMainWebsite.com/WebsiteUnderDevelopment ? I'll try that... Rick -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195259 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Virtual directories and UNC paths not working on CFMX?
I'll just conform that you can use UNC paths in CFMX if everything is correct. Someone pointed an issue with cfcontent and UNC in CFMX recently, any confirm that ??? WG -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: 17 July 2003 20:13 To: CF-Talk Subject: RE: Virtual directories and UNC paths not working on CFMX? MX is running under a user acct w/access to the UNC dir. Nothing has changed except a simple upgrade to CFMX. You might want to test this by logging in as this user from the server console. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Virtual directories and UNC paths not working on CFMX?
You might also want to confirm that the CFMX service is still running under your user account. If memory serves me correct I believe ours was reset to the system account setting after the upgrade and we had to reset it back to our domain user. Once we did that all UNC and network drive access worked fine. __ Bill Grover Supervisor MIS Phone: 301.424.3300 x3324 EU Services, Inc. FAX:301.424.3696 649 North Horners Lane E-Mail: [EMAIL PROTECTED] Rockville, MD 20850-1299WWW:http://www.euservices.com __ -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 3:13 PM To: CF-Talk Subject: RE: Virtual directories and UNC paths not working on CFMX? MX is running under a user acct w/access to the UNC dir. Nothing has changed except a simple upgrade to CFMX. You might want to test this by logging in as this user from the server console. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Virtual directories and UNC paths not working on CFMX?
How is MX running ? As a System Service or a Service under a User Account that has access to the UNC Dir ? -Original Message- From: Bosky, Dave [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 19:39 To: CF-Talk Subject: Virtual directories and UNC paths not working on CFMX? Is there any way for CFMX to access network shares using UNC paths? CF5 worked fine but since upgrading to CFMX the UNC paths no longer function. Thanks, Dave HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Virtual directories and UNC paths not working on CFMX?
MX is running under a user acct w/access to the UNC dir. Nothing has changed except a simple upgrade to CFMX. -Original Message- From: Mike Townend [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 2:43 PM To: CF-Talk Subject: RE: Virtual directories and UNC paths not working on CFMX? How is MX running ? As a System Service or a Service under a User Account that has access to the UNC Dir ? -Original Message- From: Bosky, Dave [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 19:39 To: CF-Talk Subject: Virtual directories and UNC paths not working on CFMX? Is there any way for CFMX to access network shares using UNC paths? CF5 worked fine but since upgrading to CFMX the UNC paths no longer function. Thanks, Dave HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Virtual directories and UNC paths not working on CFMX?
Is there any way for CFMX to access network shares using UNC paths? CF5 worked fine but since upgrading to CFMX the UNC paths no longer function. By default, neither UNC paths or drive letters mapped to shares would work with any version of CF. By default, the CF service runs within the SYSTEM security context, which has no rights to network resources. To access either UNC paths or drive letter mappings, you'd need to either run the CF service as a specific user with rights to those network resources, or create a connection to the resource that could be used by the SYSTEM security context. I seem to recall that within a domain, you could do this by creating a persistent mapping as a domain administrator, but I may be misremembering that, and it doesn't sound like a good idea anyway. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Virtual directories and UNC paths not working on CFMX?
MX is running under a user acct w/access to the UNC dir. Nothing has changed except a simple upgrade to CFMX. You might want to test this by logging in as this user from the server console. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Virtual Directories
From my understanding of that article, the auto disconnect timeout is controlled by the server, is that right? Yes, that's correct. If that is the case I don't think it will help in this particular situation. The Snap servers are running some sort of Linux based NTLM emulation software and as such are not true NT fileservers. I'll bet that they're running Samba, which is an SMB server often used on Unix variants. I think you can control disconnect behavior by editing the smb.conf file: http://us2.samba.org/samba/docs/man/smb.conf.5.html Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Virtual Directories
I've had the exact same issue with our SNAP server. I think their NTLM emulation software is somewhat bunk. I've had alot of problems with it. What version of the SnapOS are you using? /rob -Original Message- From: Kevin Schmidt [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 5:01 PM To: CF-Talk Subject: Virtual Directories We have a IIS virtual directory to a SNAP server and it seems that it gets dropped about every 60 seconds, and ColdFusion has to wake it up. Basically we store images on this server and call them from the web server. First time around if the connection is severed we get broken images, hit refresh and bingo, there they are. Anyone have any ideas on this one? Kevin Schmidt __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Virtual Directories
Dave, thanks for the info From my understanding of that article, the auto disconnect timeout is controlled by the server, is that right? If that is the case I don't think it will help in this particular situation. The Snap servers are running some sort of Linux based NTLM emulation software and as such are not true NT fileservers. /rob -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 5:42 PM To: CF-Talk Subject: RE: Virtual Directories We have a IIS virtual directory to a SNAP server and it seems that it gets dropped about every 60 seconds, and ColdFusion has to wake it up. Basically we store images on this server and call them from the web server. First time around if the connection is severed we get broken images, hit refresh and bingo, there they are. Anyone have any ideas on this one? Windows automatically disconnects network connections. You can control this behavior: http://support.microsoft.com/search/preview.aspx?scid=kb;en-us;Q138365 Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists