Page 1 of 1

phpmyadmin on all virtual hosts

PostPosted: 05. May 2006 22:04
by sporkit
ive created several virtual hosts on my winxp server but phpmyadmin is still accessable to all of them even though it doesnt lie on the root directory of the sites. i assumed that httpd.conf linked it as a directory common to all the virtual hosts. however i can see why this directory is accessable while others arnt. im planning on creating 1 site that has access to the phpmyadmin folder.

anybody have a suggestion on how i should go about doing this. i also realize that i could juse delete or move the phpmyadmin directory lying on the xampp install directory but this doesnt seem like the right way to accomplish the task.

thanks for the help.

PostPosted: 05. May 2006 23:04
by WorldDrknss
in httpd-xampp.conf
find similar
Code: Select all
    Alias /phpmyadmin "C:/xampp/xampp/phpMyAdmin/"
    <Directory "C:/xampp/xampp/phpMyAdmin">
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
    </Directory>


cut it and past it to the VirtualHost you want it for and save both files and restart xampp.

make sure to remove it from httpd-xampp.conf.