Configure for LAN access only

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

Configure for LAN access only

Postby joshim » 28. July 2018 08:16

Hi all,

I’ve got XAMPP setup as a test server on my laptop. I want devices connected to my home network to be able to access an owncloud instance installed on it.

I have not opened/forwarded any ports on my router firewall. In XAMPP if I change `Require local` to `Require all granted` in the `phpmyadmin` section on httpd-xampp.conf file, will this allow access to my server for devices within my home network? And is it safe to do this? I don’t want any external access or for the server to be detectable from outside my home network.

Thanks.
joshim
 
Posts: 5
Joined: 22. July 2018 17:53
XAMPP version: 7.2.7-0
Operating System: Ubuntu 18.04

Re: Configure for LAN access only

Postby Nobbie » 28. July 2018 09:53

joshim wrote:is it safe to do this?


Yes.

Your router protects you sufficiently.
Nobbie
 
Posts: 11042
Joined: 09. March 2008 13:04

Re: Configure for LAN access only

Postby joshim » 29. July 2018 09:04

Thanks Nobbie,

Just to clarify, editing the httpd-xampp.conf the way I said is the right way to give lan access to the server?
joshim
 
Posts: 5
Joined: 22. July 2018 17:53
XAMPP version: 7.2.7-0
Operating System: Ubuntu 18.04

Re: Configure for LAN access only

Postby Nobbie » 29. July 2018 10:57

Yes. Why dont you simply run a test? A "one minute change".
Nobbie
 
Posts: 11042
Joined: 09. March 2008 13:04

Re: Configure for LAN access only

Postby joshim » 29. July 2018 14:45

Nobbie wrote:Yes. Why dont you simply run a test? A "one minute change".


I did, it worked. I just wanted to know if that was the right way to do it or if there’s another better way.

Thanks for your help.
joshim
 
Posts: 5
Joined: 22. July 2018 17:53
XAMPP version: 7.2.7-0
Operating System: Ubuntu 18.04

Re: Configure for LAN access only

Postby Altrea » 29. July 2018 15:11

joshim wrote:I want devices connected to my home network to be able to access an owncloud instance installed on it.

I don't see any reason to change any XAMPP component configuration to achieve that.
external phpmyadmin access is not required for LAN clients to use owncloud.

But if you want to grant LAN only access to phpmyadmin i would rather define a Require ip range than Require all granted.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 9733
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Configure for LAN access only

Postby joshim » 29. July 2018 15:53

Altrea wrote:I don't see any reason to change any XAMPP component configuration to achieve that.
external phpmyadmin access is not required for LAN clients to use owncloud.

But if you want to grant LAN only access to phpmyadmin i would rather define a Require ip range than Require all granted.


Hi Altrea

Could you tell me how to do it? If I can do it without giving phpadmin access to every device that would be better.
joshim
 
Posts: 5
Joined: 22. July 2018 17:53
XAMPP version: 7.2.7-0
Operating System: Ubuntu 18.04

Re: Configure for LAN access only

Postby Nobbie » 29. July 2018 18:45

joshim wrote:Could you tell me how to do it? If I can do it without giving phpadmin access to every device that would be better.


Actually, there is exactly nothing(!) to do. Simply install owncloud and access it.

Phpmyadmin is installed in his own environment with its own requirements. I also dont understand why you ask for Phpmyadmin, when you want to access Owncloud?!
Nobbie
 
Posts: 11042
Joined: 09. March 2008 13:04


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 7 guests