diff --git a/doc/install/dolibarr-install-1.html b/doc/install/dolibarr-install-1.html
index 8943cb16e44..2848f15010f 100644
--- a/doc/install/dolibarr-install-1.html
+++ b/doc/install/dolibarr-install-1.html
@@ -84,7 +84,9 @@ commandes 'dolibarr' par le nom de votre base de données)
avec les sources, vous pouvez vous en servir pour configurer
votre serveur, il est prévu pour que vous ayez juste à ajouter
une régle Include dans votre fichier principal httpd.conf.
-
Utilisez le fichier httpd.conf.dist pour l'authentification par Pear (conseillé) et le fichier httpd.conf.dist.modauth pour utiliser mod-auth-mysql.
+
Utilisez le fichier httpd.conf.dist pour l'authentification par Pear
+(conseillé) et le fichier httpd.conf.dist.modauth pour utiliser
+mod-auth-mysql.
diff --git a/doc/install/dolibarr-install-2.html b/doc/install/dolibarr-install-2.html
index 7af0572a008..a5cb8356333 100644
--- a/doc/install/dolibarr-install-2.html
+++ b/doc/install/dolibarr-install-2.html
@@ -3,11 +3,12 @@
Dolibarr Installation: Mise à jour
+
-Page suivante
+Page suivantePage précédenteTable des matières
@@ -25,7 +26,7 @@ Page suivante
jour, comme la désactivation et la réactivation des modules. Cette
information est communiquée dans le fichier README à la racine des sources.
-Page suivante
+Page suivantePage précédenteTable des matières
diff --git a/doc/install/dolibarr-install.html b/doc/install/dolibarr-install.html
index a709d8c4f47..b78fe88365d 100644
--- a/doc/install/dolibarr-install.html
+++ b/doc/install/dolibarr-install.html
@@ -35,6 +35,14 @@ Table des mati
Page suivante
Page précédente
diff --git a/doc/install/dolibarr-install.pdf b/doc/install/dolibarr-install.pdf
index 20c7304bd6d..1be77426a94 100644
Binary files a/doc/install/dolibarr-install.pdf and b/doc/install/dolibarr-install.pdf differ
diff --git a/doc/install/dolibarr-install.sgml b/doc/install/dolibarr-install.sgml
index 677ab9de17c..caf8b548f42 100644
--- a/doc/install/dolibarr-install.sgml
+++ b/doc/install/dolibarr-install.sgml
@@ -109,7 +109,9 @@ Pour installer un paquet Pear, ex
-Utilisez le fichier httpd.conf.dist pour l'authentification par Pear (conseillé) et le fichier httpd.conf.dist.modauth pour utiliser mod-auth-mysql.
+Utilisez le fichier httpd.conf.dist pour l'authentification par Pear
+(conseillé) et le fichier httpd.conf.dist.modauth pour utiliser
+mod-auth-mysql.
@@ -173,6 +175,171 @@ information est communiqu
+
+Annexe A - Fichiers de conf Apache
+
+
+Fichier de config pour Apache 1.3
+
+
+
+
+
+
+Fichier de config pour Apache 1.3 + mod_auth_mysql
+
+
+ Cet exemple ne fonctionne pas sur la série Apache 2, voir le fichier correspond dans la section suivante.
+
+
+
+ #
+ # Sample httpd.conf for dolibarr
+ #
+ <VirtualHost dolibarr.lafrere.lan>
+ ServerAdmin webmaster.fr@lolix.org
+ DocumentRoot /home/www/dolibarr/dolibarr/htdocs
+ ServerName dolibarr.lafrere.lan
+ ErrorLog /home/www/dolibarr/logs/error.log
+ CustomLog /home/www/dolibarr/logs/access.log combined
+
+ ErrorDocument 401 /public/error-401.html
+
+ php_flag register_globals on
+
+ <Location />
+ Options Indexes FollowSymLinks
+ AllowOverride All
+ Order deny,allow
+ Deny from all
+
+ AuthType Basic
+
+ # N'utilisez la ligne suivante que si vous utilisez aussi
+ # le module d'authentification basé sur postgresql
+ #Auth_MySQL_Authoritative on
+
+ # Utilisez les lignes suivantes si le serveur Apache ne
+ # peut se logger en anonymous (ce qui est conseillé ;-)
+ # rq. erics: sur ma debian je n'ai pas le droit de mettre ces
+ # instructions dans un <virtualhost> ... (apache 1.3.27.0-2)
+ #AuthMySQL_DefaultHost <host>
+ #AuthMySQL_DefaultUser <user>
+ #AuthMySQL_DefaultPassword <pass>
+
+ Auth_MySQL_DB dolibarr
+ Auth_MySQL_Password_Table llx_user
+ Auth_MySQL_Username_Field login
+ Auth_MySQL_Password_Field pass
+
+ # Pour l'instant les pass sont enregistrés en clair
+ # le stockage crypté est dans la TODO
+
+ Auth_MySQL_Encrypted_Passwords off
+
+ AuthName "Dolibarr"
+
+ require valid-user
+ satisfy any
+ </Location>
+
+ <Location /public/>
+ Options Indexes FollowSymLinks
+ AllowOverride All
+ Order deny,allow
+ Allow from all
+ </Location>
+
+ </VirtualHost>
+
+
+
+
+
+Fichier de config pour Apache 2 + mod_auth_mysql + webmin
+
+
+
+
+ Options Indexes FollowSymLinks
+ AllowOverride All
+ Order deny,allow
+ Deny from all
+
+ AuthType Basic
+
+ # N'utilisez la ligne suivante que si vous utilisez aussi
+ # le module d'authentification basé sur postgresql
+ AuthMySQLAuthoritative on
+
+ # Utilisez les lignes suivantes si le serveur Apache ne
+ # peut se logger en anonymous (ce qui est conseillé ;-)
+ # rq. erics: sur ma debian je n'ai pas le droit de mettre ces
+ # instructions dans un <virtualhost> ... (apache 1.3.27.0-2)
+ #AuthMySQL_DefaultHost <host>
+ #AuthMySQL_DefaultUser <user>
+ #AuthMySQL_DefaultPassword <pass>
+
+ AuthMySQLHost localhost
+ AuthMySQLUser leDBuser
+ AuthMySQLPassword leDBpass
+ AuthMySQLDB dolibarr
+ AuthMySQLUserTable llx_user
+ AuthMySQLNameField login
+ AuthMySQLPasswordField pass
+
+ # Pour l'instant les pass sont enregistrés en clair
+ # le stockage crypté est dans la TODO
+ AuthMySQLCryptedPasswords off
+
+ AuthName "Dolibarr"
+
+ require valid-user
+ Satisfy any
+
+
+
+
+ Pour les gens qui installent Dolibarr dans un répertoire,
+ utilisez Webmin et ajoutez une "Per-Directory Options" à votre
+ serveur virtuel. Utilisez "Location" comme "Type" et "/dolibarr"
+ comme "Path". Une fois créée, editez les directives et copiez la
+ config ci-dessus, sauvez, restartez Apache et testez en allant à
+ domainname.com/dolibarr. Le navigateur va vous demander de taper
+ le login/pass.
+
+ Il faut créer des options pour chaque <Location> du fichier httpd.conf donné en exemple.
+
+
+
+ Merci à la personne qui m'a transmis ces infos, et aux précédentes qui avaient fait de même au sujet d'Apache 2
+
+
+
+
+
+
diff --git a/doc/install/dolibarr-install.txt b/doc/install/dolibarr-install.txt
index 8aafe013b64..0e59777888e 100644
--- a/doc/install/dolibarr-install.txt
+++ b/doc/install/dolibarr-install.txt
@@ -1,6 +1,6 @@
Dolibarr Installation
Rodolphe Quiédeville
- $Id: dolibarr-install.sgml,v 1.6 2003/08/30 23:11:01
+ $Id: dolibarr-install.sgml,v 1.7 2003/09/01 12:49:57
rodolphe Exp $
Installation et mise à jour de Dolibarr
@@ -21,6 +21,11 @@
2.1 Mise à jour de la base de données
2.2 Autres actions
+ 3. Annexe A - Fichiers de conf Apache
+ 3.1 Fichier de config pour Apache 1.3
+ 3.2 Fichier de config pour Apache 1.3 + mod_auth_mysql
+ 3.3 Fichier de config pour Apache 2 + mod_auth_mysql + webmin
+
______________________________________________________________________
@@ -59,11 +64,8 @@
Pear est un ensemble de classes et d'outils pour les installer et les
mettre à jour. Les classes requises pour Dolibarr sont (par ordre
d'installation) :
-
-
· Archive_Tar
-
· Console_Getopt
· PEAR
@@ -123,8 +125,6 @@
/install.php
-
-
, pour vous logger utlisez le login [1madmin [22mavec le mot de passe [1madmin[22m.
Si les contrôles sont corrects vous n'avez qu'à cliquer sur le lien,
@@ -163,5 +163,162 @@
information est communiquée dans le fichier README à la racine des
sources.
+ [1m3. Annexe A - Fichiers de conf Apache[0m
+
+ [1m3.1. Fichier de config pour Apache 1.3[0m
+
+ Exemple pour l'authentification avec Pear
+
+
+ ______________________________________________________________________
+ #
+ # Sample httpd.conf for dolibarr
+ #
+
+ ServerAdmin webmaster.fr@lolix.org
+ DocumentRoot /home/www/dolibarr/dolibarr/htdocs
+ ServerName dolibarr.lafrere.lan
+ ErrorLog /home/www/dolibarr/logs/error.log
+ CustomLog /home/www/dolibarr/logs/access.log combined
+
+ ErrorDocument 401 /public/error-401.html
+
+ php_flag register_globals on
+
+
+
+ ______________________________________________________________________
+
+
+
+ [1m3.2. Fichier de config pour Apache 1.3 + mod_auth_mysql[0m
+
+ Cet exemple ne fonctionne pas sur la série Apache 2, voir le fichier
+ correspond dans la section suivante.
+
+
+
+ ______________________________________________________________________
+ #
+ # Sample httpd.conf for dolibarr
+ #
+
+ ServerAdmin webmaster.fr@lolix.org
+ DocumentRoot /home/www/dolibarr/dolibarr/htdocs
+ ServerName dolibarr.lafrere.lan
+ ErrorLog /home/www/dolibarr/logs/error.log
+ CustomLog /home/www/dolibarr/logs/access.log combined
+
+ ErrorDocument 401 /public/error-401.html
+
+ php_flag register_globals on
+
+
+ Options Indexes FollowSymLinks
+ AllowOverride All
+ Order deny,allow
+ Deny from all
+
+ AuthType Basic
+
+ # N'utilisez la ligne suivante que si vous utilisez aussi
+ # le module d'authentification basé sur postgresql
+ #Auth_MySQL_Authoritative on
+
+ # Utilisez les lignes suivantes si le serveur Apache ne
+ # peut se logger en anonymous (ce qui est conseillé ;-)
+ # rq. erics: sur ma debian je n'ai pas le droit de mettre ces
+ # instructions dans un ... (apache 1.3.27.0-2)
+ #AuthMySQL_DefaultHost
+ #AuthMySQL_DefaultUser
+ #AuthMySQL_DefaultPassword
+
+ Auth_MySQL_DB dolibarr
+ Auth_MySQL_Password_Table llx_user
+ Auth_MySQL_Username_Field login
+ Auth_MySQL_Password_Field pass
+
+ # Pour l'instant les pass sont enregistrés en clair
+ # le stockage crypté est dans la TODO
+
+ Auth_MySQL_Encrypted_Passwords off
+
+ AuthName "Dolibarr"
+
+ require valid-user
+ satisfy any
+
+
+
+ Options Indexes FollowSymLinks
+ AllowOverride All
+ Order deny,allow
+ Allow from all
+
+
+
+
+ ______________________________________________________________________
+
+
+
+ [1m3.3. Fichier de config pour Apache 2 + mod_auth_mysql + webmin[0m
+
+
+
+ ______________________________________________________________________
+ Options Indexes FollowSymLinks
+ AllowOverride All
+ Order deny,allow
+ Deny from all
+
+ AuthType Basic
+
+ # N'utilisez la ligne suivante que si vous utilisez aussi
+ # le module d'authentification basé sur postgresql
+ AuthMySQLAuthoritative on
+
+ # Utilisez les lignes suivantes si le serveur Apache ne
+ # peut se logger en anonymous (ce qui est conseillé ;-)
+ # rq. erics: sur ma debian je n'ai pas le droit de mettre ces
+ # instructions dans un ... (apache 1.3.27.0-2)
+ #AuthMySQL_DefaultHost
+ #AuthMySQL_DefaultUser
+ #AuthMySQL_DefaultPassword
+
+ AuthMySQLHost localhost
+ AuthMySQLUser leDBuser
+ AuthMySQLPassword leDBpass
+ AuthMySQLDB dolibarr
+ AuthMySQLUserTable llx_user
+ AuthMySQLNameField login
+ AuthMySQLPasswordField pass
+
+ # Pour l'instant les pass sont enregistrés en clair
+ # le stockage crypté est dans la TODO
+ AuthMySQLCryptedPasswords off
+
+ AuthName "Dolibarr"
+
+ require valid-user
+ Satisfy any
+
+ ______________________________________________________________________
+
+
+
+ Pour les gens qui installent Dolibarr dans un répertoire, utilisez
+ Webmin et ajoutez une "Per-Directory Options" à votre serveur virtuel.
+ Utilisez "Location" comme "Type" et "/dolibarr" comme "Path". Une fois
+ créée, editez les directives et copiez la config ci-dessus, sauvez,
+ restartez Apache et testez en allant à domainname.com/dolibarr. Le
+ navigateur va vous demander de taper le login/pass.
+
+ Il faut créer des options pour chaque du fichier httpd.conf
+ donné en exemple.
+
+ Merci à la personne qui m'a transmis ces infos, et aux précédentes qui
+ avaient fait de même au sujet d'Apache 2
+