Chadduck Posted August 27, 2019 Posted August 27, 2019 This is simply a heads up about the Apache 2.4 directive changes that may be needed throughout the .htaccess files utilized by OSCommerce CE to remove this error.log entryAH01797: client denied by server configuration: vsn 1.0.1.x vsn 1.0.2.x These contained lines <Files *> Order allow,deny Allow from all </Files> will cause the error AH01797: client denied by server configuration: To stop the error and work properly with Apache 2.4 I edited the affected files with this <Files *> # v2.2 Order allow,deny # v2.2 Allow from all Require all granted </Files> For those unfamiliar the # indicates a comment The .htaccess files are in these locations (This is a list of ALL .htaccess files - NOT all will require editting) /apache/vhosts/store/chadmin/.htaccess /apache/vhosts/store/chadmin/backups/.htaccess /apache/vhosts/store/chadmin/images/.htaccess /apache/vhosts/store/chadmin/includes/.htaccess /apache/vhosts/store/download/.htaccess /apache/vhosts/store/ext/.htaccess /apache/vhosts/store/images/.htaccess /apache/vhosts/store/includes/.htaccess /apache/vhosts/store/includes/work/.htaccess /apache/vhosts/store/pub/.htaccess
BrockleyJohn Posted August 27, 2019 Posted August 27, 2019 At what version is the 2.4 syntax supported? Presumably there's a crossover. Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released. Looking for a payment or shipping module? Maybe I've already done it. Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x
Chadduck Posted August 27, 2019 Author Posted August 27, 2019 14 minutes ago, BrockleyJohn said: At what version is the 2.4 syntax supported? Presumably there's a crossover. I really have no idea - Last week I installed a CLEAN Phoenix-v1.0.1.1 to take a look and start the upgrading process from 2.3.4.x One of the first things I do is ensure that the basics are working, in other words a CLEAN error.log which is when I discovered the AH01797 error. Researching it is when I discovered the change in the directives. The fix to remove that error was as I indicated above. I simply commented out the existing lines and added what was indicated by the various replies on the "fix" sites - stackexchange, askubuntu, etc
azpro Posted August 27, 2019 Posted August 27, 2019 @burt Thought it was wise to mention you because this might be imporant for Phoenix
Chadduck Posted August 27, 2019 Author Posted August 27, 2019 1 hour ago, BrockleyJohn said: At what version is the 2.4 syntax supported? Presumably there's a crossover. I figured I gave a relatively bland answer - on Ubuntu to check the apache version on the server command line you can issue apache2 -v Every server I have running 3 different versions of Ubuntu are showing Apache/2.4.xx (Ubuntu) If you can not find it on your own you should check with your ISP / host
♥JcMagpie Posted August 27, 2019 Posted August 27, 2019 list of 2.2 to 2.4 Run-Time Configuration Changes examples are given on the Apache upgrade page https://httpd.apache.org/docs/current/upgrading.html
ruden Posted August 27, 2019 Posted August 27, 2019 Fix .htaccess compatible apache 2.2 and 2.4 and issues https://github.com/osCommerce/oscommerce2/issues/631 Three Commits on Aug 27, 2019 https://github.com/ruden/oscommerce2/commits/2341-php7
Recommended Posts
Archived
This topic is now archived and is closed to further replies.