November Happy Hour will be moved to Thursday December 5th.

Change location of /Util

Vote:
 

For reasons that are too complicated to explain here, I need to change the location of the /Util folder. To be more specific, what I want is for EPi to redirect to, say, "/AnotherUtil/Login.aspx?ReturnUrl=..." rather  than "/Util/Login.aspx?ReturnUrl=...". This seems to have been possible using earlier versions of EPi but I cannot figure out how to do it for EPi 7.5. Is this still possible, and if so, does anyone know how to do it?

/Karl

#113082
Nov 12, 2014 15:57
Vote:
 

It seems changing the value of utilUrl (alone) in episerver.config doesn't do the trick... :-/

#113525
Nov 24, 2014 1:30
Vote:
 

Hi Karl

Do you simply want to change the path where the login page is? Then simply change the login page url in web.config

    <authentication mode="Forms">
      <forms name=".EPiServerLogin" loginUrl="/Another/Location/YourCustomLogin.aspx" timeout="120" defaultUrl="~/" />
    </authentication>

(notice that EPiServer will still use /util/logout.aspx when logging out from CMS)

Or another way might be to use IIS rewrite to catch the /util/* urls and do a redirect (or execute something else in another place) to some other location.

There seems to be applicationSettings also for rebasing the utilUrl (attribute) folder: http://world.episerver.com/documentation/Items/Developers-Guide/EPiServer-CMS/75/Configuration/Configuring-episerver/

(I just have my doubts does it really work as the /util/ folder is in the zip EPiServer.Cms.Shell.UI.zip nowdays...)

#113560
Edited, Nov 24, 2014 18:50
Vote:
 

Yes, I could never get the utilUrl attribute to work. However, I solved the problem using the IIS rewrite module as you also suggested. Thanks!

#113899
Dec 01, 2014 13:19
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.