SiteBar (Linux): Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 19: Zeile 19:
<pre>
<pre>
sudo nano /etc/apache2/conf-available/sitebar.conf
sudo nano /etc/apache2/conf-available/sitebar.conf
</pre>
<pre>
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>
</pre>
</pre>



Version vom 28. Juli 2016, 15:37 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>

Links

https://wiki.ubuntuusers.de/SiteBar/


Zurück zu Ubuntu