This repository was archived by the owner on Sep 10, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ sudo apt-get dist-upgrade
1919sudo 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
2020sudo pip install mkdocs
2121sudo 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
2323sudo a2ensite example.org.conf
2424sudo service apache2 restart
2525```
@@ -88,6 +88,7 @@ to allow apache to execute directives defined in .htaccess files:
8888sudo 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
You can’t perform that action at this time.
0 commit comments