You are not logged in.
Hi,
I am using apache and subversion with ssl works just fine, everything configured according to the wiki.
I now set up owncloud server and it works fine on port 80. I want to run it on port 443 over SSL, but I do not know what needs to be added to /etc/httpd/conf/extra/owncloud.conf. Additionaly, I would like the owncloud server to be accessed via a subpath, like localhost/owncload instead of the localhost root dir (in order not to conflict it with svn, which is found at localhost/svn).
The second thing which needs to be fixed is that owncloud shall not store the user files in root partition at /usr/share/webapps/owncloud/data, but in another ext4 partition. I tried creating a symlinkto remove the data folder and create a symlink to a folder on another partition (also did chown http:http there), but owncloud complained about missing data directory then. Moving the whole owncloud directory to another partition and adjusting the paths in owncloud.conf failed too (403). Any idea how to fix that?
This is what my owncloud.conf file looks like right now:
<IfModule mod_alias.c>
Alias /owncloud /usr/share/webapps/owncloud
</IfModule>
<Directory /usr/share/webapps/owncloud>
Options FollowSymlinks
Order allow,deny
AllowOverride all
allow from all
php_admin_value open_basedir "/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/"
</Directory>
<VirtualHost *:80>
ServerAdmin foo@foofarm.com
DocumentRoot /usr/share/webapps/owncloud
ServerName owncloud.foo.com
ErrorLog logs/owncloud.foo.info-error_log
CustomLog logs/owncloud.foo.info-access_log common
</VirtualHost>
Thanks for reading and maybe helping.
Offline
Hi vibee, did you ever find a solution for this. I am attempting to use a symlink 'data' in the owncloud webapp directory out to another hard drive, but this fails for me as i get a blank screen as soon as I connect to my server and owncloud loads.
Offline
I'm trying to get SSL/TLS working for my owncloud, and I have added configuration that *should* make it (or any other Apache server) use SSL.
It still doesn't work, but here is my post, someone might give the solutionthere and you could use that in your owncloud.conf (note that I put the contents of my owncloud.conf inside the httpd.conf and removed the Import statement).
https://bbs.archlinux.org/viewtopic.php?id=177305
I forgot how I stopped owncloud from hijacking the root directory of the webserver, but I'll post a solution tomorrow (I have to sleep now).
Offline
I would suggest you remove the Include extra/owncloud.conf and instead put the contents of owncloud.conf directly in httpd.conf, it makes managing it easier.
In owncloud.conf there should be a section something like
<IfModule mod_alias.c>
Alias /cloud /usr/share/webapps/owncloud/
</IfModule>
If that's there, mydomain.com/cloud will point to OwnCloud, so you can comment out the entire VirtualHost part. Then it won't take over the root directory but it will still be accessible via /cloud.
You can put configuration options in the Directory /usr/share/webapps/owncloud part.
To use it on a different drive, I *think* you could just copy /usr/share/webapps/owncloud to the other drive and change the directory to the new one wherever it appears in owncloud.conf. I don't have a second drive to test it on, but that should work.
Last edited by subraizada3 (2014-02-18 15:11:09)
Offline
Edit
/etc/webapps/owncloud/config/config.php
find line with:
'datadirectory' =>
For example I use :
'datadirectory' => '/home/owncloud/data',
And make sure http has read access to all the directories before your new data folder, and has read/write in data
And for ssl, you just have to have ssl set up properly in apache for it to work, nothing needed in extra/owncloud.conf
https://wiki.archlinux.org/index.php/LAMP#SSL
Last edited by dan457 (2014-02-19 19:48:14)
Offline