Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

Re: CF10,0,11,285437 global UNC Mapping does not work?

$
0
0

Found something which I miss for CF10.

 

In CF8 you can:

 

Adding a virtual web mapping

A virtual web mapping lets you map a physical system path to a logical resource path that might be outside the ColdFusion MX web root. For example, you might want to map the physical directory c:\myapp\resources\images to the logical resource path /images. After setting up the mapping, users access the directory using a URL in the following form: 

http://hostname/images/ 

One advantage to using virtual web mappings is that it hides the physical layout of your application directory structure from users.  

To configure a virtual mapping: 

1 In a text editor, open the file web_root\WEB-INF\jrun-web.xml.
2 Create a virtual mapping.
For example, the following entry maps the c:\myapp\resources\images directory on a Windows system to the virtual directory /images:
<virtual-mapping>    <resource-path>/images/*</resource-path>    <system-path>c:/myapp/resources/images</system-path>    </virtual-mapping>  

 

http://www.adobe.com/support/coldfusion/adv_development/config_builtin _webserver/config_builtin_webserver08.html

 

Question is just if this can be done with C10 and where.


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>