[Owncloud] .htaccess error.

Cyryl Sochacki cyrylsochacki at gmail.com
Fri Nov 23 12:47:21 UTC 2012


W dniu 23.11.2012 13:30, Karl-Arne Gjersøyen pisze:
> " Security Warning Your data directory and your files are probably
> accessible from the internet. The .htaccess file that ownCloud
> provides is not working. We strongly suggest that you configure your
> webserver in a way that the data directory is no longer accessible or
> you move the data directory outside the webserver document root. "
>
> I got the error above when start on my installation on localhost. I
> guess the same error will happened when I move ownclouds to my web
> hotel. So my question is. Is it possible to do something with
> .htaccess to get rid of this error?
> I don't think it is possible to store folders and files outside of my
> web-root and still have access to it.
>
> Thanks,
> Karl
Change in the configuration of the apache 
(/etc/apache2/sites-enabled/000-default or default )
for directory /var/www/
set
AllowOverride all

and restart apache server

-- 
Cyryl Sochacki

Wiem że świat nie spodziewa się po nas wiele. Wystarczy, że odpowiesz sobie na bardzo ważne pytanie: co lubię w życiu robić, a potem zacznij to robić.




More information about the Owncloud mailing list