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

Step 7: Cobra pose – Bhujangasana

Slide forward. Raise your chest up into a cobra pose. Bend your elbows and rest in this pose. Keep the shoulders away from ears. Try to look up Step 6: Salute with eight parts or points – Ashtanga Namaskara   Step 8: Mountain pose – Parvatasana

Logo design

Logo design Learn how to make trendy logos and do freelance work on many sites... It is ALL FREE you dont have to invest in anything.. All you need is time and dont lose hope That was my first online income from 99designs I won a contest with 200 USD for just making a logo design in 8 days..

SPEEDUP FOLDER BROWSING

SPEEDUP FOLDER BROWSING You may have noticed that everytime you open my computer to browse folders that there is a slight delay. This is because Windows XP automatically searches for network files and printers everytime you open Windows Explorer. To fix this and to increase browsing significantly: 1. Open My Computer 2. Click on Tools menu 3. Click on Folder Options 4. Click on the View tab. 5. Uncheck the Automatically search for network folders and printers check box 6. Click Apply 7. Click Ok 8. Reboot your computer