Re: Change Web Server to another disk in Centos 5.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Jul 28, 2008 at 9:48 PM, Kuang-Chun Cheng <kcc1967@xxxxxxxxx> wrote:
>
> Check apache's configuration.  Change "DocumentRoot" from /var/www/html
> to new location you want.
>
> Or simply, move /var/www/html to new disk ... and make a symbolic link
> /var/www/html @-> your_new_path
>

I don't know a lot about apache, but it seems to me that the simplest
solution is to mount your intended target to /var/www and that should
take care of it (provided that you have all the necessary files moved
there as well).

mhr
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux