#31745 – htaccess maker causing 404 on pdf links

Posted in ‘Akeeba Admin Tools for Joomla!’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Tuesday, 10 September 2019 15:28 CDT
When I click any link that points to a pdf file, I get a 404. I've verified that the file is there using FTP. Swapping out the generated htaccess for the basic distribution one solves the problem. I believe this just started when I upgraded to PHP 7.2.22. I will try to go back and see. I've attached the generated htaccess.
Custom Fields
Joomla! version (in x.y.z format) 3.9.10
PHP version (in x.y.z format) 7.2.22
Admin Tools version (x.y.z format) 5.3.4
 
sneadm
Tuesday, 10 September 2019 17:28 CDT
That is the expected behavior. It wasn't a PHP update, it was an Admin Tools update. In the recent versions of Admin Tools any file outside the /media or /images folders requires an exemption in .htaccess Maker. In the field Allow direct access to these files, put the file name (and path if it's not in root) on a separate line. Then regenerate your .htaccess file and you should be good to go.


Dale L. Brackin

Support Specialist



English: native



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



dlb
Wednesday, 11 September 2019 14:57 CDT
Thanks! I guess I should pay more attention to release notes!

Mark
 
sneadm
Wednesday, 11 September 2019 14:59 CDT
You're welcome!


Dale L. Brackin

Support Specialist



English: native



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



dlb
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

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!

Cookies Notification - Action required

This website uses cookies to provide user authentication and improve your user experience. Please indicate whether you consent to our site placing these cookies on your device. You can change your preference later, from the controls which will be made available to you at the bottom of every page of our site.