Notes
All commands require root/sudo
- ownCloud is installed into /var/www/owncloud
in Apache xxx it should be in /var/www/html/owncloud
mv -if /var/www/owncloud /var/www/html/ - owncloud.conf is in /etc/apache2/conf.d but it should be in /etc/apache2/conf-available/
mv -if /etc/apache2/conf.d/owncloud.conf /etc/apache2/conf-available/ - ownCloud to respond to specific domain e.g. owncloud.domain.com
vi /etc/apache2/ sitesavailable.conf
add the following after <VirtualHost _default_:443>
ServerName oc.coultard.net
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/owncloud - Restart apache: service apache2 restart
- Set servername:
echo "ServerName localhost" | sudo tee /etc/apache2/conf-available/servername.conf
# enable it by creating a symlink to it from the "enabled" section
sudo a2enconf servername
# restart the server
sudo service apache2 restart - "You are accessing the server from an untrusted domain."
Add your ip/domain to the list of trusted domains:
vi /var/www/html/owncloud/config/config.php
'trusted_domains' =>
array (
0 => '<server ip address>',
1 => '<owncloud.domain.com>',
), - "Your web server is not yet properly setup to allow files synchronization because the WebDAV interface seems to be broken."
Re-create SSL certificate or apply a new one: https://www.startssl.com
No comments:
Post a Comment