I have followed the automatic installation tutorial for ownCloud,[1] from software.opensuse.org,[2]. Needless to say, it didn't go as smooth as apt-get install and enjoy. After installing, enabling SSL with a self-signed certificate and using the absolute default settings I was greeted with a not so nice message below.
Internal server error message when trying to access mydomain.com/owncloud |
Solution
After quite a bit of searching the solution was to add he following lines to the config file /etc/apache2/apache2.conf,[3].<Directory /var/www/>Simple edit the file by
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
sudo nano /etc/apache2/apache2.confand add the mentioned lines to the end of the file.
Save changes with CTRL+O, exit with CTRL+X. Then restart apache2 with
sudo service apache2 restartOr in case you are running Ubuntu 12.04
sudo /etc/init.d/apache2 restartYour error should be fixed and ownCloud ready to be used.
Sources
[1] - ownCloud.org[2] - https://software.opensuse.org/download.html?project=isv:ownCloud:community&package=owncloud
[3] - http://sharadchhetri.com/2014/01/16/how-to-install-owncloud-6-in-ubuntu-13-10-server/
No comments:
Post a Comment