daily pastebin goal
4%
SHARE
TWEET

Untitled

a guest May 31st, 2012 21 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
  2. # WARNING: PLEASE DO NOT MODIFY THIS FILE MANUALLY. IF NECESSARY, ADD YOUR SPECIFIC CONFIGURATION WITH THE HTACCESS GENERATOR IN BACK OFFICE
  3. # http://www.prestashop.com - http://www.prestashop.com/forums
  4.  
  5.  
  6.  
  7. <IfModule mod_rewrite.c>
  8. # URL rewriting module activation
  9. RewriteEngine on
  10. RewriteCond %{HTTP_HOST} ^test.dk [NC]
  11. RewriteRule ^(.*)$ http://www.test.dk/$1 [L,R=301]
  12.  
  13. # URL rewriting rules
  14. RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1-$2$3.jpg [L]
  15. RewriteRule ^([0-9]+)\-([0-9]+)/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1-$2.jpg [L]
  16. RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$1$2.jpg [L]
  17. RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$1$2$3.jpg [L]
  18. RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$1$2$3$4.jpg [L]
  19. RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$1$2$3$4$5.jpg [L]
  20. RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6.jpg [L]
  21. RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7.jpg [L]
  22. RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8.jpg [L]
  23. RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9.jpg [L]
  24. RewriteRule ^c/([0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /img/c/$1$2.jpg [L]
  25. RewriteRule ^c/([a-zA-Z-]+)/[a-zA-Z0-9-]+\.jpg$ /img/c/$1.jpg [L]
  26. RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/[_a-zA-Z0-9-]*\.jpg$ /img/c/$1$2.jpg [L]
  27. RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]*\.html /product.php?id_product=$1 [QSA,L]
  28. RewriteRule ^[a-zA-Z0-9-]*/([0-9]+)\-[a-zA-Z0-9-]*\.html /product.php?id_product=$1 [QSA,L]
  29. RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]*(/[a-zA-Z0-9-]*)+ /category.php?id_category=$1&noredirect=1 [QSA,L]
  30. RewriteRule ^([0-9]+)\-[a-zA-Z0-9-]* /category.php?id_category=$1 [QSA,L]
  31. RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*) /supplier.php?id_supplier=$1 [QSA,L]
  32. RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*) /manufacturer.php?id_manufacturer=$1 [QSA,L]
  33. RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*) /cms.php?id_cms=$1 [QSA,L]
  34. RewriteRule ^content/category/([0-9]+)\-([a-zA-Z0-9-]*) /cms.php?id_cms_category=$1 [QSA,L]
  35. RewriteRule ^page-not-found$ /404.php [QSA,L]
  36. RewriteRule ^address$ /address.php [QSA,L]
  37. RewriteRule ^addresses$ /addresses.php [QSA,L]
  38. RewriteRule ^authentication$ /authentication.php [QSA,L]
  39. RewriteRule ^best-sales$ /best-sales.php [QSA,L]
  40. RewriteRule ^cart$ /cart.php [QSA,L]
  41. RewriteRule ^contact-us$ /contact-form.php [QSA,L]
  42. RewriteRule ^discount$ /discount.php [QSA,L]
  43. RewriteRule ^guest-tracking$ /guest-tracking.php [QSA,L]
  44. RewriteRule ^order-history$ /history.php [QSA,L]
  45. RewriteRule ^identity$ /identity.php [QSA,L]
  46. RewriteRule ^manufacturers$ /manufacturer.php [QSA,L]
  47. RewriteRule ^my-account$ /my-account.php [QSA,L]
  48. RewriteRule ^new-products$ /new-products.php [QSA,L]
  49. RewriteRule ^order$ /order.php [QSA,L]
  50. RewriteRule ^order-follow$ /order-follow.php [QSA,L]
  51. RewriteRule ^quick-order$ /order-opc.php [QSA,L]
  52. RewriteRule ^order-slip$ /order-slip.php [QSA,L]
  53. RewriteRule ^password-recovery$ /password.php [QSA,L]
  54. RewriteRule ^prices-drop$ /prices-drop.php [QSA,L]
  55. RewriteRule ^search$ /search.php [QSA,L]
  56. RewriteRule ^sitemap$ /sitemap.php [QSA,L]
  57. RewriteRule ^stores$ /stores.php [QSA,L]
  58. RewriteRule ^supplier$ /supplier.php [QSA,L]
  59. </IfModule>
  60.  
  61. # Catch 404 errors
  62. ErrorDocument 404 /404.php
  63.  
  64. <IfModule mod_expires.c>
  65.         ExpiresActive On
  66.         ExpiresByType image/gif "access plus 1 month"
  67.         ExpiresByType image/jpeg "access plus 1 month"
  68.         ExpiresByType image/png "access plus 1 month"
  69.         ExpiresByType text/css "access plus 1 week"
  70.         ExpiresByType text/javascript "access plus 1 week"
  71.         ExpiresByType application/javascript "access plus 1 week"
  72.         ExpiresByType application/x-javascript "access plus 1 week"
  73.         ExpiresByType image/x-icon "access plus 1 year"
  74. </IfModule>
  75.  
  76. FileETag INode MTime Size
  77. <IfModule mod_deflate.c>
  78.         AddOutputFilterByType DEFLATE text/html
  79.         AddOutputFilterByType DEFLATE text/css
  80.         AddOutputFilterByType DEFLATE text/javascript
  81.         AddOutputFilterByType DEFLATE application/javascript
  82.         AddOutputFilterByType DEFLATE application/x-javascript
  83. </IfModule>
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top