'overwritewebroot' => '/owncloud' error

Status
Not open for further replies.

Mam Ruoc

Cadet
Joined
Nov 27, 2014
Messages
2
Hello,

I just installed the owncloud plugin and started it up.
I then added:
'overwritewebroot' => '/owncloud',

in config.php:
/usr/pbi/owncloud-amd64/www/owncloud/config/config.php

The result is that it seems to forward me to "correct" path, but I get:
The requested URL /owncloud/index.php/apps/files/ was not found on this server.

I am not sure what to do from here, anybody can help me?
 

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
I don't use that plugin, but here's an excellent guide that may be helpful.
Use the forums search feature to find more posts about Owncloud.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hello,

I just installed the owncloud plugin and started it up.
I then added:
'overwritewebroot' => '/owncloud',

in config.php:
/usr/pbi/owncloud-amd64/www/owncloud/config/config.php

The result is that it seems to forward me to "correct" path, but I get:
The requested URL /owncloud/index.php/apps/files/ was not found on this server.

I am not sure what to do from here, anybody can help me?
are you trying to change owncloud'd URL? that's not how, you need to change that in your webserver (for the plugin its apache).

that setting is something you just change after. it tells owncloud what your webroot is if a script is triggered not from a webrowser (where OC can figure it out), for example when OC sends out notification emails from cron. otherwise links in this email won't know the correct URL
 

Mam Ruoc

Cadet
Joined
Nov 27, 2014
Messages
2
are you trying to change owncloud'd URL? that's not how, you need to change that in your webserver (for the plugin its apache).

that setting is something you just change after. it tells owncloud what your webroot is if a script is triggered not from a webrowser (where OC can figure it out), for example when OC sends out notification emails from cron. otherwise links in this email won't know the correct URL

Of course! Why didn't I think about it?!
For later reference, the change has to be done in:
/usr/pbi/owncloud-amd64/etc/apache22/Includes/owncloud.conf
 
Status
Not open for further replies.
Top