ajout directive pour support du cgi dans apache
This commit is contained in:
parent
59016f9ced
commit
664e77bef2
11
HowtoDUC.md
11
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
|
# 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/
|
||||||
|
<Directory "/usr/lib/cgi-bin">
|
||||||
|
AllowOverride None
|
||||||
|
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
|
||||||
|
</Directory>
|
||||||
|
ScriptAlias /duc /usr/lib/cgi-bin/duc.cgi
|
||||||
|
~~~
|
||||||
|
|
||||||
### Plomberie
|
### Plomberie
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue