what is importance of DocumentRoot

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

 



I checked this page
http://httpd.apache.org/docs/2.0/urlmapping.html#documentroot

It says
"Apache's default behavior is to take the URL-Path for the request
(the part of the URL following the hostname and port) and add it to
the end of the DocumentRoot specified in your configuration files"

does that mean
 a request for http://www.myexample.com/site/css/some.css
Apache will take URL-Path from above as /site/css/some.css and add if
Document Root is /var/www
it will add it to the end like
/var/www//site/css/some.css
and then serve the page/

-- 
Tapas

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux