SiteBar (Linux): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 34: | Zeile 34: | ||
SetEnv HTTP_HOME /var/www/sitebar | SetEnv HTTP_HOME /var/www/sitebar | ||
</Directory> | </Directory> | ||
</pre> | |||
<pre> | |||
sudo a2enconf sitebar | |||
sudo service apache2 restart | |||
</pre> | </pre> | ||
Version vom 28. Juli 2016, 15:38 Uhr
Voraussetzung
sudo apt-get install git
Installation
git clone https://github.com/brablc/sitebar.git sudo mv sitebar/ /var/www/ sudo chown -R www-data:www-data /var/www/sitebar/
cd /etc/apache2/conf-available/
sudo nano /etc/apache2/conf-available/sitebar.conf
Alias /sitebar "/var/www/sitebar/" <Directory "/var/www/sitebar"> Options +FollowSymLinks AllowOverride All <IfModule mod_dav.c> Dav off </IfModule> SetEnv HOME /var/www/sitebar SetEnv HTTP_HOME /var/www/sitebar </Directory>
sudo a2enconf sitebar sudo service apache2 restart
Links
https://wiki.ubuntuusers.de/SiteBar/
Zurück zu Ubuntu