Selaa lähdekoodia

fix for page reloads

rajah 5 kuukautta sitten
vanhempi
commit
2d379c785f
1 muutettua tiedostoa jossa 12 lisäystä ja 0 poistoa
  1. 12 0
      deploy/subfolder/.htaccess

+ 12 - 0
deploy/subfolder/.htaccess

@@ -0,0 +1,12 @@
+<IfModule mod_rewrite.c>
+
+  RewriteEngine On
+
+  RewriteCond %{REQUEST_FILENAME} -s [OR]
+  RewriteCond %{REQUEST_FILENAME} -l [OR]
+  RewriteCond %{REQUEST_FILENAME} -d
+  RewriteRule ^.*$ - [NC,L]
+
+  RewriteRule ^(.*) /demovote/index.html [NC,L]
+
+</IfModule>