phpmyadmin on all virtual hosts

Problems with the Windows version of XAMPP, questions, comments, and anything related.

phpmyadmin on all virtual hosts

Postby sporkit » 05. May 2006 22:04

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.
sporkit
 
Posts: 1
Joined: 05. May 2006 20:36

Postby WorldDrknss » 05. May 2006 23:04

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.
http://wdguides.org - XAMPP Tutorials & MORE!!!!
User avatar
WorldDrknss
 
Posts: 292
Joined: 17. September 2005 13:40


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 98 guests