Support

Admin Tools

#20711 htaccess and cron issue

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 dlb on Tuesday, 12 August 2014 15:35 CDT

Flammend
I've noticed there are no notifications from EasyDiscuss since .htaccess file generated by AkeebaTools is blocking cron job tasks.

Logs:
[root@ data]# wget --max-redirect=10 'http://www.site.com/index.php?option=com_easydiscuss&task=cron'
--2014-08-12 14:48:09-- http://www.site.com/index.php?option=com_easydiscuss&task=cron
Recognizing rgw www.site.com... ##.##.40.73
Connecting to the www.site.com|##.##.40.73|:80... the connection is established.
HTTP request have sent, awaiting a response ... 403 Forbidden
2014-08-12 14:48:09 ERROR 403: Forbidden.

How to solve this problem?

It seems we need to allow performing this link:
site.com/index.php?option=com_easydiscuss&task=cron

dlb
The .htaccess file would already allow
site.com/index.php?option=com_easydiscuss&task=cron
because the file being executed is index.php, which is never blocked. You are on the right track, but that isn't the right piece of the puzzle. Please follow the instructions here: https://www.akeebabackup.com/documentation/troubleshooter/athtaccessexceptions.html to find the file that is throwing the 403 error. Once you identify that, we can set an exception in .htaccess Maker.


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)

Flammend
According the information above we may see there is a query to index.php which is blocked by wget rule in .htaccess:
SetEnvIf user-agent "Wget" stayout=1

dlb
You can remove that Wget user-agent from the list of restricted user-agents in .htaccess Maker and regenerate your .htaccess file. Let's see if that fixes the problem.

The thing that bothers me is that no one has run into this problem with wget in the past months since the user-agent list was expended. We use wget for front end backups all the time, I think someone would have run into a problem by now. I would like to run this past Nicholas, but he's on vacation this week.


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)

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!