massimopasquali Posted August 23, 2016 Share Posted August 23, 2016 Hello,I have made a new bit step, now I have the .htaccesss and if I test on my ubuntu 16 server it told me that the rewrite module is active, but keeps giving me error. this is my .htaccess, have you any suggest to give me? thanks in advanceOrder deny,allowDeny from allRewriteEngine on# ~~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: www.cimminob2b.comRewriteRule . - [E=REWRITEBASE:/]RewriteRule ^api$ api/ [L]RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]# AlphaImageLoader for IE and fancyboxRewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]</IfModule>AddType application/vnd.ms-fontobject .eotAddType font/ttf .ttfAddType font/otf .otfAddType 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 enabledErrorDocument 404 /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 Link to comment Share on other sites More sharing options...
vekia Posted August 24, 2016 Share Posted August 24, 2016 but keeps giving me error. what error? what is the error code? Link to comment Share on other sites More sharing options...
massimopasquali Posted July 28, 2017 Author Share Posted July 28, 2017 HI Vekia,I had have installed a test enviroment on my pc windows, so I used to configure my IIS.My peoblem is that my IIS doesn't rewrite the url correctly.test.fni.com/it/ (correct url)test.fni.comit ( wrong url ) -> http://test.fni.comit/pagina-non-trovata?controllerUri=pagenotfoundcan you suggest me like to solved Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now