Testing sub-domains

This subdomain was originally set up to investigate certificate problems on 22-Jan-2022.

Now, on 23-Apr-2023, I have moved its document root from /home/caves/ to home/caves/public_html/. Not through choice - cPanel wont let me change the location and not use home/caves/public_html/.

So the question is whether home/caves/public_html/.htaccess is scanned before this folder is processed? To test that, try going to https://experiment.caves.org.uk/payments/creg and see if the same redirection takes place as it does at https://caves.org.uk/payments/creg

YES, it does! That's a nuisance. It means that new sub-domains cannot have a totally independent .htaccess file.

But... annoyingly, although the root .htaccess file is scanned, the root .user.ini file isnt! We can see that, by asking ...

<? echo ini_get('error_log'); ?>

which gives ... error_log, which is not the same result that we get from running the above PHP line at caves.org.uk, when it gives ... /home/caves/logs/php_errors.log