# phpMyAdmin default Apache configuration
Alias /phpmyadmin /var/www/phpmyadmin
#Options FollowSymLinks
#DirectoryIndex index.php
Options ExecCGI Indexes FollowSymLinks MultiViews
AllowOverride All
AuthType Basic
AuthName "phpMyAdmin"
AuthUserFile /etc/apache2/htpasswd.phpmyadmin
Require valid-user
AddType application/x-httpd-php .php
php_flag magic_quotes_gpc Off
php_flag track_vars On
php_flag register_globals Off
php_value include_path .
# Authorize for setup
AuthType Basic
AuthName "phpMyAdmin Setup"
AuthUserFile /etc/apache2/htpasswd.phpmyadmin
Require valid-user
# Disallow web access to directories that don't need it
Order Deny,Allow
Deny from All
Order Deny,Allow
Deny from All