Hi,
I'm trying to modify Odin so that newly created sites will have the following extra Apache settings:
However even after reading the documentation, I have no idea where or how to make this change.
So far I've copied 'domainVirtualHost.php' to "/usr/local/psa/admin/conf/templates/custom/domain". Is this the right file? How would I go about making the changes required?
Background information:
This is for one of our clients who have a custom WordPress plugin that they develop and use on their sites. The plugin is located in "/home/user/plugin", which is then symlinked to the directory described above in each site.
We've been able to add the symlink using the .skel structure and the PHP settings using the Plesk interface, so that all new sites are created with the correct PHP settings and symlink location. But the allowing Symlinks bit is giving us a bit of bother
I'm trying to modify Odin so that newly created sites will have the following extra Apache settings:
Code:
<Directory /var/www/<sitename>/httpdocs/wp-content/plugins>
Options +FollowSymlinks -SymLinksIfOwnerMatch
</Directory>
However even after reading the documentation, I have no idea where or how to make this change.
So far I've copied 'domainVirtualHost.php' to "/usr/local/psa/admin/conf/templates/custom/domain". Is this the right file? How would I go about making the changes required?
Background information:
This is for one of our clients who have a custom WordPress plugin that they develop and use on their sites. The plugin is located in "/home/user/plugin", which is then symlinked to the directory described above in each site.
We've been able to add the symlink using the .skel structure and the PHP settings using the Plesk interface, so that all new sites are created with the correct PHP settings and symlink location. But the allowing Symlinks bit is giving us a bit of bother