httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ajay Garg <ajaygargn...@gmail.com>
Subject [users@httpd] Re: Is it possible to add custom properties in WebDAV, on the server side?
Date Mon, 16 Apr 2012 20:29:55 GMT
Hi all.

I figured out that I will have to make changes in the file
"modules/dav/fs/repos.c" in httpd's code, to add custom properties.
I did manage to tweak around a bit, and things went fine.
So far so good :)

Now, what I really intend is to read a file (on the server side), and
transmit the contents of the file as a (custom) webdav property to the
clients.
As a part of this, I intend to "fopen" a file, read the contents, and then
"fclose" the file.

But when I do a "fopen", followed by a "fclose", the server crashes, with
the following "error_log" ::

#############################################################################################
[Tue Apr 17 01:57:31 2012] [notice] child pid 25683 exit signal
Segmentation fault (11)
[Tue Apr 17 01:57:31 2012] [notice] child pid 25684 exit signal
Segmentation fault (11)
[Tue Apr 17 01:57:31 2012] [notice] child pid 25685 exit signal
Segmentation fault (11)
[Tue Apr 17 01:57:31 2012] [notice] child pid 25686 exit signal
Segmentation fault (11)
[Tue Apr 17 01:57:31 2012] [notice] child pid 25687 exit signal
Segmentation fault (11)
[Tue Apr 17 01:57:31 2012] [notice] child pid 25688 exit signal
Segmentation fault (11)
[Tue Apr 17 01:57:31 2012] [notice] child pid 25689 exit signal
Segmentation fault (11)
[Tue Apr 17 01:57:31 2012] [notice] child pid 25690 exit signal
Segmentation fault (11)
[Tue Apr 17 01:57:32 2012] [notice] child pid 25708 exit signal
Segmentation fault (11)
[Tue Apr 17 01:57:33 2012] [notice] child pid 25709 exit signal
Segmentation fault (11)
#############################################################################################


I have specifically not put in more details, as random googling seemed to
indicate that there might be some configuration that needs to be tweaked,
to enable "fopen" on "httpd".

Is that so? :|

I will be really grateful for a reply, as it's been close to two days,
since this is bugging me.


Looking forward to a reply.


Regards,
Ajay

On Sat, Apr 14, 2012 at 11:54 PM, Ajay Garg <ajaygargnsit@gmail.com> wrote:

> Ping :)
>
> Regards,
> Ajay
>
>
> On Fri, Apr 13, 2012 at 3:19 PM, Ajay Garg <ajaygargnsit@gmail.com> wrote:
>
>> Hi all.
>>
>> I have a Fedora 14 machine.
>>
>> I have been able to setup a WebDAV share, in httpd's context, at the
>> server side.
>> Also, I am able to (successfully) access the WebDAV share, through
>> gnome-nautilus, on the client side.
>>
>> I am wondering, if there is a way to add custom properties on the server
>> side, which could then be retrieved by "PROPFIND" ?
>> Currently, I get the following properties via PROPFIND per resource ::
>>
>>
>>
>> ######################################################################################################
>> getlastmodified= Thu, 12 Apr 2012 08:17:13 GMT
>> supportedlock=
>>
>>
>>
>> getetag= "80a30-1e2-4bd76fbb9e370"
>> getcontentlength= 482
>> resourcetype=
>> creationdate= 2012-04-12T08:17:13Z
>> getcontenttype= text/plain
>> lockdiscovery=
>> Failed for: [(u'DAV:', u'displayname'), (u'DAV:', u'owner')]
>> Not Found (404).
>>
>> ######################################################################################################
>>
>>
>> Looking forward to a reply.
>>
>>
>> Regards,
>> Ajay
>>
>
>

Mime
View raw message