Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • yumin 51 posts 243 karma points
    Jun 08, 2013 @ 11:15
    yumin
    0

    load balance website lost all static resources

    I refer to the article http://our.umbraco.org/wiki/install-and-setup/installing-umbraco-for-load-balanced-environments configured two sites in one pc 

    pc:win7 + iis7.5

    umbraco:6.1.1

    Server 1
    * domain DNS name: no
    * internal website DNS name: dev1.mywebsite.com (use for IIS host header)
    * IP Address: 127.0.0.1

    Server 2
    * domain DNS name: n
    * internal website DNS name: dev2.mywebsite.com (use for IIS host header)
    * IP Address: 127.0.0.1

    I copied the two copies of  /App_Data/TEMP  folder to a different location, and then create a virtual directory (not a virtual application) in the /App_Data folder, and name it TEMP.  Point the virtual directory to the folder i just copied

    modify umbracoSettings.config to this:

        0

       

                    dev1.mywebsite.com

    dev2.mywebsite.com                

       

     

    after that i open 2 sites , lost all static resources 

    I'm not sure whether ClientDependency not working in virtual directory

  • yumin 51 posts 243 karma points
    Jun 08, 2013 @ 11:22
    yumin
    0

     

     

    no imgs, no css, no js

  • yumin 51 posts 243 karma points
    Jun 09, 2013 @ 03:18
    yumin
    0

    modify umbracoSettings.config to this:

    <distributedCall enable="true">

        <user>0</user>

        <servers>

             <server>dev1.mywebsite.com</server>

    <server>dev2.mywebsite.com</server>                

        </servers>

      </distributedCall>

Please Sign in or register to post replies

Write your reply to:

Draft