Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2014-02-28 14:59:30 +0400
committerLukas Reschke <lukas@statuscode.ch>2014-02-28 14:59:30 +0400
commit357fdb1a4df64864b2394d097b855fded1ce4756 (patch)
tree94e2c48d3b91a67ec7000178754fada5fd4be314 /.htaccess
parent61bc76fdd6fea722d8f77dd48ae66c294a1fe322 (diff)
Remove .htaccess creation code
1. We're maintaining the same code twice which leads inevitably to problems as this one. The createHtaccess routine is only used to use the correct paths to the 404 and 403 document. 2. Updating the ownCloud instance as described in our documentation (`Delete everything from your ownCloud installation directory, except data and config.`) will break the links to the ErrorDocuments anyways and show the default error handlers if ownCloud is not installed in the root directory.
Diffstat (limited to '.htaccess')
-rw-r--r--[-rwxr-xr-x].htaccess2
1 files changed, 0 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess
index 4ba5095e144..e1ded52dcd9 100755..100644
--- a/.htaccess
+++ b/.htaccess
@@ -6,8 +6,6 @@ RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION
</IfModule>
</IfModule>
</IfModule>
-ErrorDocument 403 /core/templates/403.php
-ErrorDocument 404 /core/templates/404.php
<IfModule mod_php5.c>
php_value upload_max_filesize 513M
php_value post_max_size 513M