From 1858f87d34f9cfb5628a5c63d04aaa717119fc5b Mon Sep 17 00:00:00 2001 From: Philipp Date: Sat, 22 Apr 2017 21:39:35 +0200 Subject: [PATCH 1/2] Corrected the httpd configuration --- software/httpd/en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/httpd/en.md b/software/httpd/en.md index dc4df25..772a2b1 100644 --- a/software/httpd/en.md +++ b/software/httpd/en.md @@ -17,7 +17,7 @@ sudo eopkg install httpd ### 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/`, 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. 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. From 423e453d8d8b3aee8ee88e0d354518a7e96e84fc Mon Sep 17 00:00:00 2001 From: Philipp Date: Sun, 23 Apr 2017 11:58:06 +0200 Subject: [PATCH 2/2] Edited the httpd instructions again --- software/httpd/en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/httpd/en.md b/software/httpd/en.md index 772a2b1..75a37c5 100644 --- a/software/httpd/en.md +++ b/software/httpd/en.md @@ -17,7 +17,7 @@ sudo eopkg install httpd ### 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.