Quantcast
Channel: Adobe Community : Popular Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 14291

Can multiple Virtual Directories be created in CF11?

$
0
0

I am testing the standalone version of CF11 using the internal web server. 

 

Please help me understand some things.  Since we are not using an external webserver like IIS, and we have 4 different websites to configure, in order to not change all the webpage code to point to a different level in order to be found, do I have to do this with Virtual Directories [i.e. I have copied all CF9 code (4 different websites) and just added _CF11 to the end of the main website folder names, i.e. website1_CF11 and an aliases have been created for these websites, i.e. aliases=”/alias1=E:\website1_CF11, etc…”]?  Can multiple VD be created?  How are they defined?  One is defined in the server.xml file as

<Context
            path="/"
            docBase="C:\ColdFusion10\cfusion\wwwroot"
            WorkDir="C:\ColdFusion10\cfusion\runtime\conf\Catalina\localhost\tmp"
            aliases="/VD=C:\newwebroot\VD">
</Context>

 

How would I create more than one?  Is this what I need to do to accomplish my goal?

 

 

Right now aliases are not going to work, because that would be pointless and time consuming changing all the code just so it can find all the web pages so we can test functionality and fix the breaks.  For example, I currently need to change the code to the following:

 

<cf_location url=”#URLSessionFormat(‘/webpage/’)#” addtoken=”false”>

 

To

 

<cf_location url=”#URLSessionFormat(‘/alias1/webpage/’)#” addtoken=”false”>

 

 

We are eventually going to run the wsconfig executable to connect to IIS so we can fully migrate from CF9 to CF11.  What am I missing?  I can’t imagine that Adobe would not have the same functionality with their internal web server as one would have with an external web server. 

 

Thanks in advance!

Jennifer


Viewing all articles
Browse latest Browse all 14291

Trending Articles



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