summaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorAnton Šijanec <sijanecantonluka@gmail.com>2019-01-21 21:46:39 +0100
committerGitHub <noreply@github.com>2019-01-21 21:46:39 +0100
commit55b5860246de34d292b0a37e047c37be2fed5b31 (patch)
tree030831aaba100aeca806da09939b0dee2a77524b /.htaccess
parentPublished index.php (main program) (diff)
downloadbalkan-shortlink-55b5860246de34d292b0a37e047c37be2fed5b31.tar
balkan-shortlink-55b5860246de34d292b0a37e047c37be2fed5b31.tar.gz
balkan-shortlink-55b5860246de34d292b0a37e047c37be2fed5b31.tar.bz2
balkan-shortlink-55b5860246de34d292b0a37e047c37be2fed5b31.tar.lz
balkan-shortlink-55b5860246de34d292b0a37e047c37be2fed5b31.tar.xz
balkan-shortlink-55b5860246de34d292b0a37e047c37be2fed5b31.tar.zst
balkan-shortlink-55b5860246de34d292b0a37e047c37be2fed5b31.zip
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess5
1 files changed, 5 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 0000000..7eb36e1
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,5 @@
+# .htaccess bi se moral generirati avtomatsko, če se ne, je tukaj. Daj ga zraven index.php
+RewriteEngine on
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteRule ^(.*)$ /index.php?r=$1 [NC,L,QSA]