Goldmaverick Posted July 27, 2008 Share Posted July 27, 2008 Prestashop team,Please provide me with the ideal php.ini and .htaccess file contents so that I can simply copy and paste these in to my servers.I definitely need it. Link to comment Share on other sites More sharing options...
Daniel Posted July 27, 2008 Share Posted July 27, 2008 I'm not the prestashop team, but I might be able to help still!I'm hosted with 1and1 and have had to jump through several hoops to get things working:.htaccess: AddType x-mapp-php5 .php # URL rewriting module activation RewriteEngine on RewriteBase / # URL rewriting rules RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$1$3 [L,E] RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ category.php?id_category=$1$3 [L,E] RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ supplier.php?id_supplier=$1$3 [L,E] RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ manufacturer.php?id_manufacturer=$1$3 [L,E] # Catch 404 errors ErrorDocument 404 /404.php And my php.ini: allow_url_fopen=On allow_url_include=On I hope this works for you!I still can't get URL rewriting working, even though I've made all the changes to my .htaccess files!Dan Link to comment Share on other sites More sharing options...
Goldmaverick Posted July 28, 2008 Author Share Posted July 28, 2008 thank you. Link to comment Share on other sites More sharing options...
sk15kev Posted October 12, 2009 Share Posted October 12, 2009 Thank you Daniel, I am also on 1&1;and the error page line is a big help. Link to comment Share on other sites More sharing options...
Recommended Posts