Answer the question
In order to leave comments, you need to log in
How to block local users from accessing XAMPP(Linux)?
Greetings.
MyOS GNU/Linux Mint.
~ $ uname -a
Linux SpSystem 4.10.0-38-generic #42~16.04.1-Ubuntu SMP Tue Oct 10 16:32:20 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux).
#AllowOverride none
#Require all denied
Order deny,allow
Deny from all
Allow from 127.0.0.1
#AllowOverride All
#Order allow,deny
#Allow from 127.0.0.1
</Directory>
Answer the question
In order to leave comments, you need to log in
One of the Administrators of the official XAMPP support forum simply advised changing the listen parameter in /opt/lamp/etc/httpd.conf to 127.0.0.1:80. Which is essentially logical. Here is such a simple solution. Then the server will only listen to one internal IP and that's it.
And the Directory parameters can be set to standard.
Order deny,allow
Deny from all
Allow from 127.0.0.1
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question