How to access the webpage from external computers?

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

How to access the webpage from external computers?

Postby z080236 » 18. March 2011 17:42

This page appears when I type my IP address in my own personal computer.
Access forbidden!

New XAMPP security concept:

Access to the requested directory 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.

I tried to comment the XAMPP security in the "httpd-xampp.conf", changed Deny From All to Allow from All, but still it did not work.
z080236
 
Posts: 10
Joined: 18. March 2011 17:24
Operating System: Windows Vista

Re: How to access the webpage from external computers?

Postby Sharley » 19. March 2011 01:17

z080236 wrote:I tried to comment the XAMPP security in the "httpd-xampp.conf", changed Deny From All to Allow from All, but still it did not work.
You did save the file and then restart Apache after every edit?

Which IP address are you referring to?

Type cmd.exe in start>Run... then type cd C:\Windows

Then at the command prompt in the Windows folder type ipconfig which should return the IP address to type in your browser.

Best wishes.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: How to access the webpage from external computers?

Postby z080236 » 19. March 2011 03:50

yes , I did restart apache, and tried to enter http://localhost/, but now it didn't work, it used to work before.
z080236
 
Posts: 10
Joined: 18. March 2011 17:24
Operating System: Windows Vista

Re: How to access the webpage from external computers?

Postby z080236 » 19. March 2011 05:03

I commented the XAMPP Security portion in xampp-httpd.conf at the most bottom, and I typed my IP Addr , and it worked. I added a .htacess file in case of precaution.
z080236
 
Posts: 10
Joined: 18. March 2011 17:24
Operating System: Windows Vista


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 56 guests