Support

Admin Tools

#23830 .htaccess maker - not allowing files I have added to exceptions?

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, 03 January 2016 17:20 CST

sandstorm871
 I am protecting admin folder using akeeba Admin tools pro & noticed that I get pop up on my website in the front end when using widgetkit from YooTheme.

When looking in the console (see screenshot), It seems they want to use a font that is hidden away in the administrator folder.

I used .htaccessmaker to allow the specific font files to be allowed (see screenshot) & confirmed the changes in the new .htaccess file, cleared all site & browser cache, etc, but I still get the same issue in the front end of the website.

I tried also just allowing access to the specific font folder in "Allow direct access, except .php files, to these directories" but that didn't change anything.

Is there something else I missed?
Or something else I can do to just allow access to these fonts.

Thanks for any help/advice,
Andy

dlb
Andy,

If you're talking about the password protection of the /administrator folder, there is no work around. Any time anything is accessed in the /administrator folder tree that password is going to be required. All you can do is turn off the password.

Please note that in the very latest versions, it is our understanding that Yoo has corrected some longstanding issues that have been a problem for working with Admin Tools. We're talking just a couple of weeks ago these changes were made, or that's when I first heard about them. I don't know if these new versions will fix your issue, I don't know enough about what changes were made.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


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


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

sandstorm871
I'm using the latest widgetkit 2.5 version released just yesterday (3/12/15).

I Normally use widgetkit with a yootheme template and never run into this issue, but in this case I am using widgetkit in a JooStrap template, so am unsure why widgetkit when not used with there own templates, needs to access font in the admin folder for the front end.

I'll direct my questions to yootheme to see if they can recommend something as I always like to have the admin password protection in place.

Thanks
Andy

sandstorm871
Below is the work around from YooTheme Support.
Not ideal, but they are aware of it and looking to change in the future.

Append the following to your administrator .htaccess file


SetEnvIf Request_URI "(/administrator/components/com_widgetkit/vendor/assets/uikit/fonts)$" allow  
Order allow,deny  
Allow from env=allow  
Satisfy any


and place an .htaccess file with the following content into fonts folder


Order allow,deny    
Allow from all

dlb
That is allowing world access to the fonts folder. I can't imagine what harm the world could do with that, but there are plenty of more clever people out there than me.

I'm not sure that will work to get around the password protection. I didn't think there was any way to do that. All you can do it try it and see.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


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


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

sandstorm871
Tested & works.
Just thought I'd share the work around here & let you know that YooTheme are looking at changing it too.

dlb
Thank you! I'll add that to my bag of tricks.

It is really good to see Yoo working on some of these little things that prevent their themes from working with Admin Tools "out of the box." It is stuff that we can't fix on our end.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


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


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

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!