it-m-h / SmallTime

Small Time
GNU Affero General Public License v3.0
42 stars 32 forks source link

Access denied for user images *solution* #38

Closed arndtbo closed 4 years ago

arndtbo commented 7 years ago

Access denied for user images

/Data/'yourusers'/img/.htaccess

Order deny,allow
Allow from all
<Files "*">
    deny from all
 </Files>
Options -Indexes

change to

Order deny,allow
Allow from all
<Files ~ "\.(jpg)$">
   order deny,allow
   allow from all
</Files>
Options -Indexes
it-m-h commented 7 years ago

Sollte gelöst sein mit Version 0.9.016

waja commented 7 years ago

Order deny,allow Allow from all <Files ~ ".(jpg)$"> order deny,allow allow from all Options -Indexes

This is still not compatible to Apache 2.4.

arndtbo commented 7 years ago

code Apache 2.4

Order deny,allow 
allow from all 
<FilesMatch "\.(jpg)$">
Order Deny,Allow
Allow from all
</FilesMatch>
Options -Indexes
waja commented 7 years ago

The issue is: http://httpd.apache.org/docs/2.4/upgrading.html#run-time