Skip to main content

New xampp security concept: Access Forbidden Error 403 let's fix it

100% working New xampp security concept: Access Forbidden Error 403


This setting can be configured in the file "httpd-xampp.conf".
open httpd-xampp.conf and change configuration.
Config File Location : Drive:\xampp\apache\conf\extra\httpd-xampp.conf

-------------------------------
In old version use this
-------------------------------
Original Lines.
    Require local
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var


Change it to for all access.

Require all granted
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var


Change it to for IP Based access.

Order deny,allow
deny from all
Allow from 192.168.1.1
Allow from 127.0.0.1
Allow from localhost
Allow from ::1
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var


-------------------------------
In new version use this
-------------------------------
Original Lines.
 Alias /phpmyadmin "D:/xampp/phpMyAdmin/"
    
        AllowOverride AuthConfig
        Require local
        ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var


Change it to for all access.

 Alias /phpmyadmin "D:/xampp/phpMyAdmin/"
    
        AllowOverride AuthConfig
        Require all granted
        ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var


Change it to for IP Based access.


    Alias /phpmyadmin "C:/xampq/phpMyAdmin/"
    
        AllowOverride AuthConfig
        Require local
        Require ip 192.168.1.5
        ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
    



save and exit httpd-xampp.conf and restart apache.

NOTE : Make sure u  backup files ( httpd-xampp.conf ) and ( httpd-vhosts.conf ) ,Both Files are located in Drive:\xampp\apache\conf\extra

Comments

Popular posts from this blog

Vuforia SDK : Download instruction, Use of Platform IDE and much more

Vuforia 7 Use the Vuforia SDK to build Android, iOS, and UWP applications for mobile devices and digital eyewear. Apps can be built with Android Studio, Xcode, Visual Studio, and Unity. As of Unity 2017.2, the Vuforia Engine is delivered with the latest version of Unity. A legacy version of the Vuforia Unity Extension is provided to assist with project migrations. Download for Android vuforia-sdk-android-7-2-23.zip (21.27 MB) Download for iOS vuforia-sdk-ios-7-2-23.zip (27.00 MB) Download for UWP vuforia-sdk-uwp-7-2-23.zip (8.90 MB) Download Unity Extension (legacy) vuforia-unity-6-2-10.unitypackage (46.20 MB) Download Unity Vuforia is integrated with the Unity Editor

Keep your device juiced up

Turn on battery saver mode to help your battery last longer. 1 Open your device's Settings app. Tap "Battery." 2 Tap the menu with three dots at the top right of your screen, then tap "Battery saver."