当应用程序池使用“ApplicationPoolIdentity”时,IIS 8.5使用什么用户帐户? [英] What user account does IIS 8.5 use when the app pool is using 'ApplicationPoolIdentity'?

查看:529
本文介绍了当应用程序池使用“ApplicationPoolIdentity”时,IIS 8.5使用什么用户帐户?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用运行IIS 8.5的新Windows 2012 R2服务器。我在默认的wwwroot文件夹中安装了PHP和一个Joomla站点用于测试目的(C:\inetpub \ www.root)。

I am working with a new Windows 2012 R2 server, running IIS 8.5. I have PHP and a Joomla site installed in the default wwwroot folder for testing purposes (C:\inetpub\wwwroot).

现在,默认的网站是使用'默认网站'应用程序池,而后者又使用'ApplicationPoolIdentity'标识。

Right now, the default web site is using the 'Default Web Site' application pool which in turn is using the 'ApplicationPoolIdentity' identity.

Joomla网站加载没有问题,但问题在需要时开始出现写入文件系统(即新模块,更改配置文件等)。日志表明系统没有写入文件系统的权限。

The Joomla site loads without issue, but problems start appearing when it needs to write to the file system (i.e. new modules, changes to the configuration file, etc.). The logs indicate that the system does not have permission to write to the file system.

我已经为不同的用户帐户应用了各种不同的写/修改/完全权限组合,包括'IIS AppPool \Default网站','IUSR'和'IIS_IUSRS'组。这些都没有纠正这个问题。但是,如果我已将wwwroot文件夹的完全访问权限分配给Everyone,则所有功能都按预期工作。

I have applied various different combinations of write / modify / full permissions for different user accounts including the 'IIS AppPool\Default Web Site' , 'IUSR', and 'IIS_IUSRS' group. None of these correct the issue. However, if I have assign full access to the wwwroot folder to 'Everyone', all of the functionality works as expected.

现在,显然这不太理想,所以在这种情况下IIS / PHP使用什么用户帐户,我可以授予特定的NTFS权限,而不是打开文件系统到世界各地?

Now, obviously that is less than ideal, so what user account is IIS / PHP using in this case that I can grant specific NTFS permissions to rather than opening the file system up to the world?

谢谢!

推荐答案

添加名称时,请务必选择本地服务器的名称,而不是域名。我无法弄清楚为什么名称没有解决,这就是原因:

When adding the name, be sure to select your local server's name, not the domain name. I couldn't figure out why the name wasn't resolving and this was why:

这篇关于当应用程序池使用“ApplicationPoolIdentity”时,IIS 8.5使用什么用户帐户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆