README: Update apache configuration
Allow apache to use encoded slashes Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
This commit is contained in:
parent
9e9b158057
commit
2864ae1731
1 changed files with 2 additions and 0 deletions
|
|
@ -216,6 +216,8 @@ AddHandler cgi-script .py
|
|||
# To enable REST api after installing mod_wsgi: Fill path and uncomment:
|
||||
#WSGIScriptAlias /api /usr/local/elixir/api/api.py
|
||||
|
||||
AllowEncodedSlashes On
|
||||
|
||||
RewriteEngine on
|
||||
RewriteRule "^/$" "/linux/latest/source" [R]
|
||||
RewriteRule "^/(?!api).*/(source|ident|search)" "/web.py" [PT]
|
||||
|
|
|
|||
Loading…
Reference in a new issue