diff --git a/doc/README.html b/doc/README.html --- a/doc/README.html +++ b/doc/README.html @@ -13,16 +13,8 @@
Author: | Wolfgang Scherer | -
---|
Inhalt
Copy the program anywhere on your harddrive.
+Get the sources from ws-vacation and put the program anywhere on +your harddrive:
++>>> hg clone https://bitbucket.org/wolfmanx/ws-vacation +
Change alias /vacation in lib/ws-vacation.conf.in, if desired.
This substitutes the installation directory in the necessary places.
-Copy lib/ws-vacation.conf to /etc/apache2/conf.d/.
+Copy lib/ws-vacation.conf to /etc/apache2/conf.d/:
++>>> sudo cp lib/ws-vacation.conf /etc/apache2/conf.d/ +
Reload the Apache server:
->>> rcapache2 reload. +>>> sudo /etc/init.d/apache2 reload.
The sudo(1) setup allows the apache server to execute vacation(1) @@ -73,12 +68,12 @@ as any user (except root) without a pass copying the file lib/ws-vacation-sudo into the directory /etc/sudoers.d (ubuntu):
->>> cp lib/ws-vacation-sudo /etc/sudoers.d/ws-vacation-sudo ->>> chmod 0440 /etc/sudoers.d/ws-vacation-sudo +>>> sudo cp lib/ws-vacation-sudo /etc/sudoers.d/ws-vacation-sudo +>>> sudo chmod 0440 /etc/sudoers.d/ws-vacation-sudo
or by appending it to the file /etc/sudoers (older SuSE):
->>> cat lib/ws-vacation-sudo >>/etc/sudoers +>>> cat lib/ws-vacation-sudo | sudo tee /etc/sudoers
The file lib/.htpasswd can be created by the regular means.
An automated script is available that creates the password database from the system shadow(8) database. Just change into directory lib -and execute (as root):
+and execute:->>> php gen_htpasswd.php +>>> sudo php gen_htpasswd.php
Bemerkung
@@ -111,21 +106,11 @@ repeated to update the .htpasswdThe file lib/language.php contains language specific translation and also the default vacation(1) message text.
The HTML header and footer can be modified in lib/templates.php.
- - - - - - - - -Copyright
Copyright (C) 2012, Wolfgang Scherer, <sw@wiedenmann-seile.de>. Sponsored by Wiedenmann-Seile GmbH.
See section GNU Free Documentation License for license conditions for the documentation.
See section GNU General Public License for license conditions for the program.
-