Support

Admin Tools

#39214 Which option in htaccess maker adds block IfModule mod_authz_core.c ?

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Tuesday, 29 August 2023 09:01 CDT

pklinke

Hello,

which option in htacess maker does add this code into .htacess?

<IfModule mod_authz_core.c>
  <RequireAll>
    Require all granted
    Require not env stayout
  </RequireAll>
</IfModule>

 

 

 

Sincerely

Peter

System Task
system
The ticket information has been edited by Peter Klinke (pk@klinke,de).

System Task
system
The ticket information has been edited by Peter Klinke (pk@klinke,de).

nicholas
Akeeba Staff
Manager

User agents to block.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

pklinke

what do I have to Do to don't have this entry in my htacess but to block the agents?

This entry blocks the folder security.

 

Sincerely

Peter

nicholas
Akeeba Staff
Manager

Set "Block access from specific user agents" to No. Then, click on Save & Create .htaccess in the toolbar.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

pklinke

Well, thank you. But than the agents are not blocked anymore 

 

Sincerely

Peter

nicholas
Akeeba Staff
Manager

You asked me which feature produced the .htaccess snippet you gave me, I told you.

You asked how to disable it, I told you.

Yes, of course, if you disable a feature then the feature is disabled.

I do not understand what you expect me to tell you here.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

pklinke

I want to make it possible to have folder security, which is unposible with this htaccess entry. But don't want to miss the 'block user agents'  too.

 

Sincerely

Peter

nicholas
Akeeba Staff
Manager

This rule does not prevent you from password-protecting any subdirectory under the web root.

While it does prevent you from password-protecting the web root itself, there is no point in doing both at the same time. If you are password-protecting a directory nobody can access it without the password. Therefore, blocking user agents is irrelevant, as only requests with the correct password will go through anyway. The password protection is much stronger than the feeble blocking of user agents.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!