Support

Admin Tools

#9762 noob...AT pro htaccess

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 Wednesday, 09 February 2011 15:50 CST

user30134
Hello all,
Just downloaded the pro tools, installed and have been working through the manual.

Every instance that I modify the .htaccess file I lose access to the admin & main site with a 500 error.
I delete the contents of the file and all is well again.

I am working on a localhost test site, latest joomla version, 5.3+ php, a rockettheme template etc prior to testing on my backup to live site and I want to see where the possible conflicts may be.

I would appreciate any pointers.
Thanks
John

nicholas
Akeeba Staff
Manager
As mentioned in the documentation, it's a try and error process. First, let's make sure that your server does support .htaccess files at all. Try renaming Joomla!'s htaccess.txt to .htaccess and upload it to your site (hint: it may be easier to upload it as htaccess.txt and rename it on the server). If this results to an Internal Server Error 500, please ask your host to take a look. Usually the just have to enable Apache's mod_rewrite module or point you to which features are not supported by the server.

If the stock .htaccess works, it's time to start tinkering with Admin Tools Pro .htaccess Maker. Start by disabling all features on its setup page and click on Save and Create .htaccess. This generates what is essentially a copy of Joomla!'s stock .htaccess. It shouldn't throw an error. Then, proceed by enabling one feature at a time and clicking on Save and Create .htaccess. At some point you'll hit a feature which causes an error. You'll have to leave that disabled. Proceed with the rest of them. In the end of this process you'll end up with a .htaccess which works and is optimized for your specific server.

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
Thank you Nicholas
I set the mod-rewrite and the error stopped....great. However the site does not go offline when I set it to Offline.

I have set joomla config to use rewrite etc. is this functionality contained in the .htaccess maker or is there another config issue to trace with this.

Thanks
John

nicholas
Akeeba Staff
Manager
I am glad it's working now!

Regarding the other question... You should not see it go off-line. That's the whole point. You should still see the site and everyone else, coming from a different IP, should see a static off-line page.

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!