Commit 62c2d2f8 authored by Karamel's avatar Karamel
Browse files

Add AllowEncodedSlashes notice to configure Apache.

parent ce7bb0b8
...@@ -107,12 +107,13 @@ Archives are not generated from http requests as they would probably not fit in ...@@ -107,12 +107,13 @@ Archives are not generated from http requests as they would probably not fit in
##### Apache ##### Apache
Make your web server point to `/src/http/public` and for apache. Make sure `AllowOverride All` is set for this directory for the `.htaccess` in there to work. In your site-enabled config file put: Make your web server point to `/src/http/public`. Make sure `AllowOverride All` is set for this directory for the `.htaccess` in there to work. To be able to accept references with `/` inside them, allow encoded urls. In your site-enabled config file under `VirtualHost` put:
~~~ ~~~
<Directory /path/to/pasteque/src/http/public> <Directory /path/to/pasteque/src/http/public>
AllowOverride All AllowOverride All
</Directory> </Directory>
AllowEncodedSlashes NoDecode
~~~ ~~~
Also check that the rewrite mod is enabled, it should be listed in the `mods-enabled` directory of your Apache server. Also check that the rewrite mod is enabled, it should be listed in the `mods-enabled` directory of your Apache server.
......
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