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

Top 26 Advanced Google Search Tips, Tricks and Techniques

Top 26 Advanced Google Search Tips, Tricks and Techniques Google search is usually used in it’s non-advance form, just putting the keyword in box and hit enter. After that Google does rest of the magic. You might have heard the most polite google user, the sweet Nan who is putting “Thank you” and “please” in every google searches. Luckily there is still faster and advance way of getting your search done without being too polite with Google. There are advance tips, tricks and technique in google which can be used to achieve the custom or filtered searches in google. As in fast moving lifestyle everything need to be done efficiently, this is even true for Google Search.There are many hidden secret in Google search, knowing those tips, tricks and techniques can make you the master at doing Google search, as you will be able to focus on your search by narrowing it down with advanced google operators. By getting you acquainted with these advanced searches tips and tricks we are ma

Top 10 Reasons Your A Gemini!

Step-12: Prayer pose – Tadasana

Exhale, straighten your body and bring the arms down. Step-11: Raised arms pose – Hasta Uttanasana