G
Gavin Sandie
Guest
Hello,
Currently on one of our windows plesk installs we have vhosts setup at C:\Inetpub\vhosts. I want to change this location, I also want to change the path that each domain is using:
e.g. C:\Inetpub\vhosts\website1.com -> C:\Inetpub\vhosts\website1\
Digging about I've found the websrvmng.exe tool, however I cannot find any documentation on how this tool should be used. "websrvmng.exe --help" gives a plethora of options but nothing that really describes what they do.
I've tried to use the following:
websrvmng.exe --get-vdir --vhost-name=website1.com
This seems to give me an XML blob for the domain, I can save this blob to a file and then try to update the vhost with:
websrvmng.exe --update-vdir --vhost-name=website1.com --vdir-config --via-file=D:\test.xml
However I get an error:
"The parameter is incorrect.
at load"
Is there any documentation for websrvmng.exe? Are there any instructions for changing the directory that a domains hosting is using? So far searching the forums, google and the knowledge base is not giving me any results.
Thanks, Gavin
Currently on one of our windows plesk installs we have vhosts setup at C:\Inetpub\vhosts. I want to change this location, I also want to change the path that each domain is using:
e.g. C:\Inetpub\vhosts\website1.com -> C:\Inetpub\vhosts\website1\
Digging about I've found the websrvmng.exe tool, however I cannot find any documentation on how this tool should be used. "websrvmng.exe --help" gives a plethora of options but nothing that really describes what they do.
I've tried to use the following:
websrvmng.exe --get-vdir --vhost-name=website1.com
This seems to give me an XML blob for the domain, I can save this blob to a file and then try to update the vhost with:
websrvmng.exe --update-vdir --vhost-name=website1.com --vdir-config --via-file=D:\test.xml
However I get an error:
"The parameter is incorrect.
at load"
Is there any documentation for websrvmng.exe? Are there any instructions for changing the directory that a domains hosting is using? So far searching the forums, google and the knowledge base is not giving me any results.
Thanks, Gavin