Support

UNiTE, Remote CLI, eXtract Wizard

#29587 – Akeeba Unite and Stealth mode webconfig IIS

Posted in ‘UNiTE, Remote CLI, eXtract Wizard’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Wednesday, 25 April 2018 09:09 CDT
I am using Akeeba unite to restore backups from my staging server to my production server. My production server is running IIS. When UNITE runs it is copying over an .htaccess file that my IIS server blissfully ignores as it only cares about web.config files. Is there a way to get UNITE to write out a web.config file to limit access to the site white the backup is being performed? Ideally i would like the web.config file to redirect all users to an 'under maintenance page'.
Custom Fields
Which tool do you want support for? Akeeba Unite
Tool version (in x.y.z format) 4.0.0
chris.jasztrab.mpl
Wednesday, 25 April 2018 09:39 CDT
Neither Kickstart nor UNiTE can write a web.config file. I have had mixed success with it, since some servers seem to require the site to be reloaded on IIS for the web.config to take effect. If you are sure that web.config files take immediate effect on your server I recommend that you wrap the restoration in a BAT or PowerShell script which writes the web.config file before restoration. At the end of the restoration you can delete the file.

If your original site has a web.config file, however, you must not delete the web.config file at the end of the restoration! The last step taken by UNiTE is to restore the original site's web.config file, if such a file did indeed exist at backup time. Therefore in this case the web.config file at the end of the restoration is not the stealth file you wrote with your script, it's the real site's web.config file which should remain intact.

I hope this information helps!


Nicholas K. Dionysopoulos

Lead Developer and Director



Greek: native

English: excellent

French: basic



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



nicholas
Wednesday, 25 April 2018 10:45 CDT
Thanks for the quick reply. I was thinking the same thing (using a batch file to swap out the web.config file) I was just hoping that Unite might be able to do it.
chris
chris.jasztrab.mpl
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

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!

Cookies Notification - Action required

This website uses cookies to provide user authentication and improve your user experience. Please indicate whether you consent to our site placing these cookies on your device. You can change your preference later, from the controls which will be made available to you at the bottom of every page of our site.