Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 5b161e2

Browse files
author
mgrauer
committed
Update install docs with Options FollowSymLinks
1 parent 287d736 commit 5b161e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/installation/linux.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ sudo apt-get dist-upgrade
1919
sudo apt-get install apache2 cmake curl git libapache2-mod-php5 memcached mysql-server nano php5 php5-curl php5-gd php5-json php5-memcached php5-mysqlnd php5-pgsql php5-sqlite php5-xdebug postgresql python python-jinja2 python-markdown python-pip python-yaml sqlite3 subversion
2020
sudo pip install mkdocs
2121
sudo a2enmod rewrite
22-
echo -e "<Directory /var/www/example.org/html>\nAllowOverride All\n</Directory>\n<VirtualHost *:80>\nServerAdmin webmaster@example.org\nServerName example.org\nServerAlias www.example.org\nDocumentRoot /var/www/example.org/html\nErrorLog \${APACHE_LOG_DIR}/error.log\nCustomLog \${APACHE_LOG_DIR}/access.log combined\n</VirtualHost>" | sudo tee -a /etc/apache2/sites-available/example.org.conf
22+
echo -e "<Directory /var/www/example.org/html>\nOptions FollowSymLinks\nAllowOverride All\n</Directory>\n<VirtualHost *:80>\nServerAdmin webmaster@example.org\nServerName example.org\nServerAlias www.example.org\nDocumentRoot /var/www/example.org/html\nErrorLog \${APACHE_LOG_DIR}/error.log\nCustomLog \${APACHE_LOG_DIR}/access.log combined\n</VirtualHost>" | sudo tee -a /etc/apache2/sites-available/example.org.conf
2323
sudo a2ensite example.org.conf
2424
sudo service apache2 restart
2525
```
@@ -88,6 +88,7 @@ to allow apache to execute directives defined in .htaccess files:
8888
sudo nano /etc/apache2/sites-available/example.org.conf
8989

9090
<Directory /var/www/example.org/html>
91+
Options FollowSymLinks
9192
AllowOverride All
9293
</Directory>
9394

0 commit comments

Comments
 (0)