From 664e77bef2a891e0c5ed834360bba2327298b850 Mon Sep 17 00:00:00 2001 From: btatu Date: Tue, 7 Jun 2022 10:55:18 +0200 Subject: [PATCH] ajout directive pour support du cgi dans apache --- HowtoDUC.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/HowtoDUC.md b/HowtoDUC.md index fe9c3fab..33b4e952 100644 --- a/HowtoDUC.md +++ b/HowtoDUC.md @@ -132,7 +132,16 @@ Il suffit de créer ce script sh dans `/usr/lib/cgi-bin/duc.cgi`, de donner les # chgrp www-data /var/cache/duc.idx ~~~ -Il faudra ensuite utiliser un serveur Web comme [HowtoApache](Apache) pour y accéder. +Il faudra ensuite utiliser un serveur Web comme [HowtoApache](Apache) pour y accéder en ajoutant ces directives : + +~~~ +ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ + + AllowOverride None + Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch + +ScriptAlias /duc /usr/lib/cgi-bin/duc.cgi +~~~ ### Plomberie