Xampp access outside of local network?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Xampp access outside of local network?

Postby waveydaveywaves » 14. March 2010 02:01

I successfully created a website using the xampp package on a dedicated windows 2003 server edition computer. I can access my website inside my local network as well as outside. I also can access things such as phpmyadmin, xampp security, and the main xampp page on a computer connected to my local network. When I try to connect to these pages outside of my network, using my IP address followed by the page I want...

EG: http://72.x.x.xx/phpmyadmin

instead of going to phpmyadmin login page it displays this message:

"Access forbidden!

New XAMPP security concept:

Access to the requested object is only available from the local network.

This setting can be configured in the file "httpd-xampp.conf".

If you think this is a server error, please contact the webmaster.

Error 403
"

Can anyone give me detailed instructions how to allow access to phpadmin, xampp start page, xampp etc. outside of my local network?
I feel stupid asking this question since it is so basic, but i can't seem to figure it out.

I have tried several tutorials on how to do this and have probably messed up passwords and such, but not enough to block me from accessing everything from my own server's computer.

Thanks In Advance -Dave
waveydaveywaves
 
Posts: 6
Joined: 14. March 2010 01:06

Re: Xampp access outside of local network?

Postby MC10 » 14. March 2010 05:02

I'm not quite sure, but I recall it had to do with using "Allow from all" entries somewhere and removing "Deny from all" entries.
MC10
 
Posts: 148
Joined: 20. February 2010 20:13

Re: Xampp access outside of local network?

Postby waveydaveywaves » 15. March 2010 17:34

what file are you talking about?
waveydaveywaves
 
Posts: 6
Joined: 14. March 2010 01:06

Re: Xampp access outside of local network?

Postby knox-it-avenger » 15. March 2010 17:46

I would also like to find this. I have read hundreds of setups stating you need to change vhosts and I have done that ,but still I cannot access my website outside my lan. Inside my lan it works great.

Thanks for any help.
knox-it-avenger
 
Posts: 3
Joined: 15. March 2010 17:41

Re: Xampp access outside of local network?

Postby CraigS » 15. March 2010 18:02

\xampp\apache\conf\extra\httpd-xampp.conf

Scroll to the bottom


You can either delete the whole <LocationMatch> portion if you want, or modify the portion and just add another Allow from x.x.x.x

Orrr just remove the phpmyadmin section of the location match: IE:

From
Code: Select all
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">


To
Code: Select all
<LocationMatch "^/(?i:(?:xampp|security|licenses|webalizer|server-status|server-info))">



Cheers
Craig
User avatar
CraigS
 
Posts: 16
Joined: 10. March 2010 23:37
Location: Wisconsin, USA

Re: Xampp access outside of local network?

Postby knox-it-avenger » 15. March 2010 18:46

Thanks for the reply. I have deleted the whole locationmatch section from httpd-xampp.conf but my site still times out when trying to get to it via web. I have the port forwarded correctly. I am at a loss.
knox-it-avenger
 
Posts: 3
Joined: 15. March 2010 17:41

Re: Xampp access outside of local network?

Postby CraigS » 15. March 2010 19:02

Just checking, you restarted apache after making the changes correct?
User avatar
CraigS
 
Posts: 16
Joined: 10. March 2010 23:37
Location: Wisconsin, USA

Re: Xampp access outside of local network?

Postby knox-it-avenger » 15. March 2010 19:11

Yes. restarted. I setup virtual hosts and can access some things from my local machine. But now phpmyadmin has a 403 error.
knox-it-avenger
 
Posts: 3
Joined: 15. March 2010 17:41

Re: Xampp access outside of local network?

Postby waveydaveywaves » 17. March 2010 19:16

thanks ill have to try that out.
waveydaveywaves
 
Posts: 6
Joined: 14. March 2010 01:06

Re: Xampp access outside of local network?

Postby waveydaveywaves » 19. March 2010 18:18

ummmm....
Last edited by waveydaveywaves on 19. March 2010 19:02, edited 1 time in total.
waveydaveywaves
 
Posts: 6
Joined: 14. March 2010 01:06

Re: Xampp access outside of local network?

Postby waveydaveywaves » 19. March 2010 19:01

CraigS wrote:\xampp\apache\conf\extra\httpd-xampp.conf

Scroll to the bottom


You can either delete the whole <LocationMatch> portion if you want, or modify the portion and just add another Allow from x.x.x.x

Orrr just remove the phpmyadmin section of the location match: IE:

From
Code: Select all
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">


To
Code: Select all
<LocationMatch "^/(?i:(?:xampp|security|licenses|webalizer|server-status|server-info))">



Cheers
Craig

So wait CraigS by following your instructions above, would this allow me to access phpmyadmin AND pages like xampp home webalizer etc. from ANY computer's network or just a certain ip address, because I need to be able to access it from ANYWHERE.
waveydaveywaves
 
Posts: 6
Joined: 14. March 2010 01:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: ramasubburam and 64 guests