uddhava Posted March 31, 2010 Share Posted March 31, 2010 I was trying to install Prestashop on my domain in a subdir called "shop".In the root i have a wordpress blog installed, with some increased security (AskApache plugin).AskApache puts a few rewrite conditions in the .htaccess, therefore limiting the change of being hacked.BUT, it messes also with any other subdir in your root filesystem.And therefore Prestashop will not be able to continue the installer after step 4.The uploading of the logo will not work (it will stay blank) and when you click continuethen nothing happens. (with or without the email notifications checked).I looked into the .htaccess and added an execption to the URL Rewrite code for this subdir,and voila!! it worked.... Go figure ;-)So, if you are running Wordpress with strict security measures (and who isn't?)then watch out.Here you can see an excerpt from the .htaccess code: # +SID 30140005 RewriteCond %{REQUEST_METHOD} =POST RewriteCond %{REQUEST_URI} !^/(wp-admin/|wp-content/plugins/|wp-includes/|shop/).* [NC] RewriteCond %{HTTP:Content-Length} ^$ RewriteRule .* - [F,NS,L] # -SID 30140005 This is just a small piece of the code. See that i have added the subdir called "shop" in the exception rule list?I hope this will be useful to somebody out there 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