04-14-2023, 10:12 PM
ehcp user: how can I remove some settings from EHCP like modifying Apache http setup file . They are really dangerous for a basic user
me: hmmm.
1m
Sent at 8:23 PM on Tuesday
me: a few ways
1- you may completely disable custom http settings
2- disable them only for non-admins
which one do you prefer ?
ehcp user: 2
Sent at 8:26 PM on Tuesday
ehcp user: How can I do that ?
me: open classapp.php
find function editApacheTemplate(){
at start of that function,
append
$this->requireAdmin();
thats it
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
me: hmmm.
1m
Sent at 8:23 PM on Tuesday
me: a few ways
1- you may completely disable custom http settings
2- disable them only for non-admins
which one do you prefer ?
ehcp user: 2
Sent at 8:26 PM on Tuesday
ehcp user: How can I do that ?
me: open classapp.php
find function editApacheTemplate(){
at start of that function,
append
$this->requireAdmin();
thats it
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.