glennfriend/phpmyadmin/master/.htaccess - Htaccess File

glennfriend/phpmyadmin/master/.htaccess

############################################
## Allow admin only
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /phpmyadmin

    RewriteCond %{REMOTE_HOST} !^127.0.0.1
    RewriteCond %{REMOTE_HOST} !^192.168.

    RewriteCond %{REQUEST_URI} !hello-world.html$
    RewriteRule ^(.*)$ hello-world.html [R=302,L]
</IfModule>

On Github License

Files

Download PDF of Htaccess file
REMOTE_HOST, REQUEST_URI

Comments

Apache