问题描述
我刚安装了IIS,所以我可以看到在浏览器中的ASP文件,但是当我把地址在浏览器中为:我得到一个错误。
I have just installed the IIS so I can view asp files in a browser but when I put the address in a browser as : http://localhost/index.asp I get an error.
错误表明这一点:
HTTP错误401.3 - 未经授权
您没有权限查看,因为访问控制列表(ACL)对Web服务器上的该资源的配置或加密设置该目录或页面。
我真的需要得到这个整理出来,我会强烈AP preciate对此有何意见。
I really need to get this sorted out, I would highly appreciate any advice on this.
推荐答案
确定,从内存在这里工作,因为我在Windows机器前面我不是。
OK, working from memory here as I am not in front of a Windows machine.
如果你右击你的根目录文件夹/的Inetpub / wwwroot文件/或您是在开放的属性,选择安全工作的网站目录,我觉得是,你会看到用户的列表以及它们该文件夹的权限。有一个部分来添加新用户,你可以添加 IIS_IUSRS
帐户(从用户列表中进行搜索,如果你需要),这将是默认的用户使用时,匿名身份验证已启用。给这个帐户的相关权限(读,写,执行),以确保您适用于文件和子文件夹。刷新IIS中的网站,你应该有希望去的好。
If you right click on your webroot folder /inetpub/wwwroot/ or the website directory you are working on open properties and select security, I think it is, you will see the list of users with their permissions for that folder. There is a section to add new users where you can add the IIS_IUSRS
account (search from the list of users if you need to) which will be the default user used when anonymous authentication is enabled. Give this account the relevant permissions (read, write, execute) ensuring you apply to file and subfolders. Refresh the website in IIS and you should hopefully be good to go.
这篇关于ASP页在IIS中使用本地主机401.3错误没有权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!