the .htaccess seems not to be ready for the unstable apache : ==> /var/log/apache2/ssl_error_log <== [Tue Jan 29 20:06:44.372421 2013] [core:alert] [pid 1172:tid 1136929600] [client 192.168.0.254:44789] /var/www/localhost/htdocs/phpsysinfo/.htaccess: Invalid command 'order', perhaps misspelled or defined by a module not included in the server configuration ==> /var/log/apache2/ssl_access_log <== 192.168.0.254 - - [29/Jan/2013:20:06:44 +0100] "GET /phpsysinfo/ HTTP/1.1" 500 586 ==> /var/log/apache2/ssl_request_log <== [29/Jan/2013:20:06:44 +0100] 192.168.0.254 TLSv1 ECDHE-RSA-AES256-SHA "GET /phpsysinfo/ HTTP/1.1" 586 Here's the conten : # cat /var/www/localhost/htdocs/phpsysinfo/.htaccess <files phpsysinfo.ini> order deny,allow deny from all </files> And if I moved away the .htaccess file I get : phpsysinfo.ini does not exist or is not readable by the webserver in the phpsysinfo directory or is misunderstood. Generated by phpSysInfo - 3.1.0
This seems like something to report upstream; or even better fork their git repo, fix it, and submit a pull request.
Was this reported to upstream? (if still valid with latest versions)
yes, IIRC I wrote an email (last year however) to upstream ...
I checked the master branch and it still has the old syntax. Wouldn't it be better to require access_compat?
I cannot find any patch on any other distribution using apache 2.4 for this :(
*** Bug 476060 has been marked as a duplicate of this bug. ***
Still the same with 3.2? Maybe they should be "Order" and "Deny"... if still valid it should be reported to upstream
https://github.com/phpsysinfo/phpsysinfo/issues/85
This .htaccess file works with both apache 2.2 and 2.4. <IfModule !mod_authz_core.c> Order deny,allow Deny from all </IfModule> <IfModule mod_authz_core.c> Require all denied </IfModule> We should start "replacing" simple .htaccess files like this and sending them upstream. So in this case (In reply to Toralf Förster from comment #0) > # cat /var/www/localhost/htdocs/phpsysinfo/.htaccess > <files phpsysinfo.ini> > order deny,allow > deny from all > </files> should be replaced with <files phpsysinfo.ini> <IfModule !mod_authz_core.c> Order deny,allow Deny from all </IfModule> <IfModule mod_authz_core.c> Require all denied </IfModule> </files>
OK, thanks This is the upstream patch: https://github.com/phpsysinfo/phpsysinfo/commit/dfd704d35de1a34c4cca869037778c1ac453fa17.patch Should we apply it to ALL slots? Or do you have plans of dropping some of them soon :/
Version 3.2.2 was released, it has the fix for Apache 2.4: https://github.com/phpsysinfo/phpsysinfo/releases/tag/v3.2.2
Version bump: https://bugs.gentoo.org/show_bug.cgi?id=550988
(In reply to Pacho Ramos from comment #10) > OK, thanks > > This is the upstream patch: > https://github.com/phpsysinfo/phpsysinfo/commit/ > dfd704d35de1a34c4cca869037778c1ac453fa17.patch > > Should we apply it to ALL slots? Or do you have plans of dropping some of > them soon :/ I think no. Let's do a version bump and stabilize that one. If anybody will urgently require an old version (maybe?) then we can backport the .htaccess.
3.2.2 in the tree
Stable for HPPA PPC64.
ppc stable
amd64 stable
x86 stable