# ErnsAuth Apache VHost Configuration Example
# Place this in /etc/apache2/sites-available/ or include in existing vhost

# If running as a subdirectory of an existing vhost, no extra config needed.
# Just ensure the DocumentRoot or Alias points to /var/www/html/apps/ernsauth/web/

# Example Alias (add to existing vhost):
# Alias /apps/ernsauth /var/www/html/apps/ernsauth/web
# <Directory /var/www/html/apps/ernsauth/web>
#     AllowOverride All
#     Require all granted
# </Directory>

# Block access to src/, config/, client/, lib/ directories
<DirectoryMatch "/var/www/html/apps/ernsauth/(src|config|client|lib)">
    Require all denied
</DirectoryMatch>
