Support

Admin Tools

#9714 Can't get .htaccess right for "pressearchiv" component

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 Thursday, 09 December 2010 06:03 CST

iamalive
Hi Nicholas

This component reads PDF files in a directory images/pressearchiv/PDF

The result I'm getting is that in all Browsers, when I don't add anthing to the .htaccess, the component works, but demands the "extra administrator page" Login details.

If I add "components/com_pressearchiv/pressearchiv.php" it works as it should in Firefox, but in other browsers it still demands a password and username.

You can see it working here
http://www.witty-line.ch/portrait-erica-wittenwiler-witty/medien.html

I'm stuck. If you have any ideas, I'd be grateful.
Regards
David


nicholas
Akeeba Staff
Manager
The component's author has done a fatal sin. He is trying to access files in the administrator are of your website from the component's public (front-end) part. Unfortunately, the only way to make it work is to disable the Administrator Password Protection. After you do that, complain to the author of that extension that the way he has coded the component is insecure and ask him to fix that.

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!

iamalive
Hi again
Thanks for the prompt answer - not what my client wants to hear, but that's the explanation the will get. I will get in touch with the author.

Again, thanks for the excellent support.

Regards

David

nicholas
Akeeba Staff
Manager
You're welcome! I wish there was a better solution, but unfortunately some developers don't follow all the best practices :(

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!