Hello everybody,
I basically would like to prevent the manager/index.php to be publicly accessible. Maybe by renaming it to manager/index.inc.php, but I am not sure if that would be possible in MODx. FYI, I set my Lighttpd to deny direct access to any *.inc.php files.
In *cough* Drupal *cough*, I could have a single login form for both user and administrator. So when both types of users login in, they will be redirected to public index.php. Except for user with administrator right, we can set a link to get to the administrator’s control panel.
I would like to achieve the same thing in MODx, but with a little bit of differences. When a user with administrator right login in, I would like to have it directly redirected to the administrator control panel.
How could I do that in MODx?
I am sorry to ask this as I could not find the solution after a few hours trying and reading the documents. Maybe I missed them. So if you could point the documentations related to this, I would really appreciate it.
Thanks a lot in advanced for your help.
Anto
-
MODX Staff
- 10,725 Posts
No you can’t rename the manager index file AFAIK. I’ve never even considered denying access to a login screen to the manager, but I’m sure there is some way to do it if you really want that.
There’s a ManagerLogin add-on in the repository which Manager users can use to login from the front-end; otherwise, I’m not clear on what you are asking for. QuickEdit also has a way for users logged in to access the backend.
Also, please don’t *cough* double-post *cough* your questions under slightly different topics.