if it's got a default.aspx i can't see why it would be having a problem, do you have any other default documents in IIS (default.html for example)? Can you try creating one of those and seeing if it's hit.
Because /umbraco/ is an ignored path (umbracoReservedPaths in the web.config) it'll not run through the Umbraco handlers and hence not use the Umbraco 404 handler
Hmmm.. this is very odd. Thanks for the help. I'll leave this question open and hopefully find out why neither my 404 redirects nor default documents for /umbraco/ work.
The redirect to the Umbraco admin login page didn't work because I was missing the trialling slash off the URL (sitename.com/umrbaco rather than sitename.com/umbraco/), so thats sense. :)
With the 404's I had to do two things:
1) In the application pool switch the Managed pipeline mode to "classic"
2) Add a Wildcard Script Map to C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll in IIS. Note that it's the 64 bit version.
It's seems that this has something to do with the way one actually closed the internet navigator and webmatrix (and possibly move the directory where files are) without having first logged out from the admin panel.
At least what worked for me is to actually log in mentionning the complete name of the login file, with the extension
After having logged in once this way. If I carefully log out using the logout_admin button on the admin panel and stopping the site within Webmatrix, then I'm again able to log in using the url mentionned before.
Umbraco won't redirect to the Login.aspx page
Hi,
I've recently installed Umbraco, and to get into the login I have to URL:
http://www.sitename.com/umbraco/login.aspx
instead of simply:
http://www.sitename.com/umbraco/
Which returns a 404.
This is a pain, becasue it's also causing bad urls not to redirect to the standard 404 page.
Any ideas why? How do these redirects normally work?
-Evan
Do you have a default.aspx file in the /umbraco/ folder?
Is your IIS configured to look for default.aspx as a default file?
Wow - extremely fast reply - thanks so much!
So I actually have two sites (totally separate Umraco instances). One redirects as expected, the other doesn't.
I can confirm that in both sites the /umbraco/ folder I does contain a Default.aspx file.
I can also confirm that both sites list Default.aspx in the list of Default documents.
So I don't think this is the issue.
The site that works as expected, also has it's 404 redirects working correctly, so I think the two issues are linked.
Thanks again for the fast reply Slace! Let me know if you have any other thoughts.
-Evan
if it's got a default.aspx i can't see why it would be having a problem, do you have any other default documents in IIS (default.html for example)? Can you try creating one of those and seeing if it's hit.
Otherwise i don't have any ideas...
Cool thanks.I'll try that.
Do you have any idea why the 404 page wouldn't get redirected to?
Cheers!
Because /umbraco/ is an ignored path (umbracoReservedPaths in the web.config) it'll not run through the Umbraco handlers and hence not use the Umbraco 404 handler
Hmmm.. this is very odd. Thanks for the help. I'll leave this question open and hopefully find out why neither my 404 redirects nor default documents for /umbraco/ work.
The Umbraco 404 handlers wont work but if you use the standard ASP.Net 404 handler then it should work. That is the expected operation too.
So this is working now.
The redirect to the Umbraco admin login page didn't work because I was missing the trialling slash off the URL (sitename.com/umrbaco rather than sitename.com/umbraco/), so thats sense. :)
With the 404's I had to do two things:
1) In the application pool switch the Managed pipeline mode to "classic"
2) Add a Wildcard Script Map to C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll in IIS. Note that it's the 64 bit version.
So yeah, thanks for the help Slace!
I'm actually not too happy about running the site is Classic mode... do you (or does anyone) know if this is neccessary? Or know of another fix?
It's a paradox but I believe that the login problem has a log out solution.
Several times after having lauched my umbraco site with Webmatrix
if I try to login using the following url, I just end up on a 404 page.
http://localhost:12345/umbraco
It's seems that this has something to do with the way one actually closed the internet
navigator and webmatrix (and possibly move the directory where files are)
without having first logged out from the admin panel.
At least what worked for me is to actually log in mentionning
the complete name of the login file, with the extension
http://localhost:48979/umbraco/login.aspx
After having logged in once this way. If I carefully log out using the logout_admin button
on the admin panel and stopping the site within Webmatrix, then
I'm again able to log in using the url mentionned before.
is working on a reply...