HTTP 错误 403.1 禁止访问:禁止执行访问错误处理

本文介绍了解决IIS服务器中出现的“HTTP错误403.1禁止访问”问题的方法。通过调整IIS的执行权限设置及修改网站目录名称,成功解决了该问题。

  近日在配置IIS服务器时出现“HTTP 错误 403.1 禁止访问:禁止执行访问”错误,以前也没遇到过这样的情况,但最终还是解决了,故拿出来与大家分享。

  大家首先想到是肯定是“百度一下”,我也不例外,网上遇到这样情况的人还是比较多的,随便找了个就有答案了。

      处理方法:IIS--->属性--->主目录--->执行权限改为纯脚本/脚本和可执行文件即可。

      小小的高兴了一下,属性里居然默认的就是“纯脚本”,没办法再改成脚本和可执行文件试试,这下终于行了。

      但是网上人们都说改成纯脚本就行了,而且改成脚本和可执行文件提示不太安全,为什么我的纯脚本就不行。经过多次测试,发现我的文件夹取名与别人不同,而且也不用虚拟目录,由于好记我总爱将客户的网站目录取为“域名.com/cn/net”就是这个“.”坏了事。将“.”去掉即可。

mp.esm.js:481 [Vue warn]: Property "loginBtnColor" was accessed during render but is not defined on instance. at <App > (anonymous) @ mp.esm.js:481 warn$1 @ vue.runtime.esm.js:1251 get @ vue.runtime.esm.js:2627 _sfc_render @ login.vue:71 renderComponentRoot @ vue.runtime.esm.js:4973 componentUpdateFn @ vue.runtime.esm.js:5100 run @ vue.runtime.esm.js:180 instance.update @ vue.runtime.esm.js:5124 callWithErrorHandling @ vue.runtime.esm.js:1356 flushJobs @ vue.runtime.esm.js:1563 Promise.then (async) queueFlush @ vue.runtime.esm.js:1472 queueJob @ vue.runtime.esm.js:1466 (anonymous) @ vue.runtime.esm.js:5118 resetScheduling @ vue.runtime.esm.js:263 trigger @ vue.runtime.esm.js:403 set @ vue.runtime.esm.js:524 (anonymous) @ login.vue:71 callWithErrorHandling @ vue.runtime.esm.js:1356 callWithAsyncErrorHandling @ vue.runtime.esm.js:1363 invoke @ vue.runtime.esm.js:5577 invoker @ vue.runtime.esm.js:5589 mp.esm.js:481 [Vue warn]: Property "loginBtnColor" was accessed during render but is not defined on instance. at <App > (anonymous) @ mp.esm.js:481 warn$1 @ vue.runtime.esm.js:1251 get @ vue.runtime.esm.js:2627 _sfc_render @ login.vue:71 renderComponentRoot @ vue.runtime.esm.js:4973 componentUpdateFn @ vue.runtime.esm.js:5100 run @ vue.runtime.esm.js:180 instance.update @ vue.runtime.esm.js:5124 callWithErrorHandling @ vue.runtime.esm.js:1356 flushJobs @ vue.runtime.esm.js:1563 Promise.then (async) queueFlush @ vue.runtime.esm.js:1472 queueJob @ vue.runtime.esm.js:1466 (anonymous) @ vue.runtime.esm.js:5118 resetScheduling @ vue.runtime.esm.js:263 trigger @ vue.runtime.esm.js:403 set @ vue.runtime.esm.js:524 (anonymous) @ login.vue:71 callWithErrorHandling @ vue.runtime.esm.js:1356 callWithAsyncErrorHandling @ vue.runtime.esm.js:1363 invoke @ vue.runtime.esm.js:5577 invoker @ vue.runtime.esm.js:5589 mp.esm.js:481 [Vue warn]: Property "loginBtnColor" was accessed during render but is not defined on instance. at <App > (anonymous) @ mp.esm.js:481 warn$1 @ vue.runtime.esm.js:1251 get @ vue.runtime.esm.js:2627 _sfc_render @ login.vue:71 renderComponentRoot @ vue.runtime.esm.js:4973 componentUpdateFn @ vue.runtime.esm.js:5100 run @ vue.runtime.esm.js:180 instance.update @ vue.runtime.esm.js:5124 callWithErrorHandling @ vue.runtime.esm.js:1356 flushJobs @ vue.runtime.esm.js:1563 Promise.then (async) queueFlush @ vue.runtime.esm.js:1472 queueJob @ vue.runtime.esm.js:1466 (anonymous) @ vue.runtime.esm.js:5118 resetScheduling @ vue.runtime.esm.js:263 trigger @ vue.runtime.esm.js:403 set @ vue.runtime.esm.js:524 (anonymous) @ login.vue:71 callWithErrorHandling @ vue.runtime.esm.js:1356 callWithAsyncErrorHandling @ vue.runtime.esm.js:1363 invoke @ vue.runtime.esm.js:5577 invoker @ vue.runtime.esm.js:5589 mp.esm.js:481 切换状态: true mp.esm.js:481 [Vue warn]: Property "loginBtnColor" was accessed during render but is not defined on instance. at <App > (anonymous) @ mp.esm.js:481 warn$1 @ vue.runtime.esm.js:1251 get @ vue.runtime.esm.js:2627 _sfc_render @ login.vue:71 renderComponentRoot @ vue.runtime.esm.js:4973 componentUpdateFn @ vue.runtime.esm.js:5100 run @ vue.runtime.esm.js:180 instance.update @ vue.runtime.esm.js:5124 callWithErrorHandling @ vue.runtime.esm.js:1356 flushJobs @ vue.runtime.esm.js:1563 Promise.then (async) queueFlush @ vue.runtime.esm.js:1472 queueJob @ vue.runtime.esm.js:1466 (anonymous) @ vue.runtime.esm.js:5118 resetScheduling @ vue.runtime.esm.js:263 trigger @ vue.runtime.esm.js:403 set @ vue.runtime.esm.js:524 set @ vue.runtime.esm.js:2642 togglePassword @ login.vue:55 (anonymous) @ login.vue:71 callWithErrorHandling @ vue.runtime.esm.js:1356 callWithAsyncErrorHandling @ vue.runtime.esm.js:1363 invoke @ vue.runtime.esm.js:5577 setTimeout (async) invoker @ vue.runtime.esm.js:5586 mp.esm.js:481 切换状态: false mp.esm.js:481 [Vue warn]: Property "loginBtnColor" was accessed during render but is not defined on instance. at <App > (anonymous) @ mp.esm.js:481 warn$1 @ vue.runtime.esm.js:1251 get @ vue.runtime.esm.js:2627 _sfc_render @ login.vue:71 renderComponentRoot @ vue.runtime.esm.js:4973 componentUpdateFn @ vue.runtime.esm.js:5100 run @ vue.runtime.esm.js:180 instance.update @ vue.runtime.esm.js:5124 callWithErrorHandling @ vue.runtime.esm.js:1356 flushJobs @ vue.runtime.esm.js:1563 Promise.then (async) queueFlush @ vue.runtime.esm.js:1472 queueJob @ vue.runtime.esm.js:1466 (anonymous) @ vue.runtime.esm.js:5118 resetScheduling @ vue.runtime.esm.js:263 trigger @ vue.runtime.esm.js:403 set @ vue.runtime.esm.js:524 set @ vue.runtime.esm.js:2642 togglePassword @ login.vue:55 (anonymous) @ login.vue:71 callWithErrorHandling @ vue.runtime.esm.js:1356 callWithAsyncErrorHandling @ vue.runtime.esm.js:1363 invoke @ vue.runtime.esm.js:5577 setTimeout (async) invoker @ vue.runtime.esm.js:5586 mp.esm.js:481 切换状态: true mp.esm.js:481 [Vue warn]: Property "loginBtnColor" was accessed during render but is not defined on instance. at <App > (anonymous) @ mp.esm.js:481 warn$1 @ vue.runtime.esm.js:1251 get @ vue.runtime.esm.js:2627 _sfc_render @ login.vue:71 renderComponentRoot @ vue.runtime.esm.js:4973 componentUpdateFn @ vue.runtime.esm.js:5100 run @ vue.runtime.esm.js:180 instance.update @ vue.runtime.esm.js:5124 callWithErrorHandling @ vue.runtime.esm.js:1356 flushJobs @ vue.runtime.esm.js:1563 Promise.then (async) queueFlush @ vue.runtime.esm.js:1472 queueJob @ vue.runtime.esm.js:1466 (anonymous) @ vue.runtime.esm.js:5118 resetScheduling @ vue.runtime.esm.js:263 trigger @ vue.runtime.esm.js:403 set @ vue.runtime.esm.js:524 set @ vue.runtime.esm.js:2642 togglePassword @ login.vue:55 (anonymous) @ login.vue:71 callWithErrorHandling @ vue.runtime.esm.js:1356 callWithAsyncErrorHandling @ vue.runtime.esm.js:1363 invoke @ vue.runtime.esm.js:5577 setTimeout (async) invoker @ vue.runtime.esm.js:5586 mp.esm.js:481 切换状态: false mp.esm.js:481 [Vue warn]: Property "loginBtnColor" was accessed during render but is not defined on instance. at <App > (anonymous) @ mp.esm.js:481 warn$1 @ vue.runtime.esm.js:1251 get @ vue.runtime.esm.js:2627 _sfc_render @ login.vue:71 renderComponentRoot @ vue.runtime.esm.js:4973 componentUpdateFn @ vue.runtime.esm.js:5100 run @ vue.runtime.esm.js:180 instance.update @ vue.runtime.esm.js:5124 callWithErrorHandling @ vue.runtime.esm.js:1356 flushJobs @ vue.runtime.esm.js:1563 Promise.then (async) queueFlush @ vue.runtime.esm.js:1472 queueJob @ vue.runtime.esm.js:1466 (anonymous) @ vue.runtime.esm.js:5118 resetScheduling @ vue.runtime.esm.js:263 trigger @ vue.runtime.esm.js:403 set @ vue.runtime.esm.js:524 set @ vue.runtime.esm.js:2642 togglePassword @ login.vue:55 (anonymous) @ login.vue:71 callWithErrorHandling @ vue.runtime.esm.js:1356 callWithAsyncErrorHandling @ vue.runtime.esm.js:1363 invoke @ vue.runtime.esm.js:5577 setTimeout (async) invoker @ vue.runtime.esm.js:5586 [worker] reportRealtimeAction:fail not support
08-09
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值