Support

Admin Tools

#11636 .htaccess sub directories

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, 20 March 2012 11:04 CDT

paurat
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 2.5.2
PHP version: (unknown)
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Admin Tools version: 2.2.0

Description of my issue:
Hi there. I have a site that requires access to all the sub folders in the images folder. There are multiple folders and sub folders.
I find that I have to put in the complete folders path for all the folders and sub folders in the htaccess file to allow access, but there are lots of folder and these will keep growing on a daily basis. I dont have the time to manually add each folder path to the htaccess file everytime something changes.
Is there any way that I can add the main folder eg (public_html/images/folder) and all its sub folders (public_html/images/folder/subfolder) in one action?
Any help would be greatly appreciated.
Many thanks,
Paul

nicholas
Akeeba Staff
Manager
Hello Paul,

.htaccess rules do lazy matching. This means that adding the images/folder in the allowed path will allow access to the files inside the images/folder directory and all of its subdirectories, in an infinite depth. Which is exactly what you asked me :)

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!

paurat
Hello Nicholas.
Fantastic speedy reply! Many thanks.

It looks like my problem is elsewhere then. I have a plugin (sigplus) that is refusing to show the images that are pulled from the images folder.

The page command is:
{gallery}news_images/2011HouseofMarbles{/gallery}

The plugin is set to use the /images folder as the default starting point. What is more confusing is that if I remove the .htaccess file - everything works perfectly. If I add in the exact path in the exceptions in htaccess - this also works..!

Any ideas?

Thanks again for your speedy reply.
Paul

nicholas
Akeeba Staff
Manager
Hi Paul,

You should have known by now, I have a documentation page for pretty much everything :D Have no doubt, I have already documented the troubleshooting instructions you need to follow: https://www.akeebabackup.com/documentation/troubleshooter/athtaccessexceptions.html

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!

paurat
Hi Nicholas,
I knew you would have! I have even looked at that document, but obviously not read it thoroughly enough!
Many thanks again, and keep up the excellent work. I must say, I was having an absolution nightmare with hacking until loading admin tools. And even better - its a great price.

Thanks again,
Paul

PS. You can close the ticket.

nicholas
Akeeba Staff
Manager
You're welcome, Paul and thank you for your kind words!

I'm going to leave that ticket open for a while, in case you have some trouble with the troubleshooting :)

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!