Viewing problem

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

Viewing problem

Postby SA007 » 23. December 2009 15:54

Well, in local host I can view it fine, but i have set it up so my router IP from external computers will redirect to my laptop's localhost.

However, external computers get an error saying computers out of my home network can't view my laptops localhost as permissons set in httpd-xampp.conf block them. It also says at the top #New Security Concept#

Please can I have help in how to edit the permissions so selected IP address can access my localhost through my router ip.
SA007
 
Posts: 3
Joined: 23. December 2009 15:28

Re: Viewing problem

Postby Wiedmann » 23. December 2009 16:00

In which directory have you stored your own html/php files?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Viewing problem

Postby SA007 » 24. December 2009 01:32

In .hdocs there is the index file saying it works. I can get that, but anyone outside my home network gets this error:

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.

Error 403

90.207.12.224
23/12/2009 12:42:48
Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0
SA007
 
Posts: 3
Joined: 23. December 2009 15:28

Re: Viewing problem

Postby Izzy » 24. December 2009 01:55

In your htdocs folder there should be 2 index files index.html which gives you the It Works! message and the other is the index.php file which redirects to a restricted folder htdocs\xampp.

So delete or rename both the index.php and the index.html files so they don't come into play, then replace with your own index.php or index.html file or put your web site files in the htdocs folder and things should work fine.

Then to get, once again, to the restricted XAMPP Welcome Demo Page simply type http://localhost/xampp/index.php in your browser.

This is the new security concept \xampp\apache\conf\extra\httpd-xampp.conf file kicking in which will only allow local users to access the restricted folders on your XAMPP installation for obvious reasons - you don't want everyone to have access to these sensitive files and folders to be able to do untold damage.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: Viewing problem

Postby SA007 » 24. December 2009 03:00

Ah, so it was redirecting and therefore coughing up the error. Thanks guys.
SA007
 
Posts: 3
Joined: 23. December 2009 15:28

Re: Viewing problem

Postby machpablo » 17. January 2010 00:34

I my name is pablo, and my new boss habe bought a new amazon server, and i install xampp in ubuntu os. I habe donde Izzi instructions but it doesn't work for me, please help!!!
machpablo
 
Posts: 1
Joined: 17. January 2010 00:30

Re: Viewing problem

Postby Izzy » 17. January 2010 00:53

machpablo wrote:...i install xampp in ubuntu os.
You posted in the wrong forum, this is XAMPP For Windows.

Try posting your full issue with all the details in the XAMPP For Linux forum here:
viewforum.php?f=17
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 95 guests