• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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