Tuesday, May 3, 2011

Viewing XAMPP HTML pages non-locally...

You have set up your computer as a server using XAMPP and can happily view your prize HTML page by typing http://localhost/XAMPP/myfile.html but what you REALLY want is to be able to type http://yourIPaddress/XAMPP/myfile.html to show your friends.

But saddly, XAMPP has decided to include a new security feature to block outside access... The only solution is to HACK the config file!

1. Right click your start menu
2. Locate your xampp file. The path to our hacking target is Apache/config/extra and the name of our target is httpd-xampp.config
3. In the file, comment out the following text like this:

# New XAMPP security concept
#
#Order Deny,Allow
#Deny from all
#Allow from ::1 127.0.0.0/8 \
#fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
#fe80::/10 169.254.0.0/16
#ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
#

No comments:

Post a Comment