Support

Admin Tools

#9818 htaccess lock me out - 500 error

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, 05 April 2011 16:47 CDT

user30134
Hello
I updated ATP & joomla yesterday everything was working until I just logged in and tried to make a simple adjustment to my htaccess file (remove access to a single php file that was not in use) now I am locked out. I have deleted the htaccess file and my system is not protected.

Any suggestions - this is a disaster as the site is now live.
John

nicholas
Akeeba Staff
Manager
The easy way out (and the only one that I can think of) is to delete the .htaccess file, revert the changes you did and regenerate the .htaccess file.

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!

user30134
Hi Nicholas
I tried that several times without success. The only way that I can access the site all is to delete the htaccess file.

nicholas
Akeeba Staff
Manager
Start by disabling all of the options in the .htaccess Maker and create the .htaccess file. Then start enabling options one by one. This will allow you to see which option throws a 500 error. If you spot one which has several sub-options (like the front-end or back-end protection) simply try reverting the changes you made to those options. If you spot the problematic option but you are not sure how to work around it, post here and I can help you from there.

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!

user30134
Hi Nicholas,
As I stated originally, I only removed 1 php file (from the root) directory.

I rebooted and reset the htaccess maker with the exact same setup and it's now working....

Thanks for the suggestions....I need a drink now..:-)

John

nicholas
Akeeba Staff
Manager
Any PHP file and the .htaccess file are completely irrelevant to each other. PHP files are ran by PHP, .htaccess is parsed by Apache very long before PHP even has the chance to be executed. Could it be that before rebooting you accidentally turned off Apache's mod_rewrite? That would cause an immediate 500 error even if you disable all of .htaccess Maker's options (and the same would happen if you would use Joomla!'s stock .htaccess file).

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!

user30134
Hello Nicholas
No other work was being done on the site and I haven't been working with the apache file.
Not sure why this came about, pretty happy it's resolved tho'
John

nicholas
Akeeba Staff
Manager
I am happy it's resolved, too :)

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!