Skip to content
This repository has been archived by the owner on Nov 14, 2018. It is now read-only.

Updater 0.2.7 (or 0.2.6) does not maintain .htaccess (OC 4.5.5 to 4.5.6) #490

Open
crti opened this issue Jan 29, 2013 · 5 comments
Open

Comments

@crti
Copy link

crti commented Jan 29, 2013

Using Updater 0.2.7 (or 0.2.6?) to bring OC 4.5.5 to 4.5.6 I have noted that my customized .htaccess (added AddHandler php53-cgi .php - php_flag register_globals off - order deny,allow - etc.) was replaced by the standard OC .htaccess and therefore breaks my OC.
Would like to ask for not removing .htaccess by Updater - maybe standard OC .htaccess should be copied in root OC folder as ".htaccess.OCversion" to have the possibility to check for important changes.
Even better if (to synchronize with core team) the OC-part in .htaccess will be mantained

BEGIN OwnCload
...
END OwnCload

and only that part of .htaccess could be updated by Updater.

@crti
Copy link
Author

crti commented Mar 1, 2013

I can confirm this behavior (overwriting of .htaccess) by updating from OC 4.5.6 to 4.5.7 with Updater App.
Please try to find a solution to this.

@ghost ghost assigned VicDeo Mar 1, 2013
@MorrisJobke
Copy link
Contributor

@VicDeo

@VicDeo
Copy link
Contributor

VicDeo commented Jul 18, 2013

depends on owncloud/core#3545

nickvergessen pushed a commit to owncloud/core that referenced this issue Feb 19, 2014
@crti
Copy link
Author

crti commented Oct 15, 2014

I see owncloud/core#3545 opened by @MTGap is closed because not the core but the updater needs to be fixed according to @jancborchardt. See also owncloud/core#2692
I still would like to see a solution for oC7+ http://forum.owncloud.org/viewtopic.php?f=29&t=24238
CC @cyberdaemon - @bantu - @davidak - @andreasviolidis - @MorrisJobke
Thx

@VicDeo
Copy link
Contributor

VicDeo commented Dec 8, 2016

kinda related owncloud/updater#343
in short: htaccess changes are not preserved because this file is shipped with OC package.

@VicDeo VicDeo removed their assignment Dec 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants