Merge pull request #37 from der-eismann/master

Corrected the httpd configuration
This commit is contained in:
Joshua Strobl 2017-04-23 18:27:46 +03:00 committed by GitHub
commit 6fea00cfe8
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 copy `/usr/share/defaults/httpd/httpd.conf` to `/etc/`, and make modifications to the file in `/etc/` 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.