我需要使用安卓手机访问 apache 服务器上的文件,所以不能使用 localhost 或 127.0.0.1。我知道需要对 httpd-xampp.conf 文件进行更改,但不确定需要进行哪些更改。
编辑:当输入我的 IP 地址时,出现以下屏幕: 我认为需要更改此处以允许我使用我的 IP 地址。
编辑:当输入我的 IP 地址时,出现以下屏幕: 我认为需要更改此处以允许我使用我的 IP 地址。
# Close XAMPP security section here
<LocationMatch "^/(?i:(?:security))">
Order deny,allow
Deny from all
Allow from ::1 127.0.0.0/8
ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
</LocationMatch>
# Close XAMPP sites here
<LocationMatch "^/(?i:(?:xampp|licenses|phpmyadmin|webalizer|server-status|server-info))">
Order deny,allow
Deny from all
Allow from ::1 127.0.0.0/8
ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var