zoukankan      html  css  js  c++  java
  • wampserver apache 403无权限访问 You don't have permission to access /index.html on this server

    今天接到要求 需要配置一下https 折腾好久 最后好还遇到了权限不够的问题 最后解决方案如下

    我这边补充一下我的方法 我的apache是 2.4.23 版本 是由 wampserver集成的

    httpd.conf 里面找到
    <Directory />
    AllowOverride none
    Require all denied
    </Directory>

    修改成下面这样就好了

    <Directory />
    AllowOverride none
    Require all granted
    </Directory>

    再者 httpd-vhosts.conf里面修改成如下
    # Virtual Hosts
    #

    <VirtualHost *:80>
    ServerName localhost
    ServerAlias localhost
    DocumentRoot c:/wamp/www
    <Directory "c:/wamp/www/">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
    AllowOverride All
    Require all granted
    </Directory>
    </VirtualHost>
    #

    //说得对 可惜不能生孩子 (笑

  • 相关阅读:
    【日语】日语学习计划(转载)
    【日语】日语商务情景口语
    Nop常用知识点
    c#版在pc端发起微信扫码支付
    nopcommerce 常用属性验证
    @codeforces
    @codeforces
    @codeforces
    @codeforces
    @codeforces
  • 原文地址:https://www.cnblogs.com/cjdty/p/11210571.html
Copyright © 2011-2022 走看看