ownCloud on DA

erastus@connect

Verified User
Joined
Jun 1, 2013
Messages
36
Is there any one that can help me. I have installed ownCloud on our server and i is working well.
I have one problem and that is when the remote client wants to synch with the server it generates an error: 403 forbidden.

I suspect it is the upload that gets "refused" by Apache.
Is there any one that can help me please.
 
try to modify
/etc/httpd/conf/extra/httpd-directories.conf

And change Limit parts to look like this:

Code:
	<Limit GET POST OPTIONS PROPFIND PUT>
		Order allow,deny
		Allow from all
	</Limit>
	<LimitExcept GET POST OPTIONS PROPFIND PUT>
		Order deny,allow
		Deny from all
	</LimitExcept>


Restart apache and test if modification works (some of owncloud applications installed required even more of those requests enabled).
If everything is alright, copy this config to:
Code:
cp /etc/httpd/conf/extra/httpd-directories.conf /usr/local/directadmin/custombuild/custom/ap2/conf/extra
If /usr/local/directadmin/custombuild/custom/ap2/conf/extra directory does not exist, You may create it by
Code:
mkdir -p /usr/local/directadmin/custombuild/custom/ap2/conf/extra
 
Many thanks for your reply. This is the content for the file.

<Directory />
Options All
AllowOverride All
</Directory>

<Directory /home>
AllowOverride All
Options -MultiViews -Indexes +FollowSymLinks +IncludesNoExec +Includes
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>

<Directory "/var/www/html">
Options -Indexes +FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
<IfModule mod_suphp.c>
suPHP_Engine On
suPHP_UserGroup webapps webapps
SetEnv PHP_INI_SCAN_DIR
</IfModule>
</Directory>

<Directory /var/www/cgi-bin>
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>


If I am correct it is already set up as you suggests.
 
You may try adding "PUT" after "PROPFIND" in Limit and LimitExcept lines. Apache restart is needed for the changes to get applied.
 
Back
Top