if I'm not mistaken, it looks like you don't have the wildcard-entry in your IIS. This means that if you use a URL without the aspx, IIS will treat is as a directory (it is not processed by ASP.NET).
To make it work, you probably need to add a wildcard-mapping to ASP.NET.
Thanks for the replies. I tried following your advice by adding a new handler before the staticfile handler. (ASP.NET-ISAPI-2.0-Wildcard) that catches all (*).
It didnt work, and after that I had to change the project to classic App-pool, so I had to delete the reference anyhow. (it made my site go nuts)
Do you have any ideas what I could do? Please spell it out, I'm kind of new to this stuff.
Hi,
I'm having some problems with umbracoUseDirectoryUrls and wildcard mapping (I'm using IIS6).
When I set it up, the site works great, neat and tidy urls. But the umbraco admin stops working! (rather renders awkwardly)
[img]http://img33.imageshack.us/img33/4162/error2ga.jpg[/img]
I get the following errors:
[img]http://img29.imageshack.us/img29/7503/errorbs.jpg[/img]
It seems as if the js-files are not found? Do I need to ad a handler to the js-files in IIS?
Are the js-files in Umbraco Admin not referenced virtually?
urlrewriting - cant get it to work without .aspx
Hey guys,
Does someone know the solution to this problem?
I want to urlrewrite 'users/username' (for example users/martin) to another url.
But somehow it only works when I add '/default.aspx'. Or something else.
When I trie it without the aspx, meaning I'm redirecting the entire folder it gives me an http error (says it cant find the right file)
Does someone know how this can be solved?
Thanks in advance.
Martin
Hi,
if I'm not mistaken, it looks like you don't have the wildcard-entry in your IIS. This means that if you use a URL without the aspx, IIS will treat is as a directory (it is not processed by ASP.NET).
To make it work, you probably need to add a wildcard-mapping to ASP.NET.
HTH,
Peter
damn! Peter beat me! -- i acutally just worked on this early today on one of my sites...
yes you go map the widcard and update the config to use directory urls...
then you need to write some rewriting rules to cover your various instances...
here's how i covered my bases... please someone correct me if i am wrong with anything anyone sees below...
<add name="KickIt" virtualUrl="^http\://www.baty-barr.com/(.*).aspx"
rewriteUrlParameter="IncludeQueryStringForRewrite"
destinationUrl="http://baty-barr.com/$1"
redirect="Domain"
redirectMode="Permanent"
ignoreCase="true" />
<add name="KickIt2" virtualUrl="^http\://www.baty-barr.com/(.*)"
rewriteUrlParameter="IncludeQueryStringForRewrite"
destinationUrl="http://baty-barr.com/$1"
redirect="Domain"
redirectMode="Permanent"
ignoreCase="true" />
<add name="KickIt3" virtualUrl="^http\://www.baty-barr.com/(.*).aspx"
rewriteUrlParameter="IncludeQueryStringForRewrite"
destinationUrl="http://baty-barr.com/$1"
redirect="Domain"
redirectMode="Permanent"
ignoreCase="true" />
Hi guys,
Thanks for the replies. I tried following your advice by adding a new handler before the staticfile handler.
(ASP.NET-ISAPI-2.0-Wildcard) that catches all (*).
It didnt work, and after that I had to change the project to classic App-pool, so I had to delete the reference anyhow. (it made my site go nuts)
Do you have any ideas what I could do? Please spell it out, I'm kind of new to this stuff.
thanks anyways.
Martin
Have you seen the following:
http://our.umbraco.org/wiki/install-and-setup/setting-up-umbraco-for-friendly-urls
Hi, I'm having some problems with umbracoUseDirectoryUrls and wildcard mapping (I'm using IIS6). When I set it up, the site works great, neat and tidy urls. But the umbraco admin stops working! (rather renders awkwardly) [img]http://img33.imageshack.us/img33/4162/error2ga.jpg[/img] I get the following errors: [img]http://img29.imageshack.us/img29/7503/errorbs.jpg[/img] It seems as if the js-files are not found? Do I need to ad a handler to the js-files in IIS?
Are the js-files in Umbraco Admin not referenced virtually?
Help on this would be very appriciated.
I solved my issue. I removed the wildcard mapping for the umbraco_client directory. Works great!
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.