GoldenTabby Posted October 18, 2014 Share Posted October 18, 2014 (edited) I have apache server error after fresh install of Prestashop (1.6.0.9). When I go to main page it shows raw html (no scripts or css is loaded) and in apache logs I see: [Sat Oct 18 17:26:10.959613 2014] [core:alert] [pid 5036:tid 876] [client 127.0.0.1:61394] D:/wamp/www/prestashop/modules/.htaccess: Invalid command 'Deny', perhaps misspelled or defined by a module not included in the server configuration, referer: http://prestashop/ [Sat Oct 18 17:26:10.523588 2014] [core:alert] [pid 5036:tid 884] [client 127.0.0.1:61376] D:/wamp/www/prestashop/themes/.htaccess: Invalid command 'Deny', perhaps misspelled or defined by a module not included in the server configuration, referer: http://prestashop/ so this is some error with this .htaccess files. They both contains: <FilesMatch "\.tpl$"> Deny from all </FilesMatch> so when I comment "Deny from all" site starts to load properly. FilesMatch is a part of apache core, so i'm confused. Mb someone knows how this should work and how to workaround properly with this? Edited October 18, 2014 by GoldenTabby (see edit history) Link to comment Share on other sites More sharing options...
GoldenTabby Posted October 19, 2014 Author Share Posted October 19, 2014 I found answer - I use apache 2.4.9, and this: <FilesMatch "\.tpl$"> Deny from all </FilesMatch> should be: <FilesMatch "\.tpl$"> Require all denied </FilesMatch> 2 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