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..
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).
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?
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..
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 :-/
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..
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!
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?
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:
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 :)
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..
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 :)
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.
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
Isn't there anyone, who has done this on their Umbraco installation hosted by Surftown?
Bjarne
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
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
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
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
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
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
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
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
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
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
Hi Bjarne,
just to let you know that you are not alone with this issue, i have the same problem with Surftown Umbraco installations
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!
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
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:
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 :)
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
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
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
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
is working on a reply...
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.