Go to file
Lukas Reschke 52add798d4 Do not automatically try to enable index.php-less URLs (#24539)
The current logic for mod_rewrite relies on the fact that people have properly configured ownCloud, basically it reads from the `overwrite.cli.ur
l` entry and then derives the `RewriteBase` from it.

This usually works. However, since the ownCloud packages seem to install themselves at `/owncloud` (because subfolders are cool or so…) _a lot_ of people have just created a new Virtual Host for it or have simply symlinked the path etc.

This means that `overwrite.cli.url` is wrong, which fails hard if it is used as RewriteBase since Apache does not know where it should serve files from. In the end the ownCloud instance will not be accessible anymore and users will be frustrated. Also some shared hosters like 1&1 (because using shared hosters is so awesome… ;-)) have somewhat dubious Apache configurations or use versions of mod_rewrite from the mediveal age. (because updating is money or so…)

Anyhow. This makes this explicitly an opt-in configuration flag. If `htaccess.RewriteBase` is set then it will configure index.php-less URLs, if
admins set that after installation and don't want to wait until the next ownCloud version they can run `occ maintenance:update:htaccess`.

For ownCloud 9.0 we also have to add a repair step to make sure that instances that already have a RewriteBase configured continue to use it by copying it into the config file. That way all existing URLs stay valid. That one is not in this PR since this is unneccessary in master.

Effectively this reduces another risk of breakage when updating from ownCloud 8 to ownCloud 9.

Fixes https://github.com/owncloud/core/issues/24525, https://github.com/owncloud/core/issues/24426 and probably some more.
2016-05-12 09:43:26 +02:00
.idea Add newline that was removed by 15be763d46 2014-12-10 09:38:32 +01:00
3rdparty@16f2894332 Update 3rdparty to remove unneeded files 2016-04-20 09:19:18 +02:00
apps Move dav app to PSR-4 (#24527) 2016-05-12 09:42:40 +02:00
build fix PHPDoc and other minor issues 2016-05-11 13:36:46 +02:00
config Do not automatically try to enable index.php-less URLs (#24539) 2016-05-12 09:43:26 +02:00
core Do not automatically try to enable index.php-less URLs (#24539) 2016-05-12 09:43:26 +02:00
l10n Also use Javascript as language in l10n.pl - fixes #13924 2016-04-07 12:59:59 +02:00
lib Do not automatically try to enable index.php-less URLs (#24539) 2016-05-12 09:43:26 +02:00
ocs move federated sharing settings to the federatedfilesharing app 2016-04-22 14:55:40 +02:00
ocs-provider Fix formatting of response 2016-02-25 19:05:05 +01:00
resources correct typo in mimetypealiases.dist.json 2016-04-26 07:29:36 -07:00
settings [tx-robot] updated from transifex 2016-05-12 02:08:58 -04:00
tests Use proper URL generation function (#24576) 2016-05-11 19:39:57 +02:00
themes 2015 --> 2016 2016-04-27 15:52:59 +02:00
.bowerrc ability to add bower resources 2014-11-03 20:54:40 +01:00
.gitignore Add SSO for updater application 2016-02-09 20:28:30 +01:00
.gitmodules use https as submodule url 2014-03-21 19:38:22 +01:00
.htaccess Do not automatically try to enable index.php-less URLs (#24539) 2016-05-12 09:43:26 +02:00
.jshintrc enable laxbreak option in jshintrc to comply with our coding guide lines 2014-11-04 12:51:54 +01:00
.mailmap Map Maci 2016-03-01 17:45:05 +01:00
.mention-bot Update .mention-bot for lib/public/Activity 2016-05-06 09:28:29 +02:00
.scrutinizer.yml Scrutinizer should not check generated composer files 2016-03-10 21:17:34 +01:00
.tag Add .tag file to make tar balls tracable 2014-06-14 17:40:32 +02:00
.travis.yml Exclude autoload_static.php (#23935) 2016-04-12 12:07:27 +02:00
.user.ini Also set output_buffering in .user.ini to 0 2015-09-29 17:49:37 +02:00
AUTHORS Remove Scrutinizer Auto Fixer 2016-03-01 17:48:23 +01:00
CONTRIBUTING.md Replace list of apps with a link 2015-12-16 13:58:18 +01:00
COPYING-AGPL Really add AGPL file 2011-02-09 15:12:09 +00:00
COPYING-README correct icon license, we use Elementary icons, not Silk anymore 2014-07-15 11:35:49 +02:00
README.md Update readme for 9.1 links 2016-04-29 11:44:26 +02:00
autotest-external.sh Fix storage backend class namespaces and move to subdir 2016-04-14 00:44:28 +01:00
autotest-hhvm.sh Combine autotest-hhvm.sh with autotest.sh 2015-05-04 16:37:23 +02:00
autotest-js.sh Use a universal shebang 2015-09-27 13:03:31 +02:00
autotest.sh Use docker for mysql as well - optionally 2016-05-06 19:36:44 +02:00
bower.json downgrade jquery, update jquery-migrate 2016-04-15 13:55:23 +02:00
buildjsdocs.sh Added OC.Files.Client Webdav-based files client 2015-11-22 16:05:49 +01:00
composer.json Move OC\Core and OC\Settings to composer autoloader 2016-04-05 16:47:38 +02:00
console.php Catch class Error on all root entrypoints 2016-04-20 18:01:47 +02:00
cron.php Make sure that CLI cron doesn't run for ever, but makes use of the next spawn 2016-04-21 10:33:44 +02:00
db_structure.xml increase token column width 2016-05-11 13:36:46 +02:00
index.html Try to prefer index.php over index.html in the same directory 2013-04-24 15:11:53 +02:00
index.php Catch class Error on all root entrypoints 2016-04-20 18:01:47 +02:00
issue_template.md Add link to security page 2016-04-22 18:52:00 +02:00
occ Use a more universal shebang 2014-11-19 17:34:03 +01:00
public.php Catch class Error on all root entrypoints 2016-04-20 18:01:47 +02:00
remote.php Fix undefined variable $ex 2016-05-02 13:10:03 +02:00
robots.txt Add robot.txt 2013-01-28 16:39:53 -06:00
status.php Happy new year! 2016-01-12 15:02:18 +01:00
version.php increase version number to trigger db migration 2016-05-11 13:36:46 +02:00

README.md

ownCloud Core

Build Status Scrutinizer Code Quality codecov.io CodeClimate Coverity Dependency Status Dependency Status

codecov.io

ownCloud gives you freedom and control over your own data. A personal cloud which runs on your own server.

Why is this so awesome?

  • 📁 Access your Data You can store your files, contacts, calendars and more on a server of your choosing.
  • 📦 Sync your Data You keep your files, contacts, calendars and more synchronized amongst your devices.
  • 🔄 Share your Data You share your data with others, and give them access to your latest photo galleries, your calendar or anything else you want them to see.
  • 🚀 Expandable with dozens of Apps ...like Calendar, Contacts, Mail or News.
  • ☁️ All Benefits of the Cloud ...on your own Server.
  • 🔒 Encryption You can encrypt data in transit with secure https connections. You can enable the encryption app to encrypt data on storage for improved security and privacy.
  • ...

Installation instructions

https://doc.owncloud.org/server/9.1/developer_manual/app/index.html

Contribution Guidelines

https://owncloud.org/contribute/

Support

Learn about the different ways you can get support for ownCloud: https://owncloud.org/support/

Get in touch

Important notice on translations

Please submit translations via Transifex: https://www.transifex.com/projects/p/owncloud/

Transifex

For more detailed information about translations: http://doc.owncloud.org/server/9.1/developer_manual/core/translation.html