• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

HOW TO assign IIS_WP to images folder in hosting_template.xml

M

mrbean

Guest
Hi guys,

Everytime after the new domain created, a new worker process id will be created. the worker process name is something like this: IIS_WPD(blablabla)

I want to assign IIS_WPD to images folder in order for the image upload and resizing to work.

I know there's an easy way to do: login to plesk> Directories> click on it and tick read/write permission. But this is not suitable at all in my case. Reason: I am doing a service that whenever people signup, I will automatically create the domain, install script for them. It means at night time when I sleeping, there might be already 5-6 person signup and installation done.

This is why I need automated way to set IIS_WPD to httpdocs/directoryname/images

I am getting quite confuse... .Can't find the necessary documentation that clearly pin point the value that can be used inside hosting_template.xml

So based on DiskSecurity xml, I copy some relevant line and modify a bit, then paste it into hosting_Template.xml. But still I don't want to take risk to run this until I confirm the thing is correct. Else if something go wrong, many thing need to do....

Here's some code I'm going to put into hosting_Template.xml

<Entry AccounType="0" Account="NetworkService" Path="[HTTPD_VHOSTS_D]" SubPath="httpdocs\directory\images"
AceFlags="ThisFolderSubfoldersAndFiles" AccessMask="FullAccess" EntryFlags="0x140" />

<Entry AccounType="0" Account="IWAM_plesk(default)" Path="[HTTPD_VHOSTS_D]" SubPath="httpdocs\directory\images"
AceFlags="ThisFolderSubfoldersAndFiles" AccessMask="FullAccess" EntryFlags="0x140" />


Anyone here is plesk technical expert? Need your advice.
 
I still have the same problem

I´m having the same problem, but to read the IIRF.ini file for a ReWrite ISAPI...

And as I can see, none info at this forum or web site
 
Back
Top