markparticle / WebServer

C++ Linux WebServer服务器
Apache License 2.0
3.49k stars 730 forks source link

浏览器访问时出现403禁止访问错误应该怎么解决 #82

Closed fragrant915 closed 1 year ago

HeartsRider commented 1 year ago

我也是这个错误,我是部署在腾讯云服务器上,请问你解决了吗?

fragrant915 commented 1 year ago

我这边通过修改main函数中对应的参数已解决问题

------------------ 原始邮件 ------------------ 发件人: "markparticle/WebServer" @.>; 发送时间: 2023年4月30日(星期天) 下午5:45 @.>; @.**@.>; 主题: Re: [markparticle/WebServer] 浏览器访问时出现403禁止访问错误应该怎么解决 (Issue #82)

我也是这个错误,我是部署在腾讯云服务器上,请问你解决了吗?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

jammy-6 commented 6 months ago

这个是你使用https协议导致的,因为对请求的资源路径加密了,服务器无法正确返回对应资源,改成http就好了