-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
htaccess warning while files non accessible from internet #6281
Comments
For info : my nextcloud.conf
|
And my nextcloud-le-ssl.conf
|
This seems to be a setup question. I would ask you to open this in the forums and ask for help there: https://help.nextcloud.com Thanks |
@MorrisJobke : this has been followed in the forum, and appears to be a security issue: #6449 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
Expected behaviour
Warning disappears
Actual behaviour
Warning still present: "Your data directory and your files are probably accessible from the Internet. The .htaccess file is not working. It is strongly recommended that you configure your web server in a way that the data directory is no longer accessible or you move the data directory outside the web server document root."
Server configuration
Updated from an older Nextcloud/ownCloud or fresh install: fresh install
Where did you install Nextcloud from: Nextcloud website (zip)
Signing status:
Signing status
No errors have been found.List of activated apps:
Fresh install
Nextcloud configuration:
Config report
{
"system": {
"instanceid": "xxxx",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"192.168.0.40",
"nextcloud.website.com"
],
"datadirectory": "/var/www/html/nextcloud/data",
"overwrite.cli.url": "https://nextcloud.website.com",
"dbtype": "mysql",
"version": "12.0.2.0",
"dbname": "nextcloud",
"dbhost": "localhost",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true
}
}
data/.htaccess content
# Generated by Nextcloud on 2017-08-25 23:18:20 # line below if for Apache 2.4 Require all denied
line below if for Apache 2.2
<ifModule !mod_authz_core.c>
deny from all
Satisfy All
section for Apache 2.2 and 2.4
IndexIgnore *Are you using external storage, if yes which one: no
Are you using encryption: no
The text was updated successfully, but these errors were encountered: