The UrlRewriting.NET get's hit, but that doesn't mean umbraco also get's hit. The only way you can see umbraco get's hit, is if the umbraco not found page is shown (intentionally left ugly bla bla...)
I have the same problem, does anyone have a clue how to get Umbraco to handle this? I have tried everything in IIS7 but I cant ssem to get it to pass it to Umbraco.
v1.3: 404 on classic ASP pages (v1.3: Classic asp handle causes 404 (urlRewriting.config does work with same setting)
Hi Stefan,
I just installed v1.3. and added a custom mapping for: /test/myniceoldpage.asp
I'm getting a 404 as below during the request.
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
If i manually add a rule to the urlRewriting.config it is properly handled, so umbraco does handle the request
Any idea?
Hi Richard,
Did you add /test/ to this line in the web.config file?
Rich
Hi Rich,
This should not be necessary. That would mean you need to set up a reserved path for each 301 rewrite.
Am i missing something?
Sorry, didn't see this was under the 301 URL tracker project, ignore me!!
Rich
Nope, umbraco is not handling the request...
The UrlRewriting.NET get's hit, but that doesn't mean umbraco also get's hit.
The only way you can see umbraco get's hit, is if the umbraco not found page is shown (intentionally left ugly bla bla...)
I got the same error.
Directories and .aspx works fine.
Adding the .asp handler adds this to the web.config.
<add name="ASPClassic" path="*.asp" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="File" requireAccess="Script" />
Im running a IIS 7, Umbraco 4.5.2 and .NET 4
I can't help with this... This is related to configuring IIS the right way, and has nothing to do with umbraco nor the 301 URL Tracker.
Stefan, sorry about that. I thought you were an all-knowing oracle ;)
Richard, did you find a solution?
No problem, but you were wrong ;-)
I had this exact same problem last week, had to resort to manually adding them to UrlRewriting.config.
Trying to redirect old .php urls to the new umbraco pages.
I know .php is handled by asp.net due to the error page when I goto an old .php url.
I have the old url mapped to the new page.
Here is my error:
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
You need to change the error page in IIS to point to a .aspx file. This is how I did and it capture all kind of files
I did that... customErrors is set to "On" and the error page is an aspx page.
AND change the errorpage in IIS <- you need to do that also - or do this: http://our.umbraco.org/wiki/recommendations/recommended-reading-for-web-developers/urlrewriting-html-to-aspx
Did any of you get this working?
If you did, can i please see your web.config?
Ive been trying and trying with no luck.
Thanks
/Kim
Doug Mackay had a great suggestion in another topic, will work with .asp too I think:
I've been investigating the issue of getting it to work with .php/.cfm pages :-
I belive that the umbraco 404 handlers only work with .aspx or extensionless url's (this is hard coded into the umbraco requestModule).
As a workaround you can set-up the UrlRewritter to rewrite .php requests to a .aspx page that does't exist :-
This then enables you to use the custom mapping in the 301 URL Tracker
e.g.
Custom mappings :-
/php/oldpage.aspx
/php/olddir/oldpage.aspx
So /oldpage.php or /olddir/oldpage.php will get 301 redirected to the umbraco page that you've set the custom mapping on.
I have the same problem, does anyone have a clue how to get Umbraco to handle this? I have tried everything in IIS7 but I cant ssem to get it to pass it to Umbraco.
@Kalle
Didn't you see my post above yours?
Yes i did, I also wrote about it here.
http://our.umbraco.org/projects/developer-tools/301-url-tracker/bug-reports/18938-301-not-working,-just-get-a-blank-page
But I would really like to have documentation on how to config IIS7 to handle mappings in the right way.
Then I would have saved about 2 hours of research.
Thanks!
//Kalle
Well, you'd have to find it yourself... I already searched the web for it multiple times, but in the end it didn't work for me.
But if you do and find a solution, let us know!
I just wrote a blog-post on how we do it here: http://blog.toxic.se/blog/2011/september/using-301-url-tracker/
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.