• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Change webserver settings for file sharing ... but where?

Stephan Palzer

New Pleskian
Hi Folks,

I would like to change a apache directive for the file sharing feature in plesk v12.5.30.
The responsible config file for the file sharing feature is:
/opt/psa/admin/conf/file_sharing.conf

I want to change it like following part:
<Directory "/var/www/vhosts/fs/unlisted">
Options +FollowSymLinks -SymLinksIfOwnerMatch
AllowOverride None
</Directory>

The first lines in the file are showing me:
#
# This is autogenerated file, do not edit.
#
Which points to a problem in the future!

This is the same problem as with any virtual host in plesk ... "put your customizations in the file vhost.conf"... But this doesn't work ... the file /opt/psa/admin/conf/vhost.conf would not be recognized. Where do I have to add the above apache directive, that it would be detected correctly?

Maybe a hack in the mysql database?

Best regards
Stephan
 
Hi Stephan,

Unfortunately, there is no way to do what you want because the source of file_sharing.conf content is hardcoded in crypted php system files.
You can describe your business case and submit feature request on plesk.uservoice.com
People will vote for this feature if it popular.
 
Hello,

put it in vhost,conf at the domain:

/var/www/vhosts/system/example.com/conf/vhost.conf

Then it works.

Ralph
 
Back
Top