Welcome, Guest
Please Login or Register.
Lost Password?
Want to move DocumentRoot (1 viewing)
Post Reply

TOPIC: Want to move DocumentRoot

#12288
RogerWeiss (User)
Posts: 4
graphgraph
Want to move DocumentRoot 2008/05/07 22:49  
I would like tomove the DocumentRoot for newly created virtual servers from: ${HOME}/public_html
to: ${HOME}/www/public_html

I edited Server Templates; Default Settings; Apache Website
DocumentRoot setting to be: ${HOME}/www/public_html

Yet when I create a virtual server it still creates the apache folders under /home/USER/
e.g.
/home/webadmin/cgi-bin
/home/webadmin/homes
/home/webadmin/logs
/home/webadmin/public_html
/home/webadmin/ssl.cert
/home/webadmin/ssl.key

What do I have to change to get the document root to be where I want it?

Also when I create the virtual server I get:
.. Webalizer reporting failed! : Failed to open /home/activese/www/public_html/stats/.htaccess for writing : Bad file descriptor at ../web-lib-funcs.pl line 980.
At least something is trying to do the right thing. :-)

Thanks,
Roger
  The administrator has disabled public write access.
#13293
Hal9000 (User)
Posts: 23
graphgraph
Re:Want to move DocumentRoot 2008/06/02 06:50  
i get the same error under some other circumstances... while importing domains from plesk.
i think the problem is that the stats folder is not owned by the activese user, so apache fails to write there.
hal
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.