Brez htaccessa zadeva ne deluje

This commit is contained in:
May Doušak 2022-11-14 11:59:40 +01:00
parent 79fc5b7b02
commit a9094dd0a0

19
.htaccess Normal file
View File

@ -0,0 +1,19 @@
RewriteEngine on
RewriteRule ^index.php\b(.*) frontend/simple/index.php?%{QUERY_STRING}
## API
RewriteRule ^api/(.*)/survey/([0-9]+)$ admin/survey/api/api.php?action=$1&ank_id=$2 [QSA,NC,L]
RewriteRule ^api/(.*)$ admin/survey/api/api.php?action=$1 [QSA,NC,L]
## Rewriti za razne module, delovanje anket...
RewriteRule ^sa$ index_sa_anketa.php
RewriteRule ^koda/(.*) main/survey/sa_koda.php?%{QUERY_STRING}
RewriteRule ^a/(.*) main/survey/index.php?anketa=$1&%{QUERY_STRING}
RewriteRule ^podatki/(.*?[^/])/(.*[^/])? admin/survey/public.php?anketa=$1&urlhash=$2&%{QUERY_STRING}
RewriteRule ^admin/survey/minify/([a-z]=.*) admin/survey/minify/index.php?$1 [L,NE]