Support

Admin Tools

#33686 allow access to cache paths

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 toonetcreation on Wednesday, 09 September 2020 07:31 CDT

toonetcreation

Hi,

I have a question regarding htaccess maker and this section : Allow direct access, except .php files, to these directories

If I use joomla native cache and jch_optimize plugin, all the caches files will written inside this directory : www/cache/

1) by default, do I leave this section blank : Allow direct access, except .php files, to these directories ?

2) or do I need to add www/cache/ path inside Allow direct access, except .php files, to these directories section ?

3) if yes, If I have some subfolders, do I need to write something like this :

www/cache/com_content/sub_folders
www/cache/com_modules/sub_folders
www/cache/plg_jch_optimize/sub_folders

or something like this is enough : www/cache : so this means all the folders and subfolder inside www/cache path will allowed ?

Thanks

L.

tampe125
Akeeba Staff

Hello,

usually there shouldn't be any need to add exceptions, those fields are meant to be used to add workarounds for extensions not following Joomla best practices.

For example, the cache folder is meant to be used for server cache, not for public cache.

That being said, you should add such folder only if you are experiencing issues, moreover you should add the relative path (starting from your site root), not the absolute one, so in this cache would be cache

Let me know how it goes.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

toonetcreation

ok I see.

but extensions like JCH, or joomla global cache are allowed to write inside www/cache directory? this is good right?

And if I add relative path, do I need to specify all the directories + sub directories or just main directory?

ex: 

www/cache/main_folder/sub_folder

or just

www/cache/main_folder

?

tampe125
Akeeba Staff

There's no need to add subdirectories to the exception list.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

toonetcreation

ok thanks for your feedback.

L.

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!