Hello, I have XAMPP server which works fine. When I wanted to load webpages through my lan network it said I need to edit httpd-xampp.conf. When I try to load from internet there is no connection at all. I changed httpd-xampp.conf from this <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))"> Order deny,allow Deny from all Allow from 127.0.0.0/8 ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var </LocationMatch> Code (markup): to this <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))"> Allow from all ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var </LocationMatch> Code (markup): Now I have accsess from lan but still no access from internet. Port 80 is forwarded on my router. Help me, please...
You should try this rule instead: Order allow,deny Allow from all Code (markup): However, I don't think the file you are editing controls access to your HTDOCS directory. It controls acces for different areas such as phpMyAdmin. In order to allow access to your htdocs directory from outside you need to edit the file apache/conf/httpd.conf and find a line similar to this: Listen localhost:80 Code (markup): Then make sure Apache listens to the IP that your router assigns to your computer on LAN. In my case, the IP of my computer inside the LAN is 192.168.0.11 and I have forwarded my router's port 85 to 192.168.0.11:80 (where Apache listens). For this scenario I had to change the above listen line to this: Listen localhost:80 Listen 192.168.0.11:80 Code (markup): After that I opened my.real.IP.here:85 in my browser and I was able to access my htdocs directory. Note that I forwarded port 85 in my router and not 80, because I was having some conflicts with Skype or the firewall. You may manage to get it working with ports 80 on both sides. Note that I am using Windows 7, although it shouldn't make difference.
Check firewall, call ISP to see if that port is blocked, make sure router is in fact routing correctly.