K
K
krylovlf2013-11-29 09:59:12
Apache HTTP Server
krylovlf, 2013-11-29 09:59:12

centos+bitrix+owncloud

Good afternoon,
given:
vcloud with centos 6.4, bitrix, 1ip
installed owncloud in /home/owncloud + full rights to the whole folder for the apache user
in /etc/httpd/conf.d/owncloud.conf

<IfModule mod_alias.c>
Alias /owncloud /home/owncloud
</IfModule>
<VirtualHost 111.111.111.111>
    ServerAdmin [email protected]
    DocumentRoot /home/owncloud
    ServerName owncloud.foo.com
    ErrorLog logs/owncloud.foo.info-error_log
    CustomLog logs/owncloud.foo.info-access_log common
<Directory /home/owncloud>
   Options None
   Order allow,deny
   allow from all
</Directory>
</VirtualHost>

Result:
111.111.111.111/ - opens Bitrix site
111.111.111.111/owncloud/ - gives an error
ownCloud
Can't write into config directory 'config'
This can usually be fixed by giving the webserver write access to the config directory.
ownCloud - Network services under your control
in /home/owncloud/config only one file: config.sample.php
How to be?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Klyushkov, 2013-11-29
@m_klyushkov

The link in the error says everything in detail.
Allow the user running the web server to write to /home/owncloud/config/
For debian based distros like Ubuntu, Debian or Linux Mint and Gentoo use:
Fedora users should use:

chown -R apache:apache /path/to/your/owncloud/install/data

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question