How to enable LAN Network

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

How to enable LAN Network

Postby narendran.myd » 01. December 2017 09:01

Hi am using xampp 7.1.11 am trying to enable LAN access, But in this version httpd-xammp.conf file has no security rules.
Kindly anyone assit me to enable lan access for this vesion

Thanks in Advance
Naren
narendran.myd
 
Posts: 2
Joined: 01. December 2017 08:54
XAMPP version: 7.1.11
Operating System: Windows 7

Re: How to enable LAN Network

Postby Nobbie » 01. December 2017 13:39

narendran.myd wrote:But in this version httpd-xammp.conf file has no security rules.


What do you mean by that? And what is your problem?
Nobbie
 
Posts: 9800
Joined: 09. March 2008 13:04

Re: How to enable LAN Network

Postby narendran.myd » 01. December 2017 14:14

Hello Nobbe, Thanks for your kind reply

i want to make my xampp should be accessable in LAN, I had found in google like to remove the following code from httpd-xampp.conf

#
# New XAMPP security concept
#
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
Require local
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>

But in Xampp version 7.1.11 has no such lines in the mentioned file, I want to know how to enable lan access for this version
narendran.myd
 
Posts: 2
Joined: 01. December 2017 08:54
XAMPP version: 7.1.11
Operating System: Windows 7

Re: How to enable LAN Network

Postby Nobbie » 01. December 2017 14:33

Xampp is accessible in the LAN anyway. Simply enter the LAN IP of the Xampp Server into the clients browser, i.e. http://192.168.1.10 or similar. The Xampp Dashboard should appear. Put your documents into htdocs folder (like test.php) and access it via http://192.168.1.10/test.php (replace the LAN IP).

Only Administration of MySQL via phpmyadmin is protected in Xampp and can only accessed via localhost. There should be the line "Require local", i dont know if it has been removed by Bitnami. But anyway, you dont need to modify anything in order to access your own files in htdocs.

P.S.: Your documentation is outdated, the "Require local" clause is in a Directory container for phpmyadmin in the new version (but you should find it anyway, simply search for "Require local", its very easy to find). There is no LocationMatch anymore.
Nobbie
 
Posts: 9800
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 89 guests