htaccess warning

Ask all your questions regarding OC 5.x Please read the Support Forum Rules
Forum rules
ownCloud 5.x reached end of life and is officially unsupported. For details see Wiki page.

Please upgrade your ownCloud.
Posts: 2
Joined: Sat Aug 04, 2012 10:10 pm

htaccess warning

Postby innate » Sat Aug 04, 2012 10:12 pm

I'm running ownCloud on Windows 7.

I'm receiving the following message in the Admin section of ownCloud "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."

How can I go about fixing this?

Posts: 2
Joined: Sat Aug 04, 2012 10:10 pm

Re: htaccess warning

Postby innate » Sat Aug 04, 2012 10:21 pm

From what I've been able to research IIS doesn't use htaccess. So do I need to worry about this?

Posts: 12
Joined: Sat May 26, 2012 10:19 am

Re: htaccess warning

Postby louis-m » Sat Aug 04, 2012 10:51 pm

i think we are sadly in need of an owncloud employee on here who can answer these questions.
exposing your webserver creates caveats that you need to know.
i haven't yet seen a recommended "if you are running owncloud on apache/iis etc, the recommended security practices are......."
i like owncloud and it has massive potential but personally i'm not prepared to run it exposed yet.

Posts: 5
Joined: Sun Aug 05, 2012 1:40 pm
ownCloud version: 9.0.2
Webserver: Apache
Database: MySQL
OS: Linux Embedded
PHP version: 5.4.41

Re: htaccess warning

Postby maz » Sun Aug 05, 2012 2:44 pm

It's easy to get rid of the htaccess warning: do not use the default data directory or any other subdirectory of wwwroot. To choose a new data directory you don't have to install oc again. Just move the content of the data directory to the new location and modify the config\config.php. (If you're using a base dir do not append a \ to the drive letter.)

As reported on many posts oc is buggy at the moment. Backup your data before you move...

Good luck

  • Similar Topics
    Last post

Return to “ownCloud Community Edition 5.x and older”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest