kapil1089theking wrote:yes got it
DocumentRoot "/var/www/html"
Does it mean that i can access any file in another folders in /var/www/html/ namely cs by pointion the browser
http://127.0.0.1/cs/index.html
If not then what to modify and to what?
Yes, that's essentially correct. I assume that you are running Linux and that your cs/ directory has permissions for whatever "user" is running Apache (usually "nobody") and that there is
not a file in cs/ directory with the name ".htaccess" (which is a special file with which you can limit access to subdirectories and cause the browser to ask for a username and password). And, of course, that you actually have a file in the directory with the name "index.html".
The concept of Document Root is that Apache cannot "see" anything "outside" of that directory. This provides a measure of security for other files on your system. But it should be able to "see" all subordinate directories, providing that they have appropriate permissions and are not protected with an .htaccess file.