How to edit 401/2/3/4 error page file
"HTTP error 401 You do not have permission to access this page."
Or anyone error, 401,2,3,4
I would like to this change in file.
-
Visit the documentation URL below and I guess you will get the information. Error Pages - Documentation - cPanel Documentation 0 -
That documentation tutorial is old version. I copy that word: Home >> Advanced >> Error Pages, "Advanced or Error Pages" I coped in my WHM search could not found. Confused. 0 -
I copy that word: Home >> Advanced >> Error Pages, "Advanced or Error Pages" I coped in my WHM search could not found.
Hello, This option is available in the cPanel interface. You'd login via cPanel for the specific account and utilize the Error Pages option. Thank you.0 -
Hello, This option is available in the cPanel interface. You'd login via cPanel for the specific account and utilize the Error Pages option. Thank you.
That is domain only, myself created in 403/4.php it's protected more than this, it's just made was me. What i say, i must in IP Server for cPanel login self "You do not have access to this cPanel" I need to anywhere that 401/2/3/4/.... edit in file on server cPanel & WHM. Not my site.0 -
I need to anywhere that 401/2/3/4/.... edit in file on server cPanel & WHM. Not my site.
You could add custom ErrorDocument values in all Virtual Hosts on the system using the instructions at: Modify Apache Virtual Hosts with Include Files - EasyApache 4 - cPanel Documentation Information on the Apache ErrorDocument configuration is available at: Custom Error Responses - Apache HTTP Server Version 2.4 Thank you.0 -
@cPanelMichael, I'm back. I said, like this, 0 -
You could add custom ErrorDocument values in all Virtual Hosts on the system using the instructions at: Thank you.
Both is not clear for me. Please tell me to where folder/file in "HTTP error 401 You do not have permission to access this page." in cPanel and WHM only. Not website/site.0 -
Now, I found it. /usr/local/cpanel/base/unprotected/cpanel/templates/access_denied.tmpl [HTML] [% WRAPPER 'templates/_error_wrapper' -%] [% uri.html() %]
[% locale.maketext('You do not have permission to access this page.') %]
[% IF page_message %][% locale.makevar(page_message) FILTER html %]
[% END %] [% END -%] [/HTML]0 -
/usr/local/cpanel/base/unprotected/cpanel/templates/access_denied.tmpl
Hello, Regarding the cPanel login templates, documentation on this is available at: Guide to cPanel Interface Customization - Login Templates - Software Development Kit - cPanel Documentation Thank you.0 -
Hello, Yes, however you'd need to change the default login template to your custom one via the following option under "Display" in "WHM >> Tweak Settings": Default login theme Thank you. 0 -
I know it, I mean. If I put cpanel-anime cloned alike cpanel default, But I edited for background and login CSS, etc more in cpanel-anime only. If feature for an update in WHM/cPanel will default my created cpanel-anime changed to default again or not? I don't want to default in cpanel-anime again. It's Theme Manager. 0 -
If I put cpanel-anime cloned alike cpanel default, But I edited for background and login CSS, etc more in cpanel-anime only. If feature for an update in WHM/cPanel will default my created cpanel-anime changed to default again or not? I don't want to default in cpanel-anime again. It's Theme Manager.
The changes to the files under the cloned theme directory (e.g. /usr/local/cpanel/base/unprotected/cpanel-anime/templates/access_denied.tmpl) are preserved through updates. Thank you.0 -
Alright. This is not solved thread yet, I'm busy hold on later. Edit to this test for 401 error page. 0 -
Hello, @cPanelMichael, Sorry for passed away this thread. 401/403/404 file is really worked it for me. Edit to where file. This thread is solved now. :) 0
Please sign in to leave a comment.
Comments
15 comments