Commit 01ee0552 authored by Romain Loth's avatar Romain Loth

update doc

parent 82b44e27
......@@ -12,40 +12,3 @@ chmod 754 cgi-bin/* # <=> u+rwx, g+rx, o+r
chmod 774 data
chmod 774 data/registered.db # <=> u+rwx, g+rwx, o+r
```
#### Required apache mod
```
sudo a2enmod cgi # <= needed for cgi
```
#### Expected apache conf
```
Alias /comex-reg "/home/rloth/comex/regcomex"
# for main directory
<Directory "/home/rloth/comex/regcomex">
# no dir listing, but allow symlinks
Options -Indexes +FollowSymLinks
# no htaccess
AllowOverride None
# directive's conflict resolution (last one prevails)
Order allow,deny
# which IPs can access
Allow from all # old but necessary on tina 2016-11
Require all granted # new but insufficient --- // ---
</Directory>
# for cgi directory
ScriptAlias /cgi-bin/ "/home/rloth/comex/regcomex/cgi-bin/"
<Directory "/home/rloth/comex/regcomex/cgi-bin">
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AddHandler cgi-script .cgi .pl .py
AllowOverride None
Require all granted
</Directory>
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment