Hi all.
I added a "perror" log statement, and I found "Permission denied" log in "/etc/httpd/logs/error_log".
I then, ensured the following ::
a)
The directory containing the file had permissions set to 0777.
b)
The file had permissions set to 0777.
c)
I checked each option in "System -> Administration -> SeLinux management -> Boolean -> apache".
But I still face the exact same scenarios as before effecting the above three changes.
Kindly help me, as to what else I may try out. Please.
Thanks and Regards,
AjayOn Tue, Apr 17, 2012 at 1:59 AM, Ajay Garg <ajaygargnsit@xxxxxxxxx> wrote:
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@xxxxxxxxx> wrote:Ping :)
Regards,
AjayOn Fri, Apr 13, 2012 at 3:19 PM, Ajay Garg <ajaygargnsit@xxxxxxxxx> 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