Support

Admin Tools

#24267 htaccess maker anomaly

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 qcx1923 on Sunday, 24 January 2016 17:57 CST

qcx1923
 At one time in setting up the .htaccess maker, I added a line to the "Exceptions / Allow direct access to these files" section. It was actually a problem, so I removed it. But every time I rerun .htaccess Maker, it replaces the entry in the actual .htaccess file. It no longer appears in the backend UI, but it does appear in the generated .htaccess file.

In my case the subdirectory was "forum", as I run a Kunena forum. I was trying to get the SEF URLs working with Kunena, and I mistakenly added the entry. Now it won't go away.

This is also happening with "affiliate" which I added as a test, again mistakenly.

Somehow, .htaccess Maker still remembers those lines added, and keeps putting them in, even though they have been removed in the backend UI.

Here is the relevant text from the generated .htaccess file:

##### Advanced server protection rules exceptions -- BEGIN
RewriteRule ^administrator\/components\/com_akeeba\/restore\.php$ - [L]
RewriteRule ^administrator\/components\/com_admintools\/restore\.php$ - [L]
RewriteRule ^administrator\/components\/com_joomlaupdate\/restore\.php$ - [L]
RewriteRule ^affiliate/ - [L]
RewriteRule ^forum/ - [L]
##### Advanced server protection rules exceptions -- END

Attached is a screenshot of the UI section, where you can see the lines are not there.

Thanks.

qcx1923
OK, I figured it out. There is more than one section of the UI that adds lines to that section in the .htaccess file. I thought the paragraph separation meant a different section.

Nevermind.

Thanks.

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!