Copied to clipboard

Flag this post as spam?

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


  • Tony 12 posts 32 karma points
    Jan 17, 2011 @ 17:12
    Tony
    0

    Virtual Directory for 4.6.1

    I have moved my 4.6.1 install to a virtual folder and with come tweaking and a change to the ubmTopNavigation it works fine.

    Does 4.6.1 officially support running in a virtual directory?

    I appreciate I may get issues with other plug-ins which I am willing to risk, but if it's not supported, that is a different question.

    Tony

  • Sebastiaan Janssen 5044 posts 15475 karma points MVP admin hq
    Jan 17, 2011 @ 17:49
    Sebastiaan Janssen
    0

    Yes, vdir is supported out of the box, but it's pretty inconvenient in my humble opinion, for reasons you've mentioned.

    One tip, if you're referring to files, try to use ~/path/filename.extension so that you don't rely on hard coded "../" paths.

  • Tony 12 posts 32 karma points
    Jan 17, 2011 @ 18:01
    Tony
    0

    Excellent - thanks.

    How can you refer to paths in templates - JS and CSS.  At the moment I have them hard coded, but does ~ work in a template?

  • Dwayne A 97 posts 117 karma points
    Jan 17, 2011 @ 23:15
    Dwayne A
    0

    I'm planning to install 4.6.1 on our own server very soon. For reasons of his own - I'm pretty green regarding these issues - the sys admin prefers to install on a virtual server during development and then move the install for publishing. I've read this is not easy. I have no clue how to approach this, what to tweak if needed.

    I've read Umbraco also runs as the default site when installed, and this concerns me. We need to Umbraco parallel with our current CMS on the same server, then shut down the current CMS and replace go public with Umbraco. Any tips on how to install and develop without comprimising our existing config is apprecitaed.

  • Sebastiaan Janssen 5044 posts 15475 karma points MVP admin hq
    Jan 18, 2011 @ 06:51
    Sebastiaan Janssen
    0

    @Tony Yes, it should work in templates as well.

    @Dwayne In my humble opinion: spare yourself the pain! Just create a beta.mydomain.com and a www.mydomain.com. Have a look at this screencast on how to install umbraco, this is the same procedure that can be followed on the server.

  • Dwayne A 97 posts 117 karma points
    Jan 18, 2011 @ 08:46
    Dwayne A
    0

    Thanks Sebastiaan. I'll take a look at your suggestion and ~hash it with the server admin.

  • Tony 12 posts 32 karma points
    Jan 18, 2011 @ 10:23
    Tony
    0

    Ok - I have been working with this for a little while now and it's far from consistent....

        <link rel="stylesheet" type="text/css" href="~/css/custom.css" media="screen">

    works fine in a template but,
      <script type="text/javascript" src="~/scripts/jquery-1.4.4.min.js"></script>
    Does not work???
    nor does
          <a href="~/"><img src="~/images/logo.gif" width="259" height="65"></a>
    It seems like it's not fully implemented, or am I missing something obvious?
    Thanks
    Tony

  • Dwayne A 97 posts 117 karma points
    Jan 19, 2011 @ 13:51
    Dwayne A
    0

    Hi again. Earlier I wrote virtual directory. I need to install on a virtual machine/server: Windows 2008 R2 x64 IIS 7. Isn't this a straightforward install, same as an install directly on the server?

Please Sign in or register to post replies

Write your reply to:

Draft