Support

Admin Tools

#31805 403 fobidden

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 on Sunday, 27 October 2019 18:17 CDT

uzbaby
Hello!
Dear developers, please can you help with this issue.
I added some txt fime in my root. (uzbaby.uz/ads.txt)

But it doesn't opening, it shows

Forbidden
You don't have permission to access /ads.txt on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

Please can you help with this? What should I configure in Admin Tools to see this txt file.

Thank you very much!

nicholas
Akeeba Staff
Manager
You are using the .htaccess Maker to create a security optimized .htaccess file. The Front-end Protection option, enabled by default, disables direct web access to all files (except Joomla's index.php file and select file types in the media, components, modules and plugin folders) that you do not explicitly allow. A .txt file in the root of your site would, therefore, be blocked with a 403 Forbidden error just like you describe.

As I said, you can explicitly tell it which files to allow. Go to Components, Admin Tools, .htaccess Maker and add the following to the "Allow direct access to these files", in a new line:
ads.txt

Then click on Save & Create .htaccess to apply your changes.

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!

uzbaby
Hello Nicholas. Your answers are always MORE THAN PERFECT!!!
Thank you very much! My problem solved.

nicholas
Akeeba Staff
Manager
You're welcome :)

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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!