Preview: phpmyadmin.conf
Size: 696 B
//etc/apache2/conf-enabled/phpmyadmin.conf
# phpMyAdmin Apache configuration
Alias /phpmyadmin /usr/share/phpmyadmin
<Directory /usr/share/phpmyadmin>
Order Deny,Allow
Deny from All
Allow from 103.135.95.38
Allow from 87.62.102.113
Allow from 13.42.141.246
Allow from 18.135.245.97
Allow from 35.179.0.171
Allow from 81.134.195.99
Allow from 115.245.222.172
Options SymLinksIfOwnerMatch
DirectoryIndex index.php
</Directory>
# Disallow web access to directories that don't need it
<Directory /usr/share/phpmyadmin/templates>
Require all denied
</Directory>
<Directory /usr/share/phpmyadmin/libraries>
Require all denied
</Directory>
<Directory /usr/share/phpmyadmin/setup/lib>
Require all denied
</Directory>
Directory Contents
Dirs: 0 × Files: 7