Need a copy of owncloud.conf for apache

I've lost the apache config file for owncloud, and I can't seem to find it online. If anyone could copy and paste it for me that would be awesome. The file I'm after is /etc/apache/conf-enabled/owncloud.conf.

What distribution are you working on?

Those I found:

<IfModule mod_alias.c>
    Alias /owncloud /usr/share/webapps/owncloud/
    </IfModule>
    <Directory /usr/share/webapps/owncloud/>
       Options Indexes FollowSymLinks
       Order allow,deny
       allow from all
       php_admin_value open_basedir "/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/"
    </Directory>
    <VirtualHost *:80>
        ServerAdmin [email protected]
        DocumentRoot /usr/share/webapps/owncloud
        ServerName myowncloud.com
        ErrorLog logs/owncloud.info-error_log
        CustomLog logs/owncloud.info-access_log common
</VirtualHost>

ok getting 403 not allowed with the 2nd one i found =/

Thanks, I'll give it a try. I think it may actually have uninstalled the package, so I may just have to reinstall anyway.

This is on Ubuntu 16.04

Did you get this sorted mate?

Not yet

Got it sorted, it did get removed during the update so reinstalling fixed it.

1 Like

ah nice stuff!