【问题标题】:How to set network access to only a particular service/directory in xampp如何在 xampp 中仅设置对特定服务/目录的网络访问
【发布时间】:2014-04-08 13:10:21
【问题描述】:

我在本地系统中使用 xampp,连接到网络。现在我只需要在我的系统上安装一个特定的服务,比如 Limesurvey 或 wordpress,整个网络都可以访问。但我不希望其他人可以访问 xampp 登录页面或 phpmyadmin。

如何做到这一点?

现在任何人都可以访问整个xampp,包括phpmyadmin

在文件httpd-xampp.conf

现在我正在使用以下设置

<LocationMatch "^/(?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

如果我可以为默认的xampp 页面或phpmyadmin 设置一些密码,那也适用于我,因为服务器没有任何其他服务。

【问题讨论】:

    标签: apache xampp lamp


    【解决方案1】:

    第 5 步可能会对您有所帮助。请完整阅读以下教程。

    http://make.wordpress.org/core/handbook/installing-a-local-server/installing-xampp/

    问候, 阿伦拉杰。

    【讨论】:

    • 这没有帮助,因为在运行安全之后,访问任何页面都要求输入密码
    猜你喜欢
    • 2014-12-07
    • 2013-09-14
    • 2014-01-12
    • 2014-09-25
    • 1970-01-01
    • 1970-01-01
    • 2014-08-03
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多