# digraph-project-core/files/htaccess => web/.htaccess

# rewriting to redirect urls to digraph
<IfModule mod_rewrite.c>
  DirectoryIndex index.html index.php
  RewriteEngine on
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME}/index.html !-f
  RewriteRule ^([^?]*)$ index.php?digraph_url=$1 [NC,L,QSA]
</IfModule>
