• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Change defaulte message "403: Access Forbidden."

Change defaulte message "403: Access Forbidden." 10 years 1 month ago #26641

  • annavisual
  • annavisual's Avatar
Where I can change the default message displayed when a IP is blocked?
403: Access Forbidden
Your IP has been blacklisted.
The administrator has disabled public write access.

Change defaulte message "403: Access Forbidden." 10 years 1 month ago #26650

  • adrianp
  • adrianp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 631
  • Thank you received: 146
Hello,

RSFirewall! forbidden reasons can be found in the component frontend language file, located under a similar path:

\language\en-GB\en-GB.com_rsfirewall.ini

Open it and change the words in quotations to whatever you desire. Another way would be to use Joomla! language overrides and overwrite the labels found in the above file.
This is not official customer support. To receive your support, submit a support ticket here.
The administrator has disabled public write access.

Change defaulte message "403: Access Forbidden." 10 years 1 month ago #26940

  • annavisual
  • annavisual's Avatar
Hello:

I'm looking for but there is no file called en-GB.com_rsfirewall.ini or es-ES.com_rsfirewall.ini :(

I am using the latest version compatbile wit for Joomla 1.5.26: RsFirewall v.44
Last Edit: 10 years 1 month ago by annavisual.
The administrator has disabled public write access.

Change defaulte message "403: Access Forbidden." 10 years 2 weeks ago #27053

  • annavisual
  • annavisual's Avatar
any help??
The administrator has disabled public write access.

Change defaulte message "403: Access Forbidden." 10 years 2 weeks ago #27077

  • adrianp
  • adrianp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 631
  • Thank you received: 146
Hello,

The RSFirewall! Joomla! 1.5 version does not have the reasons within the language file, instead these are hard-coded. In order to change this message you will have to perform source code modifications.

1. Locate and open the following file:

\administrator\components\com_rsfirewall\assets\headers\403.php

Change the "403: Access Forbidden" as you wish.

2. Locate and open this file as well:

\administrator\components\com_rsfirewall\helpers\rsfirewall.php

Search for:
RSFirewallHelper::header(403, 'Your IP has been blacklisted.<br />'.$reason, false);

Change "Your IP has been blacklisted" according to your needs.
This is not official customer support. To receive your support, submit a support ticket here.
Last Edit: 10 years 2 weeks ago by adrianp.
The administrator has disabled public write access.

Change defaulte message "403: Access Forbidden." 7 years 10 months ago #35112

  • RPPEO
  • RPPEO's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 67
  • Thank you received: 6
Has this changed again? Trying to provide more info to blocked users, not able to locate the "helpers" folder in the latest version of RSFirewall (2.10.2).

Thank you
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!