Gentoo Blog

The ultimate Gentoo Blog
  • Home
  • About

Change Document Root Plesk

Simon | August 20, 2010

1. In the directory

/var/www/vhosts/example.com/conf create a file called vhost.conf

2. Edit the file with a text editor and add the following line:

Documentroot /my/new/DocumentRoot

3. Then execute the following command

/usr/local/psa/admin/sbin/websrvmng -–reconfigure-vhost -–vhost-name=example.com

4. Okay thats it reload the apache webserver

/etc/init.d/apache2 reload

Share on Facebook
Comments
No Comments »
Categories
confixx/Plesk
Comments rss Comments rss
Trackback Trackback

 

August 2010
M T W T F S S
« Jun   Sep »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Categories

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

Links

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

Search Blog

rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox