Gentoo Blog

The ultimate Gentoo Blog
  • rss
  • Home
  • About

Plesk move your apache vhost directory

Simon | October 2, 2008

To move your apache vhost directory in plesk do the following

cd /usr/local/psa/bin
./transvhosts.pl --source-dir /my/old/directory --dest-dir /my/new/directory --correct-scripts

The new directory must exist even though the script help says it will create missing directories it did not work for me. The correct script option will change all the vhost configs for you. Watch out for trailing slashes or you will have incorrect paths in your vhost configs. Another thing i noticed some of our vhosts had double slashes in there path names to correct this issue

/usr/local/psa/admin/sbin/websrvmng -a -v

Share on Facebook
Kategorien
confixx/Plesk
RSS Kommentare
RSS Kommentare
Trackback
Trackback

« vim activate Syntax highlighting on Debian/ Ubuntu Another Intrepid Ibex Counter just to make sure we don’t forget :) »

Schreib einen Kommentar

Du kannst diese Tags verwenden : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 

September 2010
M T W T F S S
« Aug    
 12345
6789101112
13141516171819
20212223242526
27282930  

Links

  • Gentoo
  • http.net
  • iphone software linux
  • michael-fuchs.net
  • Ubuntu

Categories

  • confixx/Plesk
  • fun
  • Gentoo
  • iptables
  • news
  • Stuff
  • Ubuntu/Debian
  • Xen/Vmware

Search Blog

rss RSS Kommentare valid xhtml 1.1 design by jide powered by Wordpress get firefox