Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cydrobolt/polr.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChaoyi Zha <summermontreal@gmail.com>2016-08-17 00:42:41 +0300
committerGitHub <noreply@github.com>2016-08-17 00:42:41 +0300
commit539d7e419db11d9b144b1e815f83eeca0a7094eb (patch)
treeebfbe9ebcdcb064353b7e759fbb01aa9ebc5b0cd /docs
parentb987eeaa6dc5acda0f7fb6a8b86351af7a2d8da9 (diff)
Adjust docs re: apache & nginx
Diffstat (limited to 'docs')
-rw-r--r--docs/user-guide/installation.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/user-guide/installation.md b/docs/user-guide/installation.md
index 63ec33e..c3b8ab9 100644
--- a/docs/user-guide/installation.md
+++ b/docs/user-guide/installation.md
@@ -61,10 +61,9 @@ php composer.phar install --no-dev -o
### Apache
-To run Polr on Apache, you will need to add a virtual host to your
-`httpd-vhosts.conf` like so:
+To run Polr on Apache, you will need to create a new Apache configuration file in your operating system's Apache configuration folder (e.g `/etc/apache2/sites-enabled` or `/etc/httpd/sites-enabled`) or add a virtual host to your `httpd-vhosts.conf` file like so:
-Replace `example.com` with your server's external address.
+Replace `example.com` with your server's external address and restart Apache when done.
```apache
<VirtualHost *:80>
@@ -89,6 +88,7 @@ If `mod_rewrite` is not already enabled, you will need to enable it like so:
a2enmod rewrite
# restart apache on Ubuntu
# sudo service apache2 restart
+
# restart apache on Fedora/CentOS
# sudo service httpd restart
```