You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
1.6 KiB

10 years ago
10 years ago
  1. Quill
  2. =====
  3. Work in progress. Do not use!
  4. https://quill.p3k.io/
  5. ### Web Server Configuration
  6. Set the document root to the "public" folder of this repo, and ensure all requests are routed through `public/index.php` if they don't match a file.
  7. #### nginx
  8. ```
  9. server {
  10. listen 80;
  11. server_name quill.dev;
  12. root /path/to/Quill/public;
  13. error_log logs/quill.error.log notice;
  14. try_files $uri /index.php?$args;
  15. location /index.php {
  16. fastcgi_pass php-pool;
  17. fastcgi_index index.php;
  18. include fastcgi_params;
  19. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  20. }
  21. }
  22. ```
  23. #### Apache htaccess
  24. ```
  25. RewriteEngine on
  26. RewriteBase /
  27. RewriteCond %{REQUEST_FILENAME} !-f
  28. RewriteCond %{REQUEST_FILENAME} !-d
  29. RewriteCond %{REQUEST_URI} !=/favicon.ico
  30. RewriteRule ^ index.php [L]
  31. ```
  32. ### Contributing
  33. By submitting code to this project, you agree to irrevocably release it under the same license as this project.
  34. ### Credits
  35. Quill icon designed by [Juan Pablo Bravo from the Noun Project](http://thenounproject.com/term/quill/17013/).
  36. ### License
  37. Copyright 2013 by Aaron Parecki
  38. Licensed under the Apache License, Version 2.0 (the "License");
  39. you may not use this file except in compliance with the License.
  40. You may obtain a copy of the License at
  41. http://www.apache.org/licenses/LICENSE-2.0
  42. Unless required by applicable law or agreed to in writing, software
  43. distributed under the License is distributed on an "AS IS" BASIS,
  44. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  45. See the License for the specific language governing permissions and
  46. limitations under the License.