• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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