Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The reason why the xampp cannot be accessed by the external network

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

When a local area network or an external network accesses xampp, the following error is reported:

New XAMPP security concept:

Access to the requested directory is only available from the local network.

This setting can be configured in the file "httpd-xampp.conf".

Solution:

Open httpd-xampp.conf (/ xampp/apache/conf/extra/httpd-xampp.conf)

Find the following:

Version 1:

=

# New XAMPP security concept

#

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

81.196.40.94/32

ErrorDocument 403 / error/XAMPP_FORBIDDEN.html.var

Comment out the line Deny from all, that is

# Deny from all

=

Version 2:

=

# New XAMPP security concept

#

Require local

ErrorDocument 403 / error/XAMPP_FORBIDDEN.html.var

Comment out the line Require local, that is

# Require local

Note: apache needs to be restarted [/ opt/lampp/lampp restartapache]

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report