Rozdiely pre Metafox/.htaccess medzi verziami 1.2 a 1.3
verzia 1.2, 2013/09/02 12:46:38 |
verzia 1.3, 2014/01/09 10:52:11 |
Riadok 20 RewriteEngine on |
|
Riadok 20 RewriteEngine on |
|
RewriteRule (^rss2.xml$) ?ezin_template_key=rss2 [L] |
RewriteRule (^rss2.xml$) ?ezin_template_key=rss2 [L] |
RewriteRule (^sitemap.xml$) ?ezin_template_key=sitemap [L] |
RewriteRule (^sitemap.xml$) ?ezin_template_key=sitemap [L] |
RewriteRule (^(admin|libpub|themes|upload)/.*) $1 [L] |
RewriteRule (^(admin|libpub|themes|upload)/.*) $1 [L] |
|
|
|
RewriteRule (^[a-zA-Z]*\.php.*) rewrite.php?link=$1&%{QUERY_STRING} [L] |
|
|
|
# If the request is for a valid directory |
|
RewriteCond %{REQUEST_FILENAME} -d [OR] |
|
# If the request is for a valid file |
|
RewriteCond %{REQUEST_FILENAME} -f [OR] |
|
# If the request is for a valid link |
|
RewriteCond %{REQUEST_FILENAME} -l |
|
## don't do anything |
|
RewriteRule ^ - [L] |
|
|
RewriteRule (.*) rewrite.php?link=$1&%{QUERY_STRING} |
RewriteRule (.*) rewrite.php?link=$1&%{QUERY_STRING} |
Platon Group <platon@platon.sk> http://platon.sk/
|
|