• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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