Where should the web server root directory go in linux?

Posted by Xeoncross on Server Fault See other posts from Server Fault or by Xeoncross
Published on 2010-05-23T18:54:21Z Indexed on 2010/05/23 19:02 UTC
Read the original article Hit count: 363

Filed under:
|

I see that Apache and Nginx both use var/www as their web root - but that directory is not covered in the Filesystem Hierarchy Standard. I also see some servers with the web root in the /home/username/www directory. So where does the web root go? Or rather, where should it go most of the time for the common web server?

© Server Fault or respective owner

Related posts about webserver

Related posts about www