Copied to clipboard

Flag this post as spam?

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


  • Gary Connell 5 posts 25 karma points
    Nov 23, 2009 @ 12:51
    Gary Connell
    0

    Help installing Umbraco

    Hi I just recently downloaded Umbraco and it's great!, I've got it setup for a website and everything is working fine.

     Now I have to set it up for an extranet and the way we have it set up just now is, we have an SSL Certificate setup for secure.domain.com and then the extranet is a virtual directory of this i.e. secure.domain.com/extranet, the reason being we only need one SSL Certificate for any other applications. i.e. secure.eolabs.com/extrnet, secure.eolabs.com/app1, secure.eolabs.com/app2, secure.eolabs.com/app3 etc. all use the same SSL Certificate.

    Now I was wondering how I can setup Umbraco to handle this as I know Umbraco doesn't support virtual directories. I was thinking that I would install Umbraco on secure.domain.com and then run multiple websites. but I'm not sure how to do this, I have tried through "manage hostnames". For instance setting it up as follows

    Content
     -  Extranet
     - - Default
     - Other App
     - - Default

    But extranet has two links, i.e. "/extranet.aspx" (which links to "secure.domain.com/extranet.aspx") which works but is wrong and "secure.domain.com/extranet/" which is right but doesn't work. I get a page not found error.

    Although I might have set up Extranet wrong... I needed to define a Document Type so I just created a blank document type with a folder icon.

    Any help on this would be greatly appreciated

  • Gary Connell 5 posts 25 karma points
    Nov 23, 2009 @ 16:06
    Gary Connell
    0

    Ok I've fixed this.... kind of.

    Instead of having;

    Content
     - Extranet
     - - Default
    etc.

    I've now got;

    Content
     - Secure
     - - Extranet
     - - - Default
     - - App1
     - - - Default.

    And I have assign secure.domain.com to the "Secure" node. I have also changed the "useDomainPrefixes" to true and everything seemed fine.... until I noticed that extranet was displaying as secure.domain.com/extranet in "Alternative Links" (which is right) but it was also displaying as secure.domain.com/extranet.aspx which is wrong because it is supposed to be a folder not a page

    Any Help?

    Thanks

  • Chris Houston 535 posts 980 karma points MVP admin c-trib
    Nov 23, 2009 @ 16:15
    Chris Houston
    0

    Hi Gary,

    Both will work, but if all your links are to the directory URL's then Google or anyone else will never find the .ASPX versions.

    I assume you have set the following in your web.config file?

    <add key="umbracoUseDirectoryUrls" value="true" />

    Cheers,

    Chris

  • Gary Connell 5 posts 25 karma points
    Nov 23, 2009 @ 16:28
    Gary Connell
    0

    Hi Chris,

    I have setting umbracoUseDirectoryUrls to "true" doesn't seem to help

    what I'm looking for is

    Secure to link to secure.domain.com
     - Extranet to link to secure.domain.com/extranet (technically secure.domain.com/extranet/default.aspx)
     - - Default to link to secure.domain.com/extranet/default.aspx

    Is this possible?

     

  • Chris Houston 535 posts 980 karma points MVP admin c-trib
    Nov 23, 2009 @ 16:46
    Chris Houston
    0

    Hi Gary,

    I think you might be getting confused with the way Umbraco works, the following two URL's are identical:

     secure.domain.com/extranet.aspx    And  secure.domain.com/extranet

    The second one is still pointing to the Extranet page and not a "default" document within the Extranet node as you would expect with a normal web directory structure. Remember Umbraco is URL re-writing everything to a default.aspx page at the route of your site, none of these URLs actually exist as pages on the server.

    Unless you have added a node in the content tree under extranet called default, then the following URL will not be valid:

    secure.domain.com/extranet/default.aspx

    Instead when Umbraco sees this, if the node /extranet/default does not exist, it then looks for /extranet and if that is a valid node, it will try to render that and it will pass "default" in as an alternative template.

    I hope this helps,

    Cheers,

    Chris

  • Gary Connell 5 posts 25 karma points
    Nov 23, 2009 @ 17:00
    Gary Connell
    0

    OK I don't think I'm getting it :S... Would you be able to point me in the direction of any tutorials etc. or do you know how I can set this up.

    Basically I want to have https://secure.domain.com which will just be a page at first, then I want to have https://secure.domain.com/extranet/ which I could make do an automatic redirect to https://secure.domain.com/extranet/default.aspx. Then have https://secure.domain.com/extranet/page1.aspx, https://secure.domain.com/extranet/page2.aspx, https://secure.domain.com/extranet/page3.aspx etc. accessible in the same way as https://secure.domain.com/extranet/default.aspx,

  • Chris Houston 535 posts 980 karma points MVP admin c-trib
    Nov 23, 2009 @ 17:23
    Chris Houston
    0

    Hi Gary,

    Not sure I follow you... are all the pages you mention content nodes within Umbraco?

    If they are not Umbraco nodes, your probably better off having those pages outside of the Umbraco node structure and using URLrewriting to make them "look" like they are in the same structure.

    http://our.umbraco.org/wiki/reference/packaging/package-actions/community-made-package-actions/add-an-url-rewrite-rule

    Cheers,

    Chris

Please Sign in or register to post replies

Write your reply to:

Draft