Copied to clipboard

Flag this post as spam?

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


  • Bjarne Fyrstenborg 1286 posts 4060 karma points MVP 8x c-trib
    Sep 30, 2011 @ 19:39
    Bjarne Fyrstenborg
    0

    Friendly URL with Surftown

    Hi..

    Someone who has set up friendly url for Umbraco websites hosted by Surftown?
    Related to this in IIS7 http://our.umbraco.org/wiki/install-and-setup/setting-up-umbraco-for-friendly-urls

    It doesn't seem to they have a IIS manager tool like in the guide..
    I'm not sure where to start beside setting the umbracoUseDirectoryUrls value to true in web.config..

    Bjarne

  • Bjarne Fyrstenborg 1286 posts 4060 karma points MVP 8x c-trib
    Oct 15, 2011 @ 21:49
    Bjarne Fyrstenborg
    0

    Isn't there anyone, who has done this on their Umbraco installation hosted by Surftown?

    Bjarne

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Oct 15, 2011 @ 23:33
    Jan Skovgaard
    0

    Hi Bjarne

    Have you checked that the friendly urls have not already taken effect?

    I'm using this on a couple of sites in v4.7.x and I have never added the empty PreCondition attribute.

    But if you for some reason need to I guess you should be able to do it in the <modules> section in the web.config, like it's mentioned in the wiki entry (allthough it's not neccesarily very obvious).

    Hope this helps.

    /Jan

  • Bjarne Fyrstenborg 1286 posts 4060 karma points MVP 8x c-trib
    Oct 16, 2011 @ 01:02
    Bjarne Fyrstenborg
    0

    Hi Jan

    I have changed umbracoUseDirectoryUrls value to true in web.config and both tried with adding the preCondition="" and not adding the attribute.. and also published the nodes, but I get this 404 page: http://ak-security.dk/forside/

    I'm using v4.7.x ... 

    Have you got it working on a Umbraco installation hosted by Surftown?

    Bjarne

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Oct 16, 2011 @ 10:05
    Jan Skovgaard
    0

    Hi Bjarne

    Hmm, that's odd. I'm out of ideas. Unfortunately I have not had any sites hosted with surtown.

    Have you been in touch with their support?

    /Jan

  • Bjarne Fyrstenborg 1286 posts 4060 karma points MVP 8x c-trib
    Oct 16, 2011 @ 15:55
    Bjarne Fyrstenborg
    0

    Yes, I have been in touch with their support.. but they wasn't sure how it should be done.. and that it should be possible to modify the changes from web.config and perhaps the global.asax file..

    Bjarne

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Oct 16, 2011 @ 15:59
    Jan Skovgaard
    0

    hmm, ok. Seems like you're doing everything in your end correctly.

    So...this is a longshot...do you have listed a "forside" folder in the umbracoReservedPaths in the web.config file?

    /Jan

  • Bjarne Fyrstenborg 1286 posts 4060 karma points MVP 8x c-trib
    Oct 16, 2011 @ 16:06
    Bjarne Fyrstenborg
    0

    No, it's just the structure of the site like this:

    dk
    - forside
    - aktuelt
    - profil
    - vi tilbyder
    - kontakt
    - galleri

    where the dk node redirects to forside.

    I can with no problems access the site with adding the .aspx in the end, e.g. http://ak-security.dk/forside.aspx

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Oct 16, 2011 @ 17:50
    Jan Skovgaard
    0

    Hi Bjarne

    Aaah yes I should really have discovered this myself :)

    I'm all out of ideas...must be some weird server setting. Perhaps the support can see something in the event log on the server?

    /Jan

  • Bjarne Fyrstenborg 1286 posts 4060 karma points MVP 8x c-trib
    Oct 16, 2011 @ 18:01
    Bjarne Fyrstenborg
    0

    Yes.. they don't have an IIS manager tool in the control panel.. isn't it something about I need to add a wildcard mapping to IIS, which tells it to use the aspnet_isapi.dll to serve all pages/folders related to this post: http://our.umbraco.org/forum/developers/extending-umbraco/3130-Have-URL-without-aspx-on-the-end

    It seems that something must be changed in IIS to get it working..

    At e.g. UnoEuro I can see that let you download the IIS manager tool and then access the settings from there: https://www.unoeuro.com/support/faq/6/242/

    I have written a mail to Surftown about they have a similar way to access the IIS...

    Bjarne

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Oct 16, 2011 @ 18:07
    Jan Skovgaard
    0

    Well I'm not sure about the access to the manager. I would have thought you should just be able to overwrite the server setting in the web.config file.

    On my UnoEuro sites I have never done anything else than just set umbracoUseDirectoryUrls to true and then it have just worked...

    But could seem like you need to either get access to the IIS manager tool or make support fix it for you...it's a shame it has to be so painfully troublesome to make it work on their server :-/

    /Jan

  • Bjarne Fyrstenborg 1286 posts 4060 karma points MVP 8x c-trib
    Oct 16, 2011 @ 18:30
    Bjarne Fyrstenborg
    0

    I have also just tried it will a site hosted by UnoEuro.. but haven't changed anything and in web.config it's set to: <add key="umbracoUseDirectoryUrls" value="false" />

    But still I can access the site e.g. www.mydomain.com/forside.aspx and www.mydomain.com/forside without getting an 404 error.. so I think UnoEuro have configured it to allow both with and without .aspx...

    Yes, right now it seems to be difficult to get it working on Surftown.. I think there might be many others which has the same problems as they have a lot of Umbraco installations on their servers..

    Bjarne

  • Christian Stenfors 80 posts 124 karma points
    Nov 18, 2011 @ 10:05
    Christian Stenfors
    0

    Hi Bjarne,

    just to let you know that you are not alone with this issue, i have the same problem with Surftown Umbraco installations

  • Christian Stenfors 80 posts 124 karma points
    Nov 18, 2011 @ 13:29
    Christian Stenfors
    0

    Did you change the mode in IIS from classic to pipeline integreted?

    I have just been trying again today, and after changing to pipeline-mode in the asp.net configuration (and hitting F5 / SHIFT+F5 alot of times) it worked!

  • Bjarne Fyrstenborg 1286 posts 4060 karma points MVP 8x c-trib
    Nov 18, 2011 @ 13:58
    Bjarne Fyrstenborg
    0

    Hi Christian

    Good to know I'm not the only one with that problem..
    No, I haven't tried that.. Surftown hasn't a IIS manager tool as some has or  use IIS Manager.. so it should be modifying from web.config file..

    have you changed the pipeline mode in the web.config file or?

    Bjarne

  • Christian Stenfors 80 posts 124 karma points
    Nov 18, 2011 @ 14:03
    Christian Stenfors
    2

    I logged in to the "My Surftown" control panel, and under domain settings, and asp.net setting (where you also can choose framework version) you can switch pipeline mode. See screenshot:

  • Bjarne Fyrstenborg 1286 posts 4060 karma points MVP 8x c-trib
    Nov 18, 2011 @ 14:08
    Bjarne Fyrstenborg
    0

    Okay :)

    I have seen it before.. but I'm not sure what the difference is? and if it cause any changes to the existing site..

    I'm not sure which mode is standard on UnoEuro, but there it's enough to change umbracoUseDirectoryUrls to true and then it works :)

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Nov 18, 2011 @ 22:29
    Jan Skovgaard
    0

    Hi Bjarne

    Good to see you got it solved - I was not aware that it's possible to change the settings of IIS with the administration panel at surftown. Learned something new myself :)

    In order to explain the difference between using classic mode or integrated mode I think you might benefit from reading the reply to this thread at SO: http://stackoverflow.com/questions/716049/what-is-the-difference-between-classic-and-integrated-in-iis7

    /Jan

  • Bjarne Fyrstenborg 1286 posts 4060 karma points MVP 8x c-trib
    Nov 18, 2011 @ 22:55
    Bjarne Fyrstenborg
    0

    Hi Jan

    Yes, I had seen that possibility in Surftowns administration panel before, but I didn't know that it would do the trick..
    But thanks to Christian for posting it... another thing the Umbraco forum solve for me, that Surftown couldn't help me to fix it..

    Thanks for the link that explaining the difference between classic and integrated pipeline.. but if to integrated pipeline is a new mode in IIS7 I'm  not sure how to fix it on old servers.. fortunately Surftown has upgraded to .NET 4.0 and IIS7 and if you have a webhotel on one of the old servers it's free to get it upgraded to .NET 4.0 and with IIS7..

    Bjarne

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Nov 19, 2011 @ 00:13
    Jan Skovgaard
    0

    Hi Bjarne

    Well as far as I know applications based on ASP.NET 4 requires integrated mode in the app pool to be able to run.

    Must say I'm a bit shocked to hear that surtwon support was not able to help you out. But very glad to see Christian was able to provide the solution :)

    /Jan

  • Bjarne Fyrstenborg 1286 posts 4060 karma points MVP 8x c-trib
    Nov 19, 2011 @ 00:56
    Bjarne Fyrstenborg
    0

    Yes, I got information about futher reading and so.. but not an actual solution on the problem..

    I suggested that they write a post in the support section about it as I think many other of their other customers which use Umbraco also might run into that problem..

    There is actual only 2 post in their support related to Umbraco: one how to install Umbraco and one related to set permissions for NETWORK_SERVICE, which only worked on the old servers with IIS6 .. so if the need to change the permissions you must contact the support..

    I think it might be relevant to write a couple more post in their support section on the homepage as it seems that they have many customers using Umbraco.. when I use Microsoft SQL Server Management Studio to access some of the databases I have at Surftown I have noticed that many of them are named with umbraco .. so therefore I guess they have many Umbraco customers.

    Bjarne

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies