[Owncloud] Extended webfinger app

Michiel de Jong michiel at unhosted.org
Wed Apr 18 12:55:43 UTC 2012


Hi Florian,

I updated the install webfinger-specific install instructions on
http://owncloud.org/install/ (section 2.3) - please review.

Also, you said you would think about whether it's strictly necessary
to have the mod_headers dependency in there. What are your thoughts? I
can imagine there might be shared hosting environments that don't have
mod_headers (although mod_rewrite should pretty much be a universal
default). I don't have any stats on that though, so if you have the
mod_rewrite dependency anyway, then the mod_headers dependency might
be OK.


Cheers!
Michiel

On Thu, Apr 12, 2012 at 6:29 PM, Florian Hülsmann <fh at cbix.de> wrote:
> Hi Arthur,
>
> thanks, yes, I'm gonna fix this as soon as possible!
>
> Cheers,
>
> Florian
>
> Am 12.04.2012 17:35, schrieb Arthur Schiwon:
>
>> Hey,
>>
>> On 04/03/2012 12:38 AM, Florian Hülsmann wrote:
>>>
>>> Hi all,
>>>
>>> I've recently been working on reimplementing the webfinger protocol for
>>> ownCloud, so other apps than the remoteStorage plugin can also use it.
>>> For instructions on how to use webfinger from your app, see the
>>> /apps/user_webfinger/webfinger.php file. I first thought of something
>>> like OC_Webfinger::register(), but unfortunately that not possible
>>> because the OC_Webfinger class must be in classpath before running all
>>> the appinfo/app.php scripts :-/
>>>
>>> I also made the need of a symlink to the .well-known folder obsolete by
>>> creating a static "host-meta" file during installation (see
>>> appinfo/install.php). To make this accessible by pure javascript apps,
>>> the install.php also creates a static .htaccess file which sets some
>>> additional headers, so to make use of this it's now recommended that you
>>> have the apache mod_headers activated.
>>
>>
>> I experience an issue here. I put up a fresh owncloud (git master),
>> proceeded the installation, finally ending in an error from the
>> webfinger app instead of the first login mask:
>>
>> "Could not open /var/www/.well-known/host-meta for writing, please check
>> permissions!"
>>
>> ownCloud lies in /var/www/owncloud-master/
>>
>> /var/www/ belongs by default to root.
>>
>> Cheers
>> Arthur
>>
>>>
>>> If you're pulling from master to update, please reinstall the webfinger
>>> app by deleting the .well-known symlink in your document root and
>>> calling owncloud/apps/user_webfinger/appinfo/install.php (with CURL or
>>> your browser, because it needs some server parameters!) I'm not sure if
>>> this could also be done by a built-in upgrade routine, so I'm telling
>>> you :P
>>>
>>> Hope you are ok with that (it's kind of my first "direct" contribution
>>> to a big FOSS project :D ), have a nice day!
>>>
>> _______________________________________________
>> Owncloud mailing list
>> Owncloud at kde.org
>> https://mail.kde.org/mailman/listinfo/owncloud
>
>
> --
> Florian Hülsmann
> <fh at cbix.de>
> http://cbix.de
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud



More information about the Owncloud mailing list