Yes, it's work. But appadmin database administraton redirects to admin/ default/index and rises invalid request error. How to fix it?
On 3 фев, 01:28, Massimo Di Pierro <[email protected]> wrote: > Just rename its folder. > > Counter indication: the redirection for appadmin login will break. > > On Feb 2, 2:24 pm, LightOfMooN <[email protected]> wrote: > > > > > > > > > Is there a way to change name of app admin? > > > fromhttps://mydomain.com/admin > > to something likehttps://mydomain.com/mysecretadmin > > > I tired this: > > routes_in = ( > > ('(?P<any>.*)/admin(?P<any2>.*)', '\g<any>/myapp/default/index'), > > ('(?P<any>.*)/mysecretadmin(?P<any2>.*)', '\g<any>/admin\g<any2>'), > > ) > > routes_out = ( > > ('(?P<any>.*)/admin(?P<any2>.*)', '\g<any>/mysecretadmin\g<any2>'), > > ) > > > but it's so bad way, and doesn't work > > > thx

