0
Answered
htcaccess not working?
I finally got owncloud up and going, did exactly the same as last time so not sure what differnece I did this time. Even the ssl went up without a hitch! But theres one thing. htcaccess? Honestly i always turned it off, don't even know what it's used for, and as such I get this error.
Security WarningYour data directory and files are probably accessible from the internet because the .htaccess file does not work.
For information how to properly configure your server, please see thedocumentation.
That said I'm posting here because this is how I used to install it, I'm planning on doing it this way and the terminal way, but this way makes it easier for other people who don't like the terminal as much. If I could get that error to go away that would be awesome :)
Security WarningYour data directory and files are probably accessible from the internet because the .htaccess file does not work.
For information how to properly configure your server, please see thedocumentation.
That said I'm posting here because this is how I used to install it, I'm planning on doing it this way and the terminal way, but this way makes it easier for other people who don't like the terminal as much. If I could get that error to go away that would be awesome :)
Answer
0
Answer
Answered
Eugene Pankov (Project coordinator) 10 years ago
.htaccess and NGINX are completely unrelated to each other. To forbid access to a directory inside your installation, you could e.g. create a Static Files content entry for the relevant URL with a nonexisting path for it.
Answer
Answered
.htaccess and NGINX are completely unrelated to each other. To forbid access to a directory inside your installation, you could e.g. create a Static Files content entry for the relevant URL with a nonexisting path for it.
Also, from the docs: you can add this as custom configuration for your website:
location ~ ^/(?:\.htaccess|data|config|db_structure\.xml|README){ deny all; }
location ~ ^/(?:\.htaccess|data|config|db_structure\.xml|README){ deny all; }
*Note after doing the initial setup, it now has a redirect loop. I did try on another computer, but it won't take the password, it just keeps poping up the signin page.
So make a folder only accessible by administrator using permissions on another location should protect the files?
Again, sorry kinda slow. :)
Again, sorry kinda slow. :)
Yes, just paste it into Websites > website > Advanced > Custom configuration
I'm still getting the Redirect loop once I login. That wouldn't by any causes of Ajenti v would it?
- just checking my bases.
- just checking my bases.
No, I had people successfully setup OwnCloud w/ajenti-v. You can check the redirects log at /var/log/nginx/....access.log
Customer support service by UserEcho