If a user fails to authenticate with cPanel through a custom login form, the
/var/cpanel/failurls file allows a reseller to redirect that user to a custom error page.
Make certain that your entries in the
failurls file meet the following requirements:
is not a valid entry because it is a dynamic URL.
GETquery strings will fail because they will not match any entry in the
<input type="hidden" name="failurl" value="is a valid hidden " />
failurlsfile matches the
<input type="hidden" name="failurl" value="hidden " />
After you create the entries in the
failurls file, use the following command as the
root user to restart cPanel: