From: <car...@us...> - 2025-02-14 01:00:20
|
Revision: 11092 http://sourceforge.net/p/phpwiki/code/11092 Author: carstenklapp Date: 2025-02-14 01:00:17 +0000 (Fri, 14 Feb 2025) Log Message: ----------- Updated .htaccess files. Requires Apache 2.0.56 and later Modified Paths: -------------- trunk/.htaccess trunk/admin/.htaccess trunk/config/.htaccess trunk/lib/.htaccess trunk/locale/.htaccess trunk/pgsrc/.htaccess trunk/pgsrc/ReleaseNotes trunk/schemas/.htaccess Added Paths: ----------- trunk/soapscripts/.htaccess Modified: trunk/.htaccess =================================================================== --- trunk/.htaccess 2025-02-13 23:58:12 UTC (rev 11091) +++ trunk/.htaccess 2025-02-14 01:00:17 UTC (rev 11092) @@ -1,8 +1,16 @@ <IfDefine Free> php56 1 </IfDefine> - -<Files *.ini> - Order deny,allow - Deny from all -</Files> +<IfModule mod_version.c> + <IfVersion < 2.4> + <Files "*.ini"> + Order Allow,Deny + Deny from All + </Files> + </IfVersion> + <IfVersion >= 2.4> + <Files "*.ini"> + Require all denied + </Files> + </IfVersion> +</IfModule> Modified: trunk/admin/.htaccess =================================================================== --- trunk/admin/.htaccess 2025-02-13 23:58:12 UTC (rev 11091) +++ trunk/admin/.htaccess 2025-02-14 01:00:17 UTC (rev 11092) @@ -1,2 +1,26 @@ -order allow,deny -Deny from all +<IfModule mod_rewrite.c> + RewriteEngine On + # redirect from current directory to /phpwiki + RewriteRule ^(.*)$ /phpwiki [L,NC,R=302] + + <IfModule mod_version.c> + <IfVersion < 2.4> + Order Allow,Deny + Allow from All + </IfVersion> + <IfVersion >= 2.4> + Require all granted + </IfVersion> + </IfModule> +</IfModule> + +<IfModule mod_version.c> + <IfVersion < 2.4> + Order Allow,Deny + Deny from All + </IfVersion> + <IfVersion >= 2.4> + Require local + Require all denied + </IfVersion> +</IfModule> Modified: trunk/config/.htaccess =================================================================== --- trunk/config/.htaccess 2025-02-13 23:58:12 UTC (rev 11091) +++ trunk/config/.htaccess 2025-02-14 01:00:17 UTC (rev 11092) @@ -1,2 +1,26 @@ -order allow,deny -Deny from all +<IfModule mod_rewrite.c> + RewriteEngine On + # redirect from current directory to /phpwiki + RewriteRule ^(.*)$ /phpwiki [L,NC,R=302] + + <IfModule mod_version.c> + <IfVersion < 2.4> + Order Allow,Deny + Allow from All + </IfVersion> + <IfVersion >= 2.4> + Require all granted + </IfVersion> + </IfModule> +</IfModule> + +<IfModule mod_version.c> + <IfVersion < 2.4> + Order Allow,Deny + Deny from All + </IfVersion> + <IfVersion >= 2.4> + Require local + Require all denied + </IfVersion> +</IfModule> Modified: trunk/lib/.htaccess =================================================================== --- trunk/lib/.htaccess 2025-02-13 23:58:12 UTC (rev 11091) +++ trunk/lib/.htaccess 2025-02-14 01:00:17 UTC (rev 11092) @@ -1,2 +1,29 @@ -order allow,deny -Deny from all +<IfModule mod_rewrite.c> + RewriteEngine On +# redirect from current directory to /phpwiki + RewriteRule ^(.*)$ /phpwiki [L,NC,R=302] + + <IfModule mod_version.c> + <IfVersion < 2.4> + Order Allow,Deny + Allow from All + </IfVersion> + <IfVersion >= 2.4> + Require all granted + </IfVersion> + </IfModule> +</IfModule> + +<IfModule mod_version.c> + <IfVersion < 2.4> + Order Allow,Deny + Deny from All + </IfVersion> + <IfVersion >= 2.4> + Require local + Require all denied + </IfVersion> +</IfModule> +#<IfModule mod_alias.c> +#Redirect 404 / +#</IfModule> Modified: trunk/locale/.htaccess =================================================================== --- trunk/locale/.htaccess 2025-02-13 23:58:12 UTC (rev 11091) +++ trunk/locale/.htaccess 2025-02-14 01:00:17 UTC (rev 11092) @@ -1,2 +1,26 @@ -order allow,deny -Deny from all +<IfModule mod_rewrite.c> + RewriteEngine On +# redirect from current directory to /phpwiki + RewriteRule ^(.*)$ /phpwiki [L,NC,R=302] + + <IfModule mod_version.c> + <IfVersion < 2.4> + Order Allow,Deny + Allow from All + </IfVersion> + <IfVersion >= 2.4> + Require all granted + </IfVersion> + </IfModule> +</IfModule> + +<IfModule mod_version.c> + <IfVersion < 2.4> + Order Allow,Deny + Deny from All + </IfVersion> + <IfVersion >= 2.4> + Require local + Require all denied + </IfVersion> +</IfModule> Modified: trunk/pgsrc/.htaccess =================================================================== --- trunk/pgsrc/.htaccess 2025-02-13 23:58:12 UTC (rev 11091) +++ trunk/pgsrc/.htaccess 2025-02-14 01:00:17 UTC (rev 11092) @@ -1,2 +1,26 @@ -order allow,deny -Deny from all +<IfModule mod_rewrite.c> + RewriteEngine On +# redirect from current directory to /phpwiki + RewriteRule ^(.*)$ /phpwiki [L,NC,R=302] + + <IfModule mod_version.c> + <IfVersion < 2.4> + Order Allow,Deny + Allow from All + </IfVersion> + <IfVersion >= 2.4> + Require all granted + </IfVersion> + </IfModule> +</IfModule> + +<IfModule mod_version.c> + <IfVersion < 2.4> + Order Allow,Deny + Deny from All + </IfVersion> + <IfVersion >= 2.4> + Require local + Require all denied + </IfVersion> +</IfModule> Modified: trunk/pgsrc/ReleaseNotes =================================================================== --- trunk/pgsrc/ReleaseNotes 2025-02-13 23:58:12 UTC (rev 11091) +++ trunk/pgsrc/ReleaseNotes 2025-02-14 01:00:17 UTC (rev 11092) @@ -1,4 +1,4 @@ -Date: Thu, 13 Feb 2025 22:18:00 +0000 +Date: Fri, 14 Feb 2025 00:37:05 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.5) Content-Type: application/x-phpwiki; pagename=ReleaseNotes; @@ -14,6 +14,11 @@ * Upgrade PEAR to release 1.10.16, PEAR DB to release 1.12.2 * Readme for basic Windows 11 install instructions. * Complete rewrite of ~SpaceWiki theme using modern css. +* passencrypt.php: Improved password encryption and random pw generation. + Added copy to clipboard buttons. +* Updated ##.htaccess## files to work with Apache 2.4. Will still work with + older versions but requires mod_version module which is available in + Apache 2.0.56 and later. == 1.6.4 2024-03-13 Marc-Etienne Vargenau, Christof Meerwald == Modified: trunk/schemas/.htaccess =================================================================== --- trunk/schemas/.htaccess 2025-02-13 23:58:12 UTC (rev 11091) +++ trunk/schemas/.htaccess 2025-02-14 01:00:17 UTC (rev 11092) @@ -1,2 +1,26 @@ -order allow,deny -Deny from all +<IfModule mod_rewrite.c> + RewriteEngine On +# redirect from current directory to /phpwiki + RewriteRule ^(.*)$ /phpwiki [L,NC,R=302] + + <IfModule mod_version.c> + <IfVersion < 2.4> + Order Allow,Deny + Allow from All + </IfVersion> + <IfVersion >= 2.4> + Require all granted + </IfVersion> + </IfModule> +</IfModule> + +<IfModule mod_version.c> + <IfVersion < 2.4> + Order Allow,Deny + Deny from All + </IfVersion> + <IfVersion >= 2.4> + Require local + Require all denied + </IfVersion> +</IfModule> Added: trunk/soapscripts/.htaccess =================================================================== --- trunk/soapscripts/.htaccess (rev 0) +++ trunk/soapscripts/.htaccess 2025-02-14 01:00:17 UTC (rev 11092) @@ -0,0 +1,29 @@ +<IfModule mod_rewrite.c> + RewriteEngine On +# redirect from current directory to /phpwiki + RewriteRule ^(.*)$ /phpwiki [L,NC,R=302] + + <IfModule mod_version.c> + <IfVersion < 2.4> + Order Allow,Deny + Allow from All + </IfVersion> + <IfVersion >= 2.4> + Require all granted + </IfVersion> + </IfModule> +</IfModule> + +<IfModule mod_version.c> + <IfVersion < 2.4> + Order Allow,Deny + Deny from All + </IfVersion> + <IfVersion >= 2.4> + Require local + Require all denied + </IfVersion> +</IfModule> +#<IfModule mod_alias.c> +#Redirect 404 / +#</IfModule> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |