Hi,
I'm trying to configure owncloud on my server, but I encounter two errors:
Quote:
You don't have permission to access /owncloud/index.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
|
In ssl_error_log:
client denied by server configuration: /usr/share/owncloud/core/templates/403.php, referer:
https://macroscian.com/owncloud/
I also tried changing the permissions of /usr/share/owncloud to apache:apache, but to no avail.
There's also the default owncloud.conf under /etc/httpd/conf.d which points to the respective file (index.php).
Any ideas what I should be searching for?
This is part of my httpd.conf file:
Quote:
DocumentRoot "/var/www/html"
<VirtualHost *:80>
Redirect / https://macroscian.com/
</VirtualHost>
<Directory "/var/www/html/share">
Options +FollowSymLinks +Multiviews +Indexes
IndexOptions NameWidth=80
AllowOverride Indexes
AuthType basic
AuthName "private"
AuthUserFile "/etc/httpd/conf/.htpasswd"
Require valid-user
</Directory>
|
The rest is the default config. I don't think my directory directive has anything to do with it.
Do you think that the fact that the documentroot points to a completely different folder than where the /owncloud is is actually the problem? And if so, how can I solve the problem as smoothly as possible?