Hi ,
I am in the process of migrating my old server into new Linux new server. As part of the , apache configuraton is one of the process . i have installed http with yum. i added some test dir like /date/test underwhich i created one test.html. When i start apache , it says
Starting httpd: Warning: DocumentRoot [/data/test] does not exist
i am not sure about it. I have directory exists. however it shows the error message.
Apache version
--------------
httpd-devel-2.2.3-43.el5.centos.3
httpd-devel-2.2.3-43.el5.centos.3
httpd-2.2.3-43.el5.centos.3
httpd-manual-2.2.3-43.el5.centos.3
Centos Version :
CentOS release 5.5 (Final)
Uname -r
2.6.18-194.32.1.el5
NameVirtualHost ipaddress:80
<VirtualHost ipaddress:80>
ServerAdmin
webmaster@dummy-host.example.com
DocumentRoot /data/test
ServerName portal-migration
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
Can anyone pls help me this out ?
Thanks