security - What is meant by the term "web root"? -


i have set own amp stack on local machine , playing around web application development. researching various best practices secure application development, , see constant references term "web root"

for example:

make sure store file outside of web root

i more or less understand, however, confused. consider webserver directory in os x:

/library | |--webserver    |    |--cgi-executables    |    |--share    |    |--documents       |--index.html.en       |--mywebapp          |          |--myfile1.html          |--myfile2.js          |--myfile3.php 

the term seems suggest web root @ mywebapp directory. however, wouldn't under 'documents' visible, or under webserver. maybe not, because when remove index.html.en , navigate localhost/ in browser, 403 error.

what meant "web root"?

web root first directory can accesible web. called /public_html. can define directories @ same level or upper data used in website (e.g. images, cache memory...).


Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -