• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

How do I create a web user inside httpdocs?

J

Javier Alonso

Guest
Hello, I need some help with plesk. When I create a web user, its default directory is outside httpdocs, and I need a ftp account inside httpdocs, so users can upload files using that ftp account and everybody can download them by http.

I have tried modifying the user with "usermod -d ...../httpdocs/myfolder" but it doesn't work.

Any help, please?
 
I think it is not possible,
but you can make a symlink from webuser dir into httpd folder.
You need to add some rules in vhost.conf
for example:
<Directory "/var/www/vhosts/domain.de/httpdocs">
Options +followSymlinks
</Directory>

If you need Access with php you need some additional Lines
<Directory "/var/www/vhosts/domain.de/httpdocs">
php_admin_value open_basedir "/var/www/vhosts/domain.de/web_users/webusername/"
</Directory>

create symlink:
ln -s ../web_users/webusername/ /var/www/vhosts/domain.de/httpdocs/downloads
It will create a symlink in httpdocs folder named as downloads
 
Back
Top