I’d like to deploy the development version of a site I’m building with Kirby to a subdomain of my client’s domain. Using cPanel, I created an .htaccess file inside the subdomain’s directory to password-protect the subdomain (so only I and the client can visit it).
Now, Kirby comes with its own .htaccess file, hence uploading the development version to the directory of the subdomain will overwrite the original file. How can I still include the password-protection? Apologies if the answer to this is fairly obvious, I only have a very basic/peripheral understanding of server tech.
My .htaccess file looks like this:
AuthType Basic AuthName "Development Site" AuthUserFile "/home/myClient/.htpasswds/development.myClient.com/passwd" require valid-user
Grateful for any and all helpful input.