ColdFusion mappings are only available to the ColdFusion code not the
web browser.

If you are using apache just add the following directive to your
VirtualHost blok.


Alias /js d:/www.commonFiles/js/


And restart HTTPD




-J.J.


On 2/28/08, marc -- <[EMAIL PROTECTED]> wrote:
> Hi,
>  I want to put my javascript files offsite and use a mapping to access them. 
> Like so:
>
>  /js is a mapping to 'd:/www/commonFiles/js/'
>
>  In my cfm page ('d:/www/mysite/index.cfm') I have
>
>  <script src="/js/jquery.js" type="text/javascript"></script>
>
>  I want Apache to use the /js mapping value ('d:/www/commonFiles/js/') and 
> not to look for a folder relative to the webroot (d:/www/mysite/).
>
>  Currently it is not found. how can I do this?
>
>  Thanks!
>
>
>  

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3360
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to