Configure a subdomain (Virtualhost) for phpMyAdmin
0
votes
1
answer
1607
views
I have a problem with configuring a subdomain (Virtualhost) for phpMyAdmin.
My current .conf look like this:
ServerName php.erichermansson.com
ServerAdmin webmaster@erichermansson.com
DocumentRoot /usr/share/phpmyadmin
Options FollowSymLinks
DirectoryIndex index.php
AddType application/x-httpd-php .php
php_flag magic_quotes_gpc Off
php_flag track_vars On
php_flag register_globals Off
php_admin_flag allow_url_fopen Off
php_value include_path .
php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp
php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/
# Authorize for setup
AuthType Basic
AuthName "phpMyAdmin Setup"
AuthUserFile /etc/phpmyadmin/htpasswd.setup
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
Do you guys have a clue what the problem could be? It only access the Apache testpage.
Asked by Eric Hermansson
(73 rep)
Nov 10, 2015, 07:18 PM
Last activity: Jun 9, 2019, 06:02 AM
Last activity: Jun 9, 2019, 06:02 AM