.htaccess error lighttpd


#1

Hi
I just reinstalled ownCloud due to some jail issues on FreeNAS. It all works fine and I copied all my configs from my old install over since it worked like a charm. My old install was version 9.1.2, and now I have 9.1.4. I installed owncloud itself completely fresh, but I imported the settings for lighttpd and php from my old install. I have the all famoud .htaccess issue in my admin console. Since I'm using lighttpd I have the following lines in my config:

#Disbale access to data folder
$HTTP["url"] =~ "^/owncloud/data/" {
        url.access-deny = ("")
}
#Disable directory listing
$HTTP["url"] =~ "^/owncloud($|/)" {
        dir-listing.activate = "disable"
}

The error should disappear, at least it doesn't show up in my old install. Yet, it is there. Can anyone tell me how to get rid of it?

Steps to reproduce
1. Install owncloud via "pkg install owncloud"
2. install lighttpd and edit the config as needed
3. add the lines I quoted above to make sure the important folders are protected

Expected behaviour
The .htaccess error should disappear

Actual behaviour
The .htaccess error pops up in the admin page

Server configuration
Operating system: FreeNAS 9.10
Web Server: lighttpd 1.4.45_1
Database: MySQL 5.6
PHP version: 5.6
ownCloud version (see ownCloud admin page): 9.1.4
Updated from an older ownCloud or fresh install: fresh install

ownCloud log (data/owncloud.log)

Log is emtpy

Integrity status for oC9+

No errors have been found.

#2

Hi,

ist strongly advised to not run ownCloud on lighttpd. For specific support of lighttpd you might also just ask on their support channels.


#3

Hi
Why exactly isn't it recommended?


#4

Few reasons are:

1 .

A sane thing to do, also for the owncloud people is to simply not at all support lighttp. Afaik it's a dead project, and still has plenty of bugs. There's better alternatives.

from [1] and [2]

2 . ownCloud is untested on this webserver. There are no automatic tests and developers are not using lighttpd

3 . There is no community support for lighttpd

[1]

[2]