dot.htaccess 932 B

12345678910111213141516171819202122232425262728293031
  1. # If on a testing site, deny by default unless IP is allowed
  2. SetEnvIf Host "apidev" ACCESS_CONTROL
  3. SetEnvIf Host "syncdev" ACCESS_CONTROL
  4. ####### Local
  5. SetEnvIf X-Forwarded-For "192.168.1.|" !ACCESS_CONTROL
  6. order deny,allow
  7. deny from env=ACCESS_CONTROL
  8. #php_flag zlib.output_compression On
  9. #php_value zlib.output_compression_level 5
  10. php_value short_open_tag 1
  11. php_value include_path "../include"
  12. php_value auto_prepend_file "header.inc.php"
  13. php_value auto_append_file "footer.inc.php"
  14. php_value memory_limit 500M
  15. #php_value xdebug.show_local_vars 1
  16. #php_value xdebug.profiler_enable 1
  17. #php_value xdebug.profiler_enable_trigger 1
  18. #php_value xdebug.profiler_output_dir /tmp/xdebug
  19. RewriteEngine On
  20. # If file or directory doesn't exist, pass to director for MVC redirections
  21. RewriteCond %{SCRIPT_FILENAME} !-f
  22. RewriteCond %{SCRIPT_FILENAME} !-d
  23. RewriteCond %{REQUEST_URI} !^/zotero
  24. RewriteRule .* index.php [L]