Nicolassouffleur/walkstashop/master/.htaccess - Htaccess File

Nicolassouffleur/walkstashop/master/.htaccess

# ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
# http://www.prestashop.com - http://www.prestashop.com/forums

<IfModule mod_rewrite.c>
<IfModule mod_env.c>
SetEnv HTTP_MOD_REWRITE On
</IfModule>

RewriteEngine on

#Domain: 164.132.103.70
RewriteRule . - [E=REWRITEBASE:/walkstashop/]
RewriteRule ^api$ api/ [L]

RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]

# AlphaImageLoader for IE and fancybox
RewriteRule ^images_ie/?([^/]+).(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]
</IfModule>

AddType application/vnd.ms-fontobject .eot
AddType font/ttf .ttf
AddType font/otf .otf
AddType application/x-font-woff .woff
<IfModule mod_headers.c>
  <FilesMatch ".(ttf|ttc|otf|eot|woff|svg)$">
    Header add Access-Control-Allow-Origin "*"
  </FilesMatch>
</IfModule>

#If rewrite mod isn't enabled
ErrorDocument 404 /walkstashop/index.php?controller=404

# ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again

On Github License

Files

Download PDF of Htaccess file
ENV, REWRITEBASE

Comments

Apache