Go to file
Lukas Reschke fefb59e7d0
Do not automatically try to enable index.php-less URLs
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-10 16:49:36 +02:00
.idea Add newline that was removed by 15be763d46 2014-12-10 09:38:32 +01:00
3rdparty@1c47b6e680 Update sabre/dav to 3.0.9 onb stable9 2016-04-11 11:28:23 +02:00
apps Disable pastezone for jquery.fileupload 2016-04-26 14:37:40 +02:00
build Add intergration tests 2016-03-18 11:37:56 +01:00
config Do not automatically try to enable index.php-less URLs 2016-05-10 16:49:36 +02:00
core Do not automatically try to enable index.php-less URLs 2016-05-10 16:49:36 +02:00
l10n Adding transifex to new core apps 2016-02-16 14:40:10 +01:00
lib Do not automatically try to enable index.php-less URLs 2016-05-10 16:49:36 +02:00
ocs Update author information 2016-03-01 17:25:15 +01:00
ocs-provider Fix formatting of response 2016-02-25 19:05:05 +01:00
resources Add repair step for updater issues 2016-04-20 21:40:53 +02:00
settings Disable pastezone for jquery.fileupload 2016-04-26 14:37:40 +02:00
tests Merge branch 'stable9' into local-invalid-9 2016-04-26 16:46:23 -04:00
themes update example theme favicon 2015-11-03 14:24:20 +01:00
.bowerrc
.gitignore Add SSO for updater application 2016-02-09 20:28:30 +01:00
.gitmodules
.htaccess Do not automatically try to enable index.php-less URLs 2016-05-10 16:49:36 +02:00
.jshintrc
.mailmap Map Maci 2016-03-01 17:45:05 +01:00
.mention-bot Merge pull request #21970 from zander/mentionbot 2016-01-28 11:20:25 +01:00
.scrutinizer.yml No more code coverage on scrutinizer 2016-02-16 08:22:57 +01:00
.tag
.travis.yml Fix the exclude path 2016-04-12 16:26:25 +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
COPYING-README
README.md Fix a typo in Readme 2016-02-18 09:41:55 +05:30
autotest-external.sh Add verbose flag to occ commands of autotest* 2016-02-23 09:31:31 +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 Add verbose flag to occ commands of autotest* 2016-02-23 09:31:31 +01:00
bower.json Add davidchambers/base64 JS library 2015-12-14 17:48:30 +01:00
buildjsdocs.sh Added OC.Files.Client Webdav-based files client 2015-11-22 16:05:49 +01:00
composer.json [stable9] Execute parallel-lint 2016-03-16 17:31:18 +01:00
console.php Remove pcntl warning for now 2016-04-26 21:08:33 +03:00
cron.php Make sure that CLI cron doesn't run for ever, but makes use of the next spawn 2016-04-22 09:56:18 +02:00
db_structure.xml exchange user_id_key for a unique one. 2016-02-26 01:02:22 +01:00
index.html
index.php Happy new year! 2016-01-12 15:02:18 +01:00
issue_template.md Fix wording 2016-02-29 09:49:11 +01:00
occ
public.php Happy new year! 2016-01-12 15:02:18 +01:00
remote.php Update author information 2016-03-01 17:25:15 +01:00
robots.txt
status.php Happy new year! 2016-01-12 15:02:18 +01:00
version.php 9.0.2 2016-05-03 04:37:42 -04:00

README.md

ownCloud Core

Build Status Scrutinizer Code Quality CodeClimate Coverity Dependency Status Dependency Status

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.0/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.0/developer_manual/core/translation.html