SiteBar (Linux): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 45: | Zeile 45: | ||
<pre> | <pre> | ||
http://<server ip>/sitebar/ | http://<server ip>/sitebar/ | ||
</pre> | |||
<pre> | |||
<?php | |||
$SITEBAR = array | |||
( | |||
'db' => array | |||
( | |||
'host' => 'localhost', | |||
'username' => 'sitebar', | |||
'password' => '<password>', | |||
'name' => 'sitebar', | |||
), | |||
'baseurl' => null, | |||
'login_as' => null, | |||
); | |||
?> | |||
</pre> | </pre> | ||
Version vom 28. Juli 2016, 15:56 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
Konfiguration
http://<server ip>/sitebar/
<?php $SITEBAR = array ( 'db' => array ( 'host' => 'localhost', 'username' => 'sitebar', 'password' => '<password>', 'name' => 'sitebar', ), 'baseurl' => null, 'login_as' => null, ); ?>
Links
https://wiki.ubuntuusers.de/SiteBar/
Zurück zu Ubuntu