Error when trying to access XAMPP from a network
I have use XAMPP for my local webserver. When I try to open phpmyadmin from other computer (network), I get this error :
New XAMPP security concept: Access to the requested object is only available from the local network. This setting can be configured in the file "httpd-xampp.conf".
This is related with default “httpd-xampp.conf” config to allow access from local server. We can remove this error and open XAMPP phpmyadmin from network with some of modified in “httpd-xampp.conf”. This is steps how to access XAMPP phpmyadmin from network :
1. Stop Apache and Mysql from XAMPP Control Panel
2. Open “httpd-xampp.conf” from button “config” in XAMPP Control Panel
3. Search “<Directory “C:/xampp/phpMyAdmin”>”. I am use windows. So, that is how look phpmyadmin in my XAMPP config. This is original contents of “phpmyadmin tag”
Alias /phpmyadmin "C:/xampp/phpMyAdmin/" <Directory "C:/xampp/phpMyAdmin"> AllowOverride AuthConfig Require local ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var </Directory>
This is after modified :
Alias /phpmyadmin "C:/xampp/phpMyAdmin/" <Directory "C:/xampp/phpMyAdmin"> AllowOverride AuthConfig Limit Order allow,deny Allow from all Require all granted </Directory>
4. Save file and Start Apache and Mysql again.
Using this method, I can open XAMMP phpmyadmin from network.
source : http://stackoverflow.com/questions/6083323/error-when-trying-to-access-xampp-from-a-network
way. Handwritten book