you don't have permission to access [custom alias] on this server

后端 未结 6 1224
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-14 15:00

can anyone help with a following issue: I am using wamp to run projects in my chrome browser. after adding a newAlias which points to my project directory c:/dev/myProject I am

6条回答
  •  深忆病人
    2021-02-14 15:42

    I am no expert on this but the answer above seemed like I was granting access to my entire computer...So tried modifying the above answer to only giving access to where my alias folder is...

    So instead...Go to the httpd.conf file...and do a search for...

    
       AllowOverride none
       Require all denied
    
    

    and below that add the following

    
       AllowOverride none
       Require all granted
    
    

    This worked to me and I think it might be a bit safer...Again I am no expert here...Just trying to make it work...

提交回复
热议问题