diff --git a/htdocs/public/error.html b/htdocs/public/error-404.php3
similarity index 60%
rename from htdocs/public/error.html
rename to htdocs/public/error-404.php3
index 9630573f7da..35d7aa17157 100644
--- a/htdocs/public/error.html
+++ b/htdocs/public/error-404.php3
@@ -5,13 +5,11 @@
- Erreur
+ Erreur 404
- Le login ou le mot de passe que vous avez saisi est erroné, si vous souhaitez tester le site utiliser les login et mot de passe suivant :
-
- - login : demo
-
- pass : demo
-
+La page demandée n'existe pas :
+
+
Vous venez de !
diff --git a/htdocs/public/index.html b/htdocs/public/index.html
new file mode 100644
index 00000000000..4cb69726f60
--- /dev/null
+++ b/htdocs/public/index.html
@@ -0,0 +1,19 @@
+
+
+
+ Dolibarr
+
+
+
+ Public
+
+
+
+
+
+
+
+Last modified: Mon Jun 24 13:51:51 CEST 2002
+
+
+
diff --git a/httpd.conf b/httpd.conf
index e63b315e13b..fa863aa9be1 100644
--- a/httpd.conf
+++ b/httpd.conf
@@ -12,6 +12,7 @@
ErrorLog /spare/home/www/dolibarr/logs/error.log
CustomLog /spare/home/www/dolibarr/logs/access.log combined
+ ErrorDocument 401 /public/error-401.html
Options Indexes FollowSymLinks