xvorenda/DAENA/master/admin/.htaccess - Htaccess File

xvorenda/DAENA/master/admin/.htaccess

# Make Rewrites Actually Work
RewriteEngine on
# HTTPS Redirection for Standard Ports
RewriteCond     %{SERVER_PORT} ^80$
RewriteRule     ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
<FilesMatch "register.php">
AuthName "Authorized Personnel Only"
AuthType Basic
AuthUserFile /var/www/html/admin/.htpasswd
require valid-user
</FilesMatch>

On Github License

Files

Download PDF of Htaccess file
HTTPS, REQUEST_URI, SERVER_NAME, SERVER_PORT

Comments

Apache