Change the following information in
psoft_config/masonry.properties:
the value of the USER_LOGIN_QUERY parameter depends on your PLESK version. The standard line is:
USER_LOGIN_QUERY = SELECT dom_id, login, login, passwd, ''email'',
concat(''/usr/local/plesk/apache/vhosts/'',name,''/httpdocs/''),
concat(''http://'', name,''/'') FROM domains, hosting WHERE
hosting.dom_id = domains.id AND login = ''{0}''
Note: this should be written in one line!
For PLESK 5:
USER_LOGIN_QUERY = SELECT hosting.dom_id, login, login, passwd,
''email'', concat(home,''/httpdocs/''), concat(''http://'', name,''/'')
from sys_users, hosting, domains where login=''{0}'' and
hosting.sys_user_id = sys_users.id and domains.id=hosting.dom_id;
Note: this should be written in one line!
For PLESK 6:
USER_LOGIN_QUERY = SELECT hosting.dom_id, login, login, password,
''email'', concat(home,''/httpdocs/''), concat(''http://'', name,''/'')
from sys_users, hosting, domains, accounts where login=''{0}''
and hosting.sys_user_id = sys_users.id and domains.id=hosting.dom_id
and sys_users.account_id=accounts.id
Note: this should be written in one line!
Do not forget to change the line /usr/local/plesk/apache/vhosts/ to the path
where user sites are stored in your case.
FILE_PUBLISHER = /usr/local/bin/filepublisher
USER_CLASS = psoft.user.WebsiteOwnerInitializer
PUBLISHER_CLASS = psoft.masonry.publisher.FilePublisher