Edited the httpd instructions again

This commit is contained in:
Philipp 2017-04-23 11:58:06 +02:00
parent 1858f87d34
commit 423e453d8d
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ sudo eopkg install httpd
### Configuration and DocumentRoot ### Configuration and DocumentRoot
As we supply a default vendor configuration in `/usr/share/defaults/httpd/`, to make modifications to httpd's configuration, you must first create the directory `/etc/httpd/conf.d/`, copy `/usr/share/defaults/httpd/httpd.conf` to `/etc/httpd/conf.d/httpd.conf`, and make modifications to the file in `/etc/httpd/`. If you modify the default vendor configuration instead it will be overwritten with the next update. As we supply a default vendor configuration in `/usr/share/defaults/httpd/`, to make modifications to httpd's configuration, you must first create the directory `/etc/httpd/conf.d/` and create your own *.conf files, which will overwrite the default configuration. If you modify the default vendor configuration instead it will be overwritten with the next update.
By default, httpd's DocumentRoot is set to `/var/www/`, thus files you desire to be accessible via your httpd server must be copied to that location. By default, httpd's DocumentRoot is set to `/var/www/`, thus files you desire to be accessible via your httpd server must be copied to that location.