(2020-08-03, 09:33 AM)Crazycat Wrote: [ -> ]Imho, you have somewhere (in the root .htaccess ? in apache configuration ?) a reference to admin/.htaccess
Find it and change the admin part into your new directory value.
Where is the apache configuration? I just have a cpanel.
I looked at the .htaccess there is no reference but in the htaccess-nginx.txt there are;
# Note: You are able to choose a different name in the Admin CP. If you've done that you need to change it here too
location ~ /error.log
{
deny all;
}
# Note: You are able to rename the admin directory. If you've done that, you need to change it here too
location /admin/backups {
deny all;
}
What is that?
You're using apache, so htaccess-nginx is not used.
I can't understand why it tries to read /home/database/public_html/admin/.htaccess when your directory is /home/database/public_html/management/, peharps is there a setting in cpanel that you haven't change.
Verify owner & group of /home/database/public_html/management/jscripts/jqueryui/ (or any faulty directory).
It must be the same as /home/database/public_html/images/ (another example, working directory).
If owners and/or group are different, give good owner/group: chown -R owner.group /home/database/public_html/management
Check permissions too, or force them:
directories: find /home/database/public_html/management/ -type d -exec chmod 755 {} \;
files: find /home/database/public_html/management/ -type g -exec chmod 644 {} \;
(2020-08-03, 03:01 PM)Crazycat Wrote: [ -> ]Verify owner & group of /home/database/public_html/management/jscripts/jqueryui/ (or any faulty directory).
It must be the same as /home/database/public_html/images/ (another example, working directory).
If owners and/or group are different, give good owner/group: chown -R owner.group /home/database/public_html/management
Check permissions too, or force them:
directories: find /home/database/public_html/management/ -type d -exec chmod 755 {} \;
files: find /home/database/public_html/management/ -type g -exec chmod 644 {} \;
Yes this is same.
I don't know how can I force them on cpanel but I looked at these permissions manually. The directories are 755, the files are 644.
Anyway, when I make the name "management" to "admin", the 403 problem is solved. I think the problem is all about the name.