- Prison Code Breaker Diary -

=> aka: Nhật Kí Code Tù

Categories

The default web root directory of Apache Web Server is in "/var/www/html".
However, if you want to change it to different folder, then edit the value DocumentRoot in config files.

1. Find the config files:


[root@localhost ~]# locate httpd.conf

2. Open the ~/httpd.conf, look for value DocumentRoot and change as you want, like this

DocumentRoot "/home/xjaphx/public_html"


Have fun!@

0 comments

Post a Comment