diff --git a/doc/README.html b/doc/README.html --- a/doc/README.html +++ b/doc/README.html @@ -13,16 +13,8 @@

Wiedenmann Vacation

Web Front-End to Manage vacation(1) Settings

- --- - - - -
Author:Wolfgang Scherer
+ - @@ -34,9 +26,7 @@ - -

Inhalt

- -

Installation

    -
  1. Copy the program anywhere on your harddrive.

    +
  2. Get the sources from ws-vacation and put the program anywhere on +your harddrive:

    +
    +>>> hg clone https://bitbucket.org/wolfmanx/ws-vacation
    +
  3. Change alias /vacation in lib/ws-vacation.conf.in, if desired.

  4. @@ -61,11 +53,14 @@

    This substitutes the installation directory in the necessary places.

    -
  5. Copy lib/ws-vacation.conf to /etc/apache2/conf.d/.

    +
  6. Copy lib/ws-vacation.conf to /etc/apache2/conf.d/:

    +
    +>>> sudo cp lib/ws-vacation.conf /etc/apache2/conf.d/
    +
  7. Reload the Apache server:

    ->>> rcapache2 reload.
    +>>> sudo /etc/init.d/apache2 reload.
     
  8. 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
     
@@ -88,9 +83,9 @@ copying the file lib/ws-vacation-s

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.

-