73 lines
3.6 KiB
Plaintext
73 lines
3.6 KiB
Plaintext
RewriteEngine On
|
|
RewriteBase /
|
|
Options +FollowSymlinks
|
|
Options -Indexes
|
|
|
|
{REDIRECT}
|
|
|
|
ErrorDocument 404 /404.html
|
|
|
|
RewriteCond %{REQUEST_URI} !^(.*)/libraries/(.*) [NC]
|
|
RewriteCond %{REQUEST_URI} !^(.*)/layout/(.*) [NC]
|
|
RewriteRule ^admin/([^/]*)/([^/]*)/(.*)$ admin/index.php?module=$1&action=$2&$3 [L]
|
|
|
|
RewriteRule ^admin/$ admin/index.php [L]
|
|
|
|
RewriteRule ^wyszukiwarka/(.*)/([0-9]*)$ index.php?module=search&action=search_results&query=$1&bs=$2 [L]
|
|
RewriteRule ^wyszukiwarka/(.*)$ index.php?module=search&action=search_results&query=$1&bs=1 [L]
|
|
RewriteRule ^zamowienie/([a-zA-Z0-9-]*)$ index.php?module=shop_order&action=order_details&order_hash=$1 [L]
|
|
RewriteRule ^potwierdzenie-platnosci/([a-zA-Z0-9-]*)$ index.php?module=shop_order&action=payment_confirmation&order_hash=$1 [L]
|
|
RewriteRule ^tpay-status$ index.php?module=shop_order&action=payment_status_tpay%{QUERY_STRING} [L]
|
|
RewriteRule ^platnosc-status$ index.php?module=shop_order&action=payment_status_hotpay%{QUERY_STRING} [L]
|
|
RewriteRule ^przelewy24-status$ index.php?module=shop_order&action=payment_status_przelewy24pl%{QUERY_STRING} [L]
|
|
RewriteRule ^koszyk$ index.php?module=shop_basket&action=main_view [L]
|
|
RewriteRule ^koszyk-podsumowanie$ index.php?module=shop_basket&action=summary_view [L]
|
|
RewriteRule ^zloz-zamowienie$ index.php?module=shop_basket&action=basket_save [L]
|
|
RewriteRule ^rejestracja$ index.php?module=shop_client&action=register_form [L]
|
|
RewriteRule ^logowanie$ index.php?module=shop_client&action=login_form [L]
|
|
RewriteRule ^wylogowanie$ index.php?module=shop_client&action=logout [L]
|
|
RewriteRule ^odzyskiwanie-hasla$ index.php?module=shop_client&action=recover_password [L]
|
|
RewriteRule ^panel-klienta/zamowienia$ index.php?module=shop_client&action=client_orders [L]
|
|
RewriteRule ^panel-klienta/adresy$ index.php?module=shop_client&action=client_addresses [L]
|
|
RewriteRule ^panel-klienta/nowy-adres$ index.php?module=shop_client&action=address_edit [L]
|
|
RewriteRule ^panel-klienta/edytuj-adres/([0-9]*)$ index.php?module=shop_client&action=address_edit&id=$1 [L]
|
|
RewriteRule ^panel-klienta/usun-adres/([0-9]*)$ index.php?module=shop_client&action=address_delete&id=$1 [L]
|
|
RewriteRule ^thumb/([0-9]*)/([0-9]*)/(.*)$ /libraries/thumb.php?img=$3&w=$1&h=$2 [L]
|
|
|
|
RewriteCond %{REQUEST_URI} ^/shopBasket/(.*)/(.*) [NC]
|
|
RewriteRule ^([^/]*)/([^/]*)/(.*)$ index.php?module=$1&action=$2&$3 [L]
|
|
RewriteCond %{REQUEST_URI} ^/shopClient/(.*)/(.*) [NC]
|
|
RewriteRule ^([^/]*)/([^/]*)/(.*)$ index.php?module=$1&action=$2&$3 [L]
|
|
RewriteCond %{REQUEST_URI} ^/shopProduct/(.*)/(.*) [NC]
|
|
RewriteRule ^([^/]*)/([^/]*)/(.*)$ index.php?module=$1&action=$2&$3 [L]
|
|
RewriteCond %{REQUEST_URI} ^/shopCoupon/(.*)/(.*) [NC]
|
|
RewriteRule ^([^/]*)/([^/]*)/(.*)$ index.php?module=$1&action=$2&$3 [L]
|
|
RewriteCond %{REQUEST_URI} ^/search/(.*)/(.*) [NC]
|
|
RewriteRule ^([^/]*)/([^/]*)/(.*)$ index.php?module=$1&action=$2&$3 [L]
|
|
|
|
RewriteCond %{REQUEST_URI} ^/shopBasket/(.*) [NC]
|
|
RewriteRule ^([^/]*)/([^/]*)$ index.php?module=$1&action=$2 [L]
|
|
RewriteCond %{REQUEST_URI} ^/shopClient/(.*) [NC]
|
|
RewriteRule ^([^/]*)/([^/]*)$ index.php?module=$1&action=$2 [L]
|
|
RewriteCond %{REQUEST_URI} ^/shopProduct/(.*) [NC]
|
|
RewriteRule ^([^/]*)/([^/]*)$ index.php?module=$1&action=$2 [L]
|
|
RewriteCond %{REQUEST_URI} ^/shopCoupon/(.*) [NC]
|
|
RewriteRule ^([^/]*)/([^/]*)$ index.php?module=$1&action=$2 [L]
|
|
RewriteCond %{REQUEST_URI} ^/search/(.*) [NC]
|
|
RewriteRule ^([^/]*)/([^/]*)$ index.php?module=$1&action=$2 [L]
|
|
|
|
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index.php
|
|
RewriteRule ^ /%1 [R=301,L]
|
|
{HTACCESS_CACHE}
|
|
<Files *.conf>
|
|
Order Deny,Allow
|
|
Deny from all
|
|
</Files>
|
|
<Files *.log>
|
|
Order Deny,Allow
|
|
Deny from all
|
|
</Files>
|
|
<Files *.ini>
|
|
Order Deny,Allow
|
|
Deny from all
|
|
</Files> |