Wednesday, July 26, 2017

httpd-xampp.conf: How to allow access to an external IP or another computer IP to mysql



Access Xampp mysql from another computer:-

Open your xampp folder go to =>apache=>conf=>extra=>httpd-xampp.conf
 copy below cod and past it into httpd-xampp.conf file

// How to allow a particular IP to access
 
 
    Require local
    Require ip 10.0.0.1
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
 
=====================
Note: Write the remote IP at the place of 10.0.0.1
======================================= 
// How to allow anyone to access which is not safe.
 
    # Require local
    Require all granted
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
 
 


No comments:

Post a Comment