valerius77 Posted January 7, 2014 Share Posted January 7, 2014 Salve a tutti, nella vecchia versione 1.4.x di PS il rewriting funzionava bene. Ora ho installato PS 1.5.6.1 e non mi funziona correttamente la riscrittura. Posto i dati del setup ed il file .htaccess Informazioni sul serverInformazioni sul server: Linux #1 SMP Fri Jan 3 21:39:27 UTC 2014 x86_64 Versione software server: Apache Versione di PHP: 5.5.7 Limite memoria: 128M Tempo di esecuzione massimo: 60 Informazioni datatbaseVersione di MySQL: 5.6.15-log Motore MySQL: InnoDB Prefisso tabelle: psp_ Informazioni sul tuo negozioVersione di PrestaShop: 1.5.6.1 URL del negozio: http://ecommerce.itcloud.it/ Nome del tema utilizzato: default .HTACCESS generato da PS # ~~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_security.c>SecFilterEngine OffSecFilterScanPOST Off</IfModule><IfModule mod_rewrite.c><IfModule mod_env.c>SetEnv HTTP_MOD_REWRITE On</IfModule># Disable MultiviewsOptions -MultiviewsRewriteEngine onRewriteCond %{HTTP_HOST} ^ecommerce.itcloud.it$RewriteRule . - [E=REWRITEBASE:/]RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]# AlphaImageLoader for IE and fancyboxRewriteCond %{HTTP_HOST} ^ecommerce.itcloud.it$RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]</IfModule><IfModule mod_expires.c> ExpiresActive On ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType text/css "access plus 1 week" ExpiresByType text/javascript "access plus 1 week" ExpiresByType application/javascript "access plus 1 week" ExpiresByType application/x-javascript "access plus 1 week" ExpiresByType image/x-icon "access plus 1 year"</IfModule>FileETag INode MTime Size<IfModule mod_deflate.c> <IfModule mod_filter.c> AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript application/x-javascript </IfModule></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...
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