Support

Admin Tools

#39155 htaccess creation through command line

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
4.3.2
PHP version
8.0.28
Admin Tools version
7.3.3

Latest post by toonetcreation on Thursday, 29 June 2023 08:40 CDT

toonetcreation

Hello support team,

I have just a question regarding htaccess file creation/update.

Is it possible to re-generate htaccess by using a commande line for instance?

Because when managing a lot of websites, clicking and doing it manually one by one takes a long time.

Thanks and have a nice day

L.

tampe125
Akeeba Staff

Hello,

yes! I just looked at the docs and it seems they're not updated to include the latest commands, but that's something you can do.

If you want to recreate the file, you can simply use admintools:htmaker:make .

admintools:htmaker:list will report the current configuration
admintools:htmaker:set <option> <value> will set a specific option
admintools:htmaker:get <option> will get the value of a specific option

In the meanwhile, we're going to update the docs, thank you for the heads up!

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

toonetcreation

thanks for your feedback.

sorry for the stupid question but these commands are shell linux commands?

where do I have to launch them ?

tampe125
Akeeba Staff

Hello,

please take a look at this page of the docs for further info: https://www.akeeba.com/documentation/admin-tools-joomla/cli.html

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

toonetcreation

Yes sure I will have a look.

Many thanls for your help

Have a good day

L.

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!