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.
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.