Skip to content

[OC6b3] /data/.htaccess not compatible with Apache 2.4 #5757

@scottlinux

Description

@scottlinux

The file /owncloud/data/.htaccess has the following content:

deny from all
IndexIgnore *

This is unfortunately not compatible with Apache 2.4

Apache logs give:

[Thu Nov 07 22:02:35.780047 2013] [core:alert] [pid 4459] [client 198.46.152.201:33112] /var/www/localhost/htdocs/owncloud/data/.htaccess: Invalid command 'deny', perhaps misspelled or defined by a module not included in the server configuration

This should work:

Require all denied
IndexIgnore *

This page has some info:

http://httpd.apache.org/docs/current/upgrading.html

Cheers,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions