xampp disable web acces to others  [ 802 views ]

Goal: disable xampp web access to everybody else

Filter by IP address like this in the file httpdxampp.conf

    Alias /phpmyadmin "C:/xampp/phpMyAdmin/"
    <Directory "C:/xampp/phpMyAdmin">
        AllowOverride AuthConfig
        Require local
        ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
        # add this ->  
        Order Deny,Allow
        Deny from all
        Allow from 192.168.0.2 # your server ip
        # like this
    </Directory>

to disable the dashboard directory:

    <Directory "C:/xampp/htdocs/dashboard">
        AllowOverride AuthConfig
        Require local
        ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
        Order Deny,Allow
        Deny from all
        Allow from 192.168.0.2
    </Directory>
#sidebar a { color:#fff; } #sidebar ul ul li { color: #DEF585; } #sidebar h2 { color: #fff; } #sidebar ul p, #sidebar ul select { color: #BEDDBE; } #backfly { background: url(images/golfBallWallPaper.jpg) left bottom fixed repeat-x #65a51d; }