20 lines
724 B
ApacheConf
20 lines
724 B
ApacheConf
|
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]
|
||
|
|
||
|
|
||
|
|
||
|
|