Quote:
Originally Posted by btmiller
Usually it's /var/www/html on RHEL/CentOS systems. But to find out for sure you'd look for the DocumentRoot directive in the httpd.conf file (in /etc/httpd/conf in a standard RHEL/CentOS install.
|
In my case its
Quote:
DocumentRoot "/var/www/html"
|
Thanks .
There are no files in /var/www/html directive.
However i would like create a simple php page and host it on my machine.
Correct me if i m wrong.
1) create a php file say abc.php.
2) Copy it to /var/www/html directory.
3) restart the web server(tomcat).(kindly provide the command if any).
4) access it through url
http://localhost:8080/abc.php