Commit fa5f0148 authored by Karamel's avatar Karamel
Browse files

Add some details in the Apache configuration and about debug in the config file.

parent 72af3eaa
......@@ -74,7 +74,15 @@ To initialize the database, use the sql scripts in `res/database/<type>/schema.s
##### 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.
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:
~~~
<Directory /path/to/pasteque/src/http/public>
AllowOverride All
</Directory>
~~~
Also check that the rewrite mod is enabled, it should be listed in the `mods-enabled` directory of your Apache server.
You should now call an API: `http(s)://<url_to_pasteque>/api/<route>`
......
......@@ -85,6 +85,8 @@ thumbnail/jpeg/quality = 50
log_level = "WARNING"
; Uncomment to add an other log directory. System log is still enabled.
;log_dir = "/var/log/pasteque"
; Set to true to ease the development process,
; display errors, disable caching, auto-generate proxies for Doctrine and such.
debug = false
; Server mode
......
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