Apache Web server

Where is Apache’s Default Document Root Directory?

Posted on
how to find Apache's Default root directory

The default document root directory of Apache is discussed in this article.If you’re searching for it, type the following command to locate Apache’s default docroot: grep -i dir_docroot /etc/cpanel/ea4/paths.confdir_docroot=/var/www/html You can find these files inside the directory: .├── 400.shtml├── 401.shtml├── 403.shtml├── 404.shtml├── 413.shtml├── 500.shtml├── cp_errordocument.shtml└── index.html Don’t forget that this directory contains the default document […]