Remote access to domain name error after configuring XAMPP on Linux

Source: Internet
Author: User
Tags to domain

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.