remote access to the domain name after configuring XAMPP on LinuxError:
New XAMPP Security Concept:
Access to the requested object was only available from the local network. This setting can is configured in the file "httpd-xampp.conf".
Preliminary analysis of the cause of the error is: Security anomalies, need to modify httpd-xampp.conf. This file is under:/opt/lampp/etc/extra. Identify the areas that need to be changed. However, the solution on the Internet is this: Method 1: "^/(? I: (?: xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))" >
Order Deny,allow
Deny from all
Allow from:: 1 127.0.0.0/8 \
FC00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
FE80::/10 169.254.0.0/16
ErrorDocument 403/error/xampp_forbidden.html.var to comment out the deny from AL
#Deny from all
Then restart Apache. I did not find this line in this file, exclude.
Method 2:1, you need to press the above changes, comment out that sentence:
#Deny from all
2, modify as follows: (add bold words) "/opt/lampp/phpmyadmin" >
AllowOverride authconfig Limit
Order Allow,deny
Allow from all
Require all granted
I found the text already in the config file, and found a different place from the others.
# Require Local
ErrorDocument 403/error/xampp_forbidden.html.var
Positive Solution Methodis to note the local access line as follows: #Require Local Finally, restart the LAMPP
Remote access to domain name error after configuring XAMPP on Linux