Re: Change Web Server to another disk in Centos 5.2

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



On Tue, Jul 29, 2008 at 12:43 PM, Victor Padro <vpadro@xxxxxxxxx> wrote:
>
>
> On Mon, Jul 28, 2008 at 11:40 PM, Salvador Torres <saltorres@xxxxxxxxxxxxx>
> wrote:
>>
>> Hi,
>>
>> I'm new to CentOS 5.2 and I want to know how can I change the
>> /var/www/html directory to another disk. That disk is not even partitioned.
>> I've googled and even searched in centos.org forums and documentation, and
>> found nothing.

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


KC


>>
>>
>>
>> I want to have in separate disks CentOS and my web server.
>>
>>
>>
>> Can anybody recommend any CentOS 5.2 book, because every time I want to
>> find an answer to my questions I spend a lot of time searching for it in the
>> centos.org website and googling and nothing useful comes up.
>>
>>
>>
>> Thanks
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS@xxxxxxxxxx
>> http://lists.centos.org/mailman/listinfo/centos
>>
>
> The best info you could find is in here: http://www.centos.org/docs/5/
>
>
> --
> "It is human nature to think wisely and act in an absurd fashion."
>
> "Todo el desorden del mundo proviene de las profesiones mal o mediocremente
> servidas"
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
>
_______________________________________________
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