• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

auto_prepend_file

I use the same symlink and it just works. Did you restart apache after creating the link?

You could probably also write a one-liner using sed to replace /var/www/vhosts with /home/httpd/vhosts in all vhost.conf files.

And our spamfiltering is working just fine. :)
 
unfortunately the symlink doesn't work for me, ran websrvmngr, restarted httpd, etc...nothing...tried countless variations.

i could search and replace i guess...hrmph.

DC
 
Just to confirm - using a symlink will not work in this case. I had someone else try on a different server.

So I put this together to update the paths in all my vhost.conf files from /home/httpd/vhosts/ to /var/www/vhosts:

find . -name "vhost.conf" -print -maxdepth 3 -exec sed -i 's/\/home\/httpd\/vhosts/\/var\/www\/vhosts/' {} \;

Let the nightmare that is Plesk migration continue!
 
Back
Top