Current time: 12-25-2024, 05:19 AM Hello There, Guest! (LoginRegister)


Post Reply 
change www root to /home/www
Author Message
softi Offline
Newbie
*

Posts: 5
Joined: May 2008
Reputation: 0
Post: #13
Bind mount
Bind mount the solution

Can you mount directory like partition!

stop the apache2 service

Code:
/etc/init.d/apache2 stop

and move all files /var/www to /home/www

and add this line to the
/etc/fstab
Code:
/home/www      /var/www   none    bind            0 0

and next
Code:
mount -a
/etc/init.d/apache2 start
(This post was last modified: 06-08-2008 01:37 AM by softi.)
06-08-2008 01:22 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
change www root to /home/www - katun - 12-17-2007, 09:12 AM
RE: change www root to /home/www - gOOvER - 12-17-2007, 02:04 PM
RE: change www root to /home/www - katun - 12-17-2007, 04:51 PM
RE: change www root to /home/www - rbtux - 12-17-2007, 04:54 PM
RE: change www root to /home/www - katun - 12-17-2007, 06:52 PM
RE: change www root to /home/www - joximu - 12-17-2007, 07:35 PM
RE: change www root to /home/www - katun - 12-18-2007, 05:43 AM
RE: change www root to /home/www - katun - 06-03-2008, 06:52 PM
RE: change www root to /home/www - Brun - 06-03-2008, 06:52 PM
Bind mount - softi - 06-08-2008 01:22 AM
RE: change www root to /home/www - ameir - 07-04-2008, 10:20 AM

Forum Jump:


User(s) browsing this thread: 3 Guest(s)