I want to secure my umbraco installation. To do this, I disable debugging output by using <addkey="umbracoDebugMode"value="false"/>.
Also I block complete stack trace by using the url rewriting.
After this steps all works fine, both frontend and admin area.
But when I rename "/umbraco" folder, backend stops working (frontend works as usually). I add new path of renamed folder to umbracoReservedPaths. When I logged, all labels was on Danish. Also Content and Media nodes was empty. Wnen I renamed folder to "/umbraco" again all nodes in Content and Media was appeared.
How can I rename "/umbraco" folder and don't lose my content? // I have Umbraco 4.0.2.1 version, IIS 7.5 and Server Web 2008 R2, asp.net 2.0
Glad to hear you got it working, you also have to be careful when you're installing some plug-ins as a lot put themselves into the "/umbraco" directory by default and you'll need to transfer the files over into your new CMS admin directory.
Although it is a hassle to move the Umbraco admin directory, I still firmly beleive that it's the best thing to do along with renaming the default "admin" login as I see numerous attempts to access the Umbraco directory on non-Umbraco sites.
I'll blog about how to restrict access further shortly.
I hide my admin folders by using the following URL rewriting rule. This is currenlty implemented with Helicon ISAPI rewrite however I am sure this could be added into the inbuilt rewriting utility within Umbraco (although I don't know how to do that yet)
Problem with renaming "/umbraco" folder
I want to secure my umbraco installation. To do this, I disable debugging output by using <add key="umbracoDebugMode" value="false" />.
Also I block complete stack trace by using the url rewriting.
After this steps all works fine, both frontend and admin area.
But when I rename "/umbraco" folder, backend stops working (frontend works as usually). I add new path of renamed folder to umbracoReservedPaths. When I logged, all labels was on Danish. Also Content and Media nodes was empty. Wnen I renamed folder to "/umbraco" again all nodes in Content and Media was appeared.
How can I rename "/umbraco" folder and don't lose my content? // I have Umbraco 4.0.2.1 version, IIS 7.5 and Server Web 2008 R2, asp.net 2.0
Hi,
Try reading Tim Gaunts blog post and comments on the subject http://blogs.thesitedoctor.co.uk/tim/CommentView,guid,cf6f0226-db49-460d-8de9-7ab3075d6e84.aspx
That URL didn't parse well. Lets try again http://blogs.thesitedoctor.co.uk/tim/2009/04/28/Fix+Missing+JavaScript+File+When+You+Rename+The+Umbraco+Admin+Directory.aspx
bjawnie, thank you for your reply! Everything works fine.
Glad to hear you got it working, you also have to be careful when you're installing some plug-ins as a lot put themselves into the "/umbraco" directory by default and you'll need to transfer the files over into your new CMS admin directory.
Although it is a hassle to move the Umbraco admin directory, I still firmly beleive that it's the best thing to do along with renaming the default "admin" login as I see numerous attempts to access the Umbraco directory on non-Umbraco sites.
I'll blog about how to restrict access further shortly.
Tim
Hi Guys,
Care for an alternative option?
I hide my admin folders by using the following URL rewriting rule. This is currenlty implemented with Helicon ISAPI rewrite however I am sure this could be added into the inbuilt rewriting utility within Umbraco (although I don't know how to do that yet)
RewriteRule ^(umbraco/login\.aspx.*)|(umbraco/?)$ /NOTFOUND/ [nocase,last]
RewriteRule ^New-Admin-Folder-Name/(.*)$ /umbraco/$1 [nocase]
Happy days - please let me know if this works for you :)
David
is working on a reply...