• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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