should there be .htaccess in subfolders?

Hi everyone.

I have recently gone on a bit of an update spree and while doing that figured out I didn’t have my vhost correctly setup to use the .htaccess files with “AllowOverride All”

However, setting that option completely broke my installtion, and I figured the culprit was an .htaccess file located in /nextcloud/apps.

I have the .htaccess file in /nextcloud, and AllowOverride All set in my virtual host for apache.

I also downloaded the latest release as a zip and checked on github, but I can’t find any reference to an .htaccess file in /nextcloud/apps there, so I’m wondering if this is a remnant from a previous version that I just found now due to my misconfiguration of AllowOverride.

Any hints are appreciated.

Edit for completeness: it’s version 27.1.3

ALERT,
@ALERT@sh.itjust.works avatar

<span style="color:#323232;">root@nextcloud:/# pwd
</span><span style="color:#323232;">/
</span><span style="color:#323232;">
</span><span style="color:#323232;">root@nextcloud:/# find . -type f -name .htaccess
</span><span style="color:#323232;">./app/www/src/.htaccess
</span><span style="color:#323232;">./app/www/src/config/.htaccess
</span><span style="color:#323232;">./app/www/public/.htaccess
</span><span style="color:#323232;">./config/www/nextcloud/config/.htaccess
</span>
3l3s3,

Thank you very much, much appreciated

ALERT,
@ALERT@sh.itjust.works avatar

the best option for you is to deploy a fresh setup in a container and glance at the file structure there. also, try searching issues on github for .htaccess. or just wait half an hour till I make it out of bed to give you the info on where are .htaccess files on my setup.

3l3s3,

The second I’ve already done, and according to the git Log there was never an htaccess file in the apps folder, I’d really appreciate if you could check. Otherwise I’ll have to spin up another instance.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • nextcloud@lemmy.world
  • everett
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • GTA5RPClips
  • khanakhh
  • Youngstown
  • Durango
  • slotface
  • rosin
  • ethstaker
  • kavyap
  • thenastyranch
  • mdbf
  • JUstTest
  • osvaldo12
  • tacticalgear
  • modclub
  • cisconetworking
  • ngwrru68w68
  • Leos
  • cubers
  • tester
  • normalnudes
  • megavids
  • anitta
  • provamag3
  • lostlight
  • All magazines