X Tutup
Skip to content

Commit d17109f

Browse files
author
JanAckermann
committed
Updated changelog item
1 parent 2712681 commit d17109f

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.htaccess

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,35 @@ Options -Indexes
9494
<IfModule pagespeed_module>
9595
ModPagespeed Off
9696
</IfModule>
97+
#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####
98+
99+
ErrorDocument 403 /core/templates/403.php
100+
ErrorDocument 404 /core/templates/404.php
101+
<IfModule mod_rewrite.c>
102+
Options -MultiViews
103+
RewriteRule ^favicon.ico$ core/img/favicon.ico [L]
104+
RewriteRule ^core/js/oc.js$ index.php [PT,E=PATH_INFO:$1]
105+
RewriteRule ^core/preview.png$ index.php [PT,E=PATH_INFO:$1]
106+
RewriteCond %{REQUEST_FILENAME} !\.(css|js|svg|gif|png|html|ttf|woff|ico|jpg|jpeg|json|properties)$
107+
RewriteCond %{REQUEST_FILENAME} !core/img/favicon.ico$
108+
RewriteCond %{REQUEST_FILENAME} !/robots.txt
109+
RewriteCond %{REQUEST_FILENAME} !/remote.php
110+
RewriteCond %{REQUEST_FILENAME} !/public.php
111+
RewriteCond %{REQUEST_FILENAME} !/cron.php
112+
RewriteCond %{REQUEST_FILENAME} !/core/ajax/update.php
113+
RewriteCond %{REQUEST_FILENAME} !/status.php
114+
RewriteCond %{REQUEST_FILENAME} !/ocs/v1.php
115+
RewriteCond %{REQUEST_FILENAME} !/ocs/v2.php
116+
RewriteCond %{REQUEST_FILENAME} !/updater/
117+
RewriteCond %{REQUEST_FILENAME} !/ocs-provider/
118+
RewriteCond %{REQUEST_FILENAME} !/ocm-provider/
119+
RewriteCond %{REQUEST_URI} !^/.well-known/(acme-challenge|pki-validation)/.*
120+
RewriteRule . index.php [PT,E=PATH_INFO:$1]
121+
RewriteBase //
122+
<IfModule mod_env.c>
123+
SetEnv front_controller_active true
124+
<IfModule mod_dir.c>
125+
DirectorySlash off
126+
</IfModule>
127+
</IfModule>
128+
</IfModule>

changelog/unreleased/38880

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ by setting the correct fileId.
77
Also added a short translation for the SUBJECT_REMOTE_SHARE_RECEIVED activity.
88

99
https://github.com/owncloud/core/pull/38880
10+
https://github.com/owncloud/core/pull/38889
1011
https://github.com/owncloud/activity/issues/970

0 commit comments

Comments
 (0)
X Tutup