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

Fun With Maths - Pool Table Puzzle

Can you make the below equation true by placing three correct balls in the picture below? 

Ntfs Cluster Size, better harddrive performance

Cluster is an computer memory unit . If you create file let's imagine 1 byte in size, a minimum of one cluster should be allocated on FAT filing system . On NTFS if file is little enough, it are often stored in MFT record itself without using additional clusters. When file grows beyond the cluster boundary, another cluster is allocated. It means the larger the cluster size, the more disc space is wasted, however, the performance is best . So if you've got an outsizes disk drive & don't mind wasting some space, format it with a bigger cluster size to realise added performance. The following table shows the default values that Windows NT/2000/XP uses for NTFS formatting: Drive size (logical volume) Cluster size Sectors ---------------------------------------------------------- 512 MB or less 512 bytes 1 513 MB - 1,024 MB (1 GB) 1,024 bytes (1 KB) 2 1,025 MB - 2,048 MB (2 GB) 2,048 bytes (2 KB) 4 2,049 MB and bigger 4,096 bytes (4 KB) 8 However, once you format the partiti...

How to Create, Edit, Delete WhatsApp Status Updates

                                            When WhatsApp turned eight in February, it has launched a new feature that seems to be pointing to a future where the app moves away from text messages, and relies much more heavily on photos and short videos - the ephemeral status update. This newest feature from the Facebook owned messaging company bears more than a passing resemblance to social rival Snapchat, and the update hasn't just added a new tab for the status in the menu on top of your screen, but also a camera button right in the middle of things, which can be used to update your status, or a contact, or group. It's an exciting change, and it's really straightforward too, but in case you have any doubts about how to use the feature, here's what you need to know about the revamped WhatsApp Status updates.