When using the Alias
directive to map a URL to a directory outside the document root, it seems that the .htaccess files in the document root are not applied to those requests.
For example, if setting php_flag display_errors off
in /home/user/document_root/.htaccess, but accessing www.example.com/aliased_url/phpinfo.php, display_errors will be 'on' if that's what the global PHP setting is and it won't get overridden like www.example.com/phpinfo.php has it.
Is there some way to alter this behavior (or accomplish this) without doing symbolic links instead?
EDIT Feb 13, 2016:
The goal is to create a phpinfo file that works for all sites to display the effective configuration of that particular site (which can be affected by open source CMSes which use an htaccess to modify php.ini values).