Joe Feise | 14 Dec 01:00 2007

Announcement: WebDAV add-on for Firefox


In the past, users of Firefox who needed to access WebDAV servers only had
one choice:
Julian Reschke's OpenWebFolder extension which hooks into Microsoft's
WebDAV component and thus only works on Windows.

Now there is a second choice:
Under my guidance, a team of three undergraduate students (Ayse Sabuncu,
Benjamin Schuster, and Ryan McLelland) from the Department of Computer
Science at the Johns Hopkins University has developed a new,
cross-platform WebDAV extension called WebFolder.
The extension, developed for their Senior Design Project course
(http://www.cs.jhu.edu/~phf/2007/fall/cs392/), implements the full class 2
WebDAV protocol (including locking) in JavaScript and runs on any platform
supported by recent versions of Firefox.
The extension is available at http://webfolder.mozdev.org/

-Joe

MacAce - Piers Roberts | 28 Aug 16:11 2007
Picon

Mod_dav with working Quotas

Hello,

I have a working webdav server setup on Ubuntu Linux using Apache2 and mod_dav. I am using userdirs for users to access a directory within their home folder and authentication using mod_script.

What is the current best practice for inflicting quotas on users? I’ve looked at the options of setting apache to run as root and using mod_become to use system quotas, but I feel their must be a more secure, modern way of doing this especially since the original mod_become developer has since disassociated himself from the module!

I’ve looked at recompiling Apache with various hacks, but again I have not found a decent solution.

Basically I’m asking for a step by step guide of the best way of doing this as I am no guru when it comes to Apache!

Any help is appreciated!

Regards,
Piers Roberts
<div>
<span>Hello,<br><br>
I have a working webdav server setup on Ubuntu Linux using Apache2 and mod_dav. I am using userdirs for users to access a directory within their home folder and authentication using mod_script.<br><br>
What is the current best practice for inflicting quotas on users? I&rsquo;ve looked at the options of setting apache to run as root and using mod_become to use system quotas, but I feel their must be a more secure, modern way of doing this especially since the original mod_become developer has since disassociated himself from the module!<br><br>
I&rsquo;ve looked at recompiling Apache with various hacks, but again I have not found a decent solution.<br><br>
Basically I&rsquo;m asking for a step by step guide of the best way of doing this as I am no guru when it comes to Apache!<br><br>
Any help is appreciated!<br><br>
Regards,<br>
Piers Roberts</span>
</div>
Michaël Cadilhac | 26 Aug 23:46 2007
Face

mod_dav on a shared hosting.

Hi guys!

Sorry if this question has been asked before, I just can't found the
information.

My web host said to me, « If you give us a way to switch on DAV for
every clients just by adding a few lines to our global configuration,
then we'll add them ».

So, I'm not at all a regular user of Apache, but I told them « You just
have to add the DavLockDb line, and then for each client file (each
VirtualHost), add a ` <Location /webdav> DAV On </Location> ' line. »

They insisted on the fact that the change HAS to be on the global file
only.  So, is there a way to say: « The /webdav directory of each
VirtualHost has DAV On » ?

Thanks in advance!

--

-- 
 |   Michaël `Micha' Cadilhac       |    This .sig has been generated        |
 |   http://michael.cadilhac.name   |         by Outlook Express 98          |
 |   JID/MSN:                       |    and triple-checked on               |
 `----  michael.cadilhac <at> gmail.com  |         Windows Mail Vista.       -  --'

Joel Rodriguez | 22 Aug 06:52 2007

Dreamweaver 8.0.2

Hi,

I have been using DAV since March of this year and I thought everything was
setup properly. But I have been having problems as of late and I have not
been able to find a solution.

The basic problem is that everything appears to work one minute, then the
next, nothing works.

The error messages from Dreamweaver usually start with a connection lost and
subsequent put/get requests result in a "Cannot display the remote folder:
An HTTP WebDAV error occurred."

The error log file contains:

[Tue Aug 21 17:08:05 2007] [error] [client 67.47.174.182] Could not fetch
resource information.  [400, #0]
[Tue Aug 21 17:08:05 2007] [error] [client 67.47.174.182] (20)Not a
directory: The URL contains extraneous path components. The resource could
not be identified.  [400, #0]

My server consists of FreeBSD6.2 running Apache 2.2 with all the appropriate
shared objects. All the ports on the system are up to date. I run a
publishing port 81 (was 8080 until my server was bombarded by numerous proxy
requests).

An example conf for a website is:

#
# Virtual Hosts
#

<VirtualHost 207.158.15.92:80>
    ServerAdmin webmaster <at> twinpeakscatering.com
    DocumentRoot /usr/home/www/twinpeakscatering.com/htdocs
    ServerName twinpeakscatering.com
    ServerAlias www.twinpeakscatering.com
    ScriptAlias /cgi-bin/ "/usr/home/www/twinpeakscatering.com/cgi-bin/"
    RewriteEngine on
    RewriteCond %{HTTP_HOST}  ^(www\.)*twinpeakscatering\.com
    Include etc/apache22/extra/httpd-user-agents.conf
    ErrorLog /var/log/www/twinpeakscatering.com-error_log
    CustomLog /var/log/www/twinpeakscatering.com-access_log combined
    AddType text/html .htm
    AddHandler server-parsed .htm
    AddHandler server-parsed .html
</VirtualHost>

<Directory "/usr/home/www/twinpeakscatering.com/htdocs">
    DAV On
    AuthType Basic
    AuthName "WebDAV Restricted"
#    AuthType Digest
#    AuthName DAV-upload
    AuthUserFile /usr/local/etc/apache22/.htpasswd
    AuthGroupFile /usr/local/etc/apache22/.htgroup
#    AuthUserFile /usr/home/www/twinpeakscatering.com/.htpasswd
#    AuthDigestFile /usr/home/www/twinpeakscatering.com/.htpasswd
#    AuthGroupFile /usr/home/www/twinpeakscatering.com/.htgroup
    <Limit PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK
OPTION>
       Require group administrators
       Require user joel
    </Limit>
    Options Indexes FollowSymLinks MultiViews Includes
    AllowOverride None
#    AllowOverride All
    Order allow,deny
    Allow from all
    Include etc/apache22/extra/httpd-global-deny.conf
</Directory>
<Directory "/usr/home/www/twinpeakscatering.com/htdocs/webalizer">
    DAV On
    AuthType Basic
    AuthName "WebDAV Restricted"
#    AuthType Digest
#    AuthName DAV-upload
    AuthUserFile /usr/local/etc/apache22/.htpasswd
    AuthGroupFile /usr/local/etc/apache22/.htgroup
#    AuthUserFile /usr/home/www/twinpeakscatering.com/.htpasswd
#    AuthDigestFile /usr/home/www/twinpeakscatering.com/.htpasswd
#    AuthGroupFile /usr/home/www/twinpeakscatering.com/.htgroup
    <Limit GET PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK
UNLOCK>
       Require group administrators
       Require user joel
    </Limit>
    Options Indexes FollowSymLinks MultiViews Includes
    AllowOverride None
#    AllowOverride All
    Order allow,deny
    Allow from all
    Include etc/apache22/extra/httpd-global-deny.conf
</Directory>
<Directory "/usr/home/www/twinpeakscatering.com/cgi-bin/">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    Include etc/apache22/extra/httpd-global-deny.conf
</Directory>

# authoring
<VirtualHost 207.158.15.92:81>
    ServerAdmin webmaster <at> twinpeakscatering.com
    DocumentRoot /usr/home/www/twinpeakscatering.com/htdocs
    ServerName twinpeakscatering.com
    ServerAlias www.twinpeakscatering.com
    ScriptAlias /cgi-bin/ "/usr/home/www/twinpeakscatering.com/cgi-bin/"
    RewriteEngine on
    RewriteCond %{HTTP_HOST}  ^(www\.)*twinpeakscatering\.com
    Include etc/apache22/extra/httpd-user-agents.conf
#    RewriteRule ^(/on-line.htm) http://tahoestores.net/tahoehouse/ [R]
    ErrorLog /var/log/www/twinpeakscatering.com-pub-error_log
    CustomLog /var/log/www/twinpeakscatering.com-pub-access_log combined
    AddType text/html .htm
#    AddHandler server-parsed .htm
#    AddHandler server-parsed .html
</VirtualHost>

I also have the standard httpd-dav.conf file installed:

#
# Distributed authoring and versioning (WebDAV)
#
# Required modules: mod_dav, mod_dav_fs, mod_setenvif, mod_alias
#                   mod_auth_digest, mod_authn_file
#

# The following example gives DAV write access to a directory called
# "uploads" under the ServerRoot directory.
#
# The User/Group specified in httpd.conf needs to have write permissions
# on the directory where the DavLockDB is placed and on any directory where
# "Dav On" is specified.

DavLockDB "/usr/local/etc/DAV/DavLock"

Alias /uploads "/usr/local/etc/DAV/uploads"

<Directory "/usr/local/etc/DAV/uploads">
    Dav On

    Order Allow,Deny
    Allow from all

    AuthType Digest
    AuthName DAV-upload
    # You can use the htdigest program to create the password database:
    #   htdigest -c "/usr/local/user.passwd" DAV-upload admin
    AuthUserFile "/usr/local/etc/DAV/user.passwd"

    # Allow universal read-access, but writes are restricted
    # to the admin user.
    <LimitExcept GET OPTIONS>
        require user admin
    </LimitExcept>
</Directory>
#
# The following directives disable redirects on non-GET requests for
# a directory that does not include the trailing slash.  This fixes a
# problem with several clients that do not appropriately handle
# redirects for folders with DAV methods.
#
BrowserMatch "Microsoft Data Access Internet Publishing Provider"
redirect-carefully
BrowserMatch "MS FrontPage" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
BrowserMatch "^gnome-vfs/1.0" redirect-carefully
BrowserMatch "^XML Spy" redirect-carefully
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
BrowserMatch "^Contribute" redirect-carefully

Any thoughts on how to solve the problem would be appreciated.

Thanks

Joel Rodriguez

Andrew Peterson | 10 Aug 02:12 2007
Picon

Error on Make...

I would appreciate any help trying to get mod_dav installed.  I'm  
having a rough time.

I'm running Apache 2.2.4 and php 5.2.3 on OS X.

When I run:
sudo ./configure --with-apxs=/usr/local/apache2/bin/apxs

it runs fine, but when I run:
sudo make

This is what is found in the config.log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.52.  Invocation command line was

   $ ./configure --with-apxs=/usr/local/apache2/bin/apxs

## ---------- ##
## Platform.  ##
## ---------- ##

hostname = KoS.local
uname -m = i386
uname -r = 8.10.1
uname -s = Darwin
uname -v = Darwin Kernel Version 8.10.1: Wed May 23 16:33:00 PDT  
2007; root:xnu-792.22.5~1/RELEASE_I386

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = Mach kernel version:
	 Darwin Kernel Version 8.10.1: Wed May 23 16:33:00 PDT 2007;  
root:xnu-792.22.5~1/RELEASE_I386
Kernel configured for up to 2 processors.
2 processors are physically available.
2 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1
Primary memory available: 2.00 gigabytes
Default processor set: 67 tasks, 227 threads, 2 processors
Load average: 0.81, Mach factor: 1.18
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH = /opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/ 
usr/local/bin:/usr/local/apache2/bin:/usr/local/apache2/php/bin

## ------------ ##
## Core tests.  ##
## ------------ ##

configure:921: PATH=".;."; conftest.sh
./configure: line 922: conftest.sh: command not found
configure:924: $? = 127
configure:980: checking for gcc
configure:995: found /usr/bin/gcc
configure:1003: result: gcc
configure:1231: checking for C compiler version
configure:1234: gcc --version </dev/null >&5
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build  
5250)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There  
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR  
PURPOSE.

configure:1237: $? = 0
configure:1239: gcc -v </dev/null >&5
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5250.obj~12/src/configure -- 
disable-checking -enable-werror --prefix=/usr --mandir=/share/man -- 
enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg] 
[^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 -- 
build=powerpc-apple-darwin8 --with-arch=pentium-m --with- 
tune=prescott --program-prefix= --host=i686-apple-darwin8 -- 
target=i686-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5250)
configure:1242: $? = 0
configure:1244: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1247: $? = 1
configure:1267: checking for C compiler default output
configure:1270: gcc    conftest.c  >&5
configure:1273: $? = 0
configure:1302: result: a.out
configure:1307: checking whether the C compiler works
configure:1313: ./a.out
configure:1316: $? = 0
configure:1331: result: yes
configure:1338: checking whether we are cross compiling
configure:1340: result: no
configure:1343: checking for executable suffix
configure:1345: gcc -o conftest    conftest.c  >&5
configure:1348: $? = 0
configure:1370: result:
configure:1376: checking for object suffix
configure:1394: gcc -c   conftest.c >&5
configure:1397: $? = 0
configure:1416: result: o
configure:1420: checking whether we are using the GNU C compiler
configure:1441: gcc -c   conftest.c >&5
configure:1444: $? = 0
configure:1447: test -s conftest.o
configure:1450: $? = 0
configure:1462: result: yes
configure:1468: checking whether gcc accepts -g
configure:1486: gcc -c -g  conftest.c >&5
configure:1489: $? = 0
configure:1492: test -s conftest.o
configure:1495: $? = 0
configure:1505: result: yes
configure:1532: gcc -c -g -O2  conftest.c >&5
conftest.c:2: error: parse error before 'me'
configure:1535: $? = 1
configure: failed program was:
#ifndef __cplusplus
   choke me
#endif
configure:1671: checking for ranlib
configure:1686: found /usr/bin/ranlib
configure:1695: result: ranlib
configure:1737: checking how to run the C preprocessor
configure:1763: gcc -E  conftest.c
configure:1769: $? = 0
configure:1796: gcc -E  conftest.c
configure:1793:28: error: ac_nonexistent.h: No such file or directory
configure:1802: $? = 1
configure: failed program was:
#line 1792 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:1839: result: gcc -E
configure:1854: gcc -E  conftest.c
configure:1860: $? = 0
configure:1887: gcc -E  conftest.c
configure:1884:28: error: ac_nonexistent.h: No such file or directory
configure:1893: $? = 1
configure: failed program was:
#line 1883 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:1932: checking for ANSI C header files
configure:1946: gcc -E  conftest.c
configure:1952: $? = 0
configure:2039: gcc -o conftest -g -O2   conftest.c  >&5
configure: In function 'main':
configure:2031: warning: incompatible implicit declaration of built- 
in function 'exit'
configure:2042: $? = 0
configure:2044: ./conftest
configure:2047: $? = 0
configure:2060: result: yes
configure:2070: checking for static Apache module support
configure:2103: result: no
configure:2108: checking for dynamic Apache module support (via APXS)
configure:2148: result: found at /usr/local/apache2/bin/apxs
configure:2191: checking for expat
configure:2330: result: found in /usr/local
configure:2413: creating ./config.status

## ----------------------- ##
## Running config.status.  ##
## ----------------------- ##

This file was extended by config.status 2.52, executed with
   CONFIG_FILES    =
   CONFIG_HEADERS  =
   CONFIG_LINKS    =
   CONFIG_COMMANDS =
   > ./config.status
on KoS.local

config.status:2847: creating Makefile
config.status:2847: creating libdav.module
config.status:2938: creating config.h

## ----------------- ##
## Cache variables.  ##
## ----------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_stdc=yes
ac_cv_objext=o
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_g=yes

## ------------ ##
## confdefs.h.  ##
## ------------ ##

#define STDC_HEADERS 1
#define HAVE_EXPAT_2 1

configure: exit 0

## ----------------------- ##
## Running config.status.  ##
## ----------------------- ##

This file was extended by config.status 2.52, executed with
   CONFIG_FILES    =
   CONFIG_HEADERS  =
   CONFIG_LINKS    =
   CONFIG_COMMANDS =
   > ./config.status
on KoS.local

config.status:2847: creating Makefile
config.status:2847: creating libdav.module
config.status:2938: creating config.h
config.status:3079: config.h is unchanged

And here is the output when I run "make":

gcc -c   -I/usr/local/apache2/include -I/usr/local/include -g -O2     
dav_props.c -o dav_props.o
In file included from dav_props.c:141:
mod_dav.h:98: error: parse error before 'pool'
mod_dav.h:109: error: parse error before '*' token
mod_dav.h:124: error: parse error before '*' token
mod_dav.h:272: error: parse error before '*' token
mod_dav.h:275: error: parse error before '*' token
mod_dav.h:278: error: parse error before '*' token
mod_dav.h:281: error: parse error before '*' token
mod_dav.h:284: error: parse error before '*' token
mod_dav.h:287: error: parse error before '*' token
mod_dav.h:337: error: parse error before '*' token
mod_dav.h:368: error: parse error before 'table'
mod_dav.h:368: warning: no semicolon at end of struct or union
mod_dav.h:372: error: parse error before '}' token
mod_dav.h:372: warning: data definition has no type or storage class
mod_dav.h:384: error: parse error before 'dav_dyn_context'
mod_dav.h:384: warning: no semicolon at end of struct or union
mod_dav.h:389: error: parse error before '}' token
mod_dav.h:389: warning: data definition has no type or storage class
mod_dav.h:434: error: parse error before '*' token
mod_dav.h:469: error: parse error before '*' token
mod_dav.h:470: error: parse error before '*' token
mod_dav.h:472: error: parse error before '*' token
mod_dav.h:473: error: parse error before '*' token
mod_dav.h:475: error: parse error before '*' token
mod_dav.h:477: error: parse error before '*' token
mod_dav.h:492: error: parse error before '*' token
mod_dav.h:493: error: parse error before '*' token
mod_dav.h:495: error: parse error before '*' token
mod_dav.h:496: error: parse error before '*' token
mod_dav.h:496: warning: data definition has no type or storage class
mod_dav.h:498: error: parse error before '*' token
mod_dav.h:501: error: parse error before 'dav_dyn_hooks'
mod_dav.h:513: error: parse error before '*' token
mod_dav.h:513: warning: data definition has no type or storage class
mod_dav.h:698: error: parse error before 'array_header'
mod_dav.h:698: warning: no semicolon at end of struct or union
mod_dav.h:700: warning: data definition has no type or storage class
mod_dav.h:703: error: parse error before 'dav_xml_doc'
mod_dav.h:705: error: parse error before '*' token
mod_dav.h:712: error: parse error before '*' token
mod_dav.h:725: error: parse error before '*' token
mod_dav.h:726: error: parse error before '*' token
mod_dav.h:727: error: parse error before '*' token
mod_dav.h:918: error: parse error before '*' token
mod_dav.h:1054: error: parse error before '*' token
mod_dav.h:1103: error: parse error before '*' token
mod_dav.h:1114: error: parse error before '*' token
mod_dav.h:1307: error: parse error before 'array_header'
mod_dav.h:1314: error: parse error before 'dav_xml_doc'
mod_dav.h:1426: error: parse error before 'dav_xml_doc'
mod_dav.h:1426: warning: no semicolon at end of struct or union
mod_dav.h:1447: error: parse error before '}' token
mod_dav.h:1447: warning: data definition has no type or storage class
mod_dav.h:1449: error: parse error before '*' token
mod_dav.h:1629: error: parse error before '*' token
mod_dav.h:1683: error: parse error before '*' token
mod_dav.h:1793: error: parse error before '*' token
mod_dav.h:1793: warning: data definition has no type or storage class
mod_dav.h:1801: error: parse error before '*' token
dav_props.c:203: error: parse error before 'pool'
dav_props.c:203: warning: no semicolon at end of struct or union
dav_props.c:215: error: parse error before '*' token
dav_props.c:215: warning: data definition has no type or storage class
dav_props.c:231: error: parse error before '*' token
dav_props.c:231: warning: data definition has no type or storage class
dav_props.c:232: error: parse error before '}' token
dav_props.c: In function 'dav_find_liveprop':
dav_props.c:289: error: nested functions are not on MacOSX
dav_props.c:289: error: syntax error before '*' token
dav_props.c:308: error: dereferencing pointer to incomplete type
dav_props.c:310: error: 'ddh' undeclared (first use in this function)
dav_props.c:310: error: (Each undeclared identifier is reported only  
once
dav_props.c:310: error: for each function it appears in.)
dav_props.c:310: error: dereferencing pointer to incomplete type
dav_props.c: In function 'dav_rw_liveprop':
dav_props.c:327: error: nested functions are not on MacOSX
dav_props.c:327: error: syntax error before '*' token
dav_props.c:352: error: 'ddh' undeclared (first use in this function)
dav_props.c:352: error: dereferencing pointer to incomplete type
dav_props.c:353: error: dereferencing pointer to incomplete type
dav_props.c: In function 'dav_do_prop_subreq':
dav_props.c:372: error: dereferencing pointer to incomplete type
dav_props.c:372: error: dereferencing pointer to incomplete type
dav_props.c:372: error: dereferencing pointer to incomplete type
dav_props.c:372: error: too few arguments to function  
'ap_sub_req_lookup_uri'
dav_props.c: In function 'dav_insert_coreprop':
dav_props.c:392: error: dereferencing pointer to incomplete type
dav_props.c:394: error: dereferencing pointer to incomplete type
dav_props.c:426: error: dereferencing pointer to incomplete type
dav_props.c:430: error: dereferencing pointer to incomplete type
dav_props.c:430: error: dereferencing pointer to incomplete type
dav_props.c:432: error: dereferencing pointer to incomplete type
dav_props.c:448: error: dereferencing pointer to incomplete type
dav_props.c:449: error: dereferencing pointer to incomplete type
dav_props.c:452: error: dereferencing pointer to incomplete type
dav_props.c:452: error: dereferencing pointer to incomplete type
dav_props.c:452: warning: assignment makes pointer from integer  
without a cast
dav_props.c:458: error: dereferencing pointer to incomplete type
dav_props.c:459: error: dereferencing pointer to incomplete type
dav_props.c:464: error: dereferencing pointer to incomplete type
dav_props.c:467: error: dereferencing pointer to incomplete type
dav_props.c:468: error: dereferencing pointer to incomplete type
dav_props.c:476: error: dereferencing pointer to incomplete type
dav_props.c:479: error: dereferencing pointer to incomplete type
dav_props.c:480: warning: assignment makes pointer from integer  
without a cast
dav_props.c:498: error: dereferencing pointer to incomplete type
dav_props.c:499: warning: assignment makes pointer from integer  
without a cast
dav_props.c:503: error: dereferencing pointer to incomplete type
dav_props.c:503: warning: assignment makes pointer from integer  
without a cast
dav_props.c:505: error: dereferencing pointer to incomplete type
dav_props.c: In function 'dav_insert_liveprop':
dav_props.c:528: error: dereferencing pointer to incomplete type
dav_props.c:533: error: dereferencing pointer to incomplete type
dav_props.c: In function 'dav_append_prop':
dav_props.c:560: error: dereferencing pointer to incomplete type
dav_props.c:560: warning: assignment makes pointer from integer  
without a cast
dav_props.c:563: error: dereferencing pointer to incomplete type
dav_props.c:563: warning: assignment makes pointer from integer  
without a cast
dav_props.c:569: error: dereferencing pointer to incomplete type
dav_props.c:570: warning: assignment makes pointer from integer  
without a cast
dav_props.c:573: error: dereferencing pointer to incomplete type
dav_props.c:574: warning: assignment makes pointer from integer  
without a cast
dav_props.c:579: error: dereferencing pointer to incomplete type
dav_props.c:579: warning: assignment makes pointer from integer  
without a cast
dav_props.c:582: error: dereferencing pointer to incomplete type
dav_props.c:582: warning: assignment makes pointer from integer  
without a cast
dav_props.c:584: error: dereferencing pointer to incomplete type
dav_props.c: In function 'dav_prep_ns_map':
dav_props.c:609: error: dereferencing pointer to incomplete type
dav_props.c:613: error: dereferencing pointer to incomplete type
dav_props.c:614: error: dereferencing pointer to incomplete type
dav_props.c:617: error: dereferencing pointer to incomplete type
dav_props.c:625: error: dereferencing pointer to incomplete type
dav_props.c:625: error: dereferencing pointer to incomplete type
dav_props.c:625: error: dereferencing pointer to incomplete type
dav_props.c:625: error: dereferencing pointer to incomplete type
dav_props.c:628: error: dereferencing pointer to incomplete type
dav_props.c:631: error: dereferencing pointer to incomplete type
dav_props.c:631: error: dereferencing pointer to incomplete type
dav_props.c:658: error: dereferencing pointer to incomplete type
dav_props.c:683: error: dereferencing pointer to incomplete type
dav_props.c:694: error: dereferencing pointer to incomplete type
dav_props.c:694: error: dereferencing pointer to incomplete type
dav_props.c:695: error: dereferencing pointer to incomplete type
dav_props.c:695: error: dereferencing pointer to incomplete type
dav_props.c:696: error: dereferencing pointer to incomplete type
dav_props.c:698: error: dereferencing pointer to incomplete type
dav_props.c:700: error: dereferencing pointer to incomplete type
dav_props.c: In function 'dav_find_dav_id':
dav_props.c:710: error: dereferencing pointer to incomplete type
dav_props.c:713: error: dereferencing pointer to incomplete type
dav_props.c: At top level:
dav_props.c:725: error: parse error before '*' token
dav_props.c: In function 'dav_insert_xmlns':
dav_props.c:730: error: 'p' undeclared (first use in this function)
dav_props.c:730: error: 'pre_prefix' undeclared (first use in this  
function)
dav_props.c:730: error: 'ns' undeclared (first use in this function)
dav_props.c:730: error: 'ns_uri' undeclared (first use in this function)
dav_props.c:730: warning: assignment makes pointer from integer  
without a cast
dav_props.c:731: error: 'phdr' undeclared (first use in this function)
dav_props.c: In function 'dav_get_propdb_xmlns':
dav_props.c:738: error: dereferencing pointer to incomplete type
dav_props.c:742: error: dereferencing pointer to incomplete type
dav_props.c:751: error: dereferencing pointer to incomplete type
dav_props.c: At top level:
dav_props.c:757: error: parse error before 'array_header'
dav_props.c: In function 'dav_add_marked_xmlns':
dav_props.c:761: error: 'marks' undeclared (first use in this function)
dav_props.c:761: error: 'ns' undeclared (first use in this function)
dav_props.c:765: error: 'propdb' undeclared (first use in this function)
dav_props.c:766: error: 'pre_prefix' undeclared (first use in this  
function)
dav_props.c:766: error: invalid type argument of '->'
dav_props.c:767: error: 'phdr' undeclared (first use in this function)
dav_props.c: In function 'dav_gdbm_key':
dav_props.c:795: error: dereferencing pointer to incomplete type
dav_props.c:804: error: dereferencing pointer to incomplete type
dav_props.c:812: error: dereferencing pointer to incomplete type
dav_props.c:812: error: dereferencing pointer to incomplete type
dav_props.c:813: error: dereferencing pointer to incomplete type
dav_props.c:814: error: dereferencing pointer to incomplete type
dav_props.c:815: error: dereferencing pointer to incomplete type
dav_props.c:819: error: dereferencing pointer to incomplete type
dav_props.c: In function 'dav_really_open_db':
dav_props.c:831: error: dereferencing pointer to incomplete type
dav_props.c:834: error: dereferencing pointer to incomplete type
dav_props.c:834: error: dereferencing pointer to incomplete type
dav_props.c:834: error: dereferencing pointer to incomplete type
dav_props.c:835: error: dereferencing pointer to incomplete type
dav_props.c:837: error: dereferencing pointer to incomplete type
dav_props.c:849: error: dereferencing pointer to incomplete type
dav_props.c:852: error: dereferencing pointer to incomplete type
dav_props.c:852: error: dereferencing pointer to incomplete type
dav_props.c:863: error: dereferencing pointer to incomplete type
dav_props.c:871: error: dereferencing pointer to incomplete type
dav_props.c:871: error: dereferencing pointer to incomplete type
dav_props.c:872: error: dereferencing pointer to incomplete type
dav_props.c:872: error: dereferencing pointer to incomplete type
dav_props.c:875: error: dereferencing pointer to incomplete type
dav_props.c:883: error: dereferencing pointer to incomplete type
dav_props.c:883: error: dereferencing pointer to incomplete type
dav_props.c:884: error: dereferencing pointer to incomplete type
dav_props.c:889: error: dereferencing pointer to incomplete type
dav_props.c:889: error: dereferencing pointer to incomplete type
dav_props.c:890: error: dereferencing pointer to incomplete type
dav_props.c:894: error: dereferencing pointer to incomplete type
dav_props.c:894: error: dereferencing pointer to incomplete type
dav_props.c:896: error: dereferencing pointer to incomplete type
dav_props.c:901: error: dereferencing pointer to incomplete type
dav_props.c:902: error: dereferencing pointer to incomplete type
dav_props.c:904: error: dereferencing pointer to incomplete type
dav_props.c:904: error: dereferencing pointer to incomplete type
dav_props.c: At top level:
dav_props.c:913: error: parse error before 'array_header'
dav_props.c: In function 'dav_open_propdb':
dav_props.c:916: error: dereferencing pointer to incomplete type
dav_props.c:916: warning: initialization makes pointer from integer  
without a cast
dav_props.c:919: error: 'p_propdb' undeclared (first use in this  
function)
dav_props.c:929: error: dereferencing pointer to incomplete type
dav_props.c:930: error: dereferencing pointer to incomplete type
dav_props.c:931: error: dereferencing pointer to incomplete type
dav_props.c:932: error: dereferencing pointer to incomplete type
dav_props.c:933: error: dereferencing pointer to incomplete type
dav_props.c:935: error: dereferencing pointer to incomplete type
dav_props.c:935: error: request for member 'hooks' in something not a  
structure or union
dav_props.c:936: error: dereferencing pointer to incomplete type
dav_props.c:936: error: request for member 'hooks' in something not a  
structure or union
dav_props.c:938: error: dereferencing pointer to incomplete type
dav_props.c:940: error: dereferencing pointer to incomplete type
dav_props.c:942: error: 'ro' undeclared (first use in this function)
dav_props.c:943: error: dereferencing pointer to incomplete type
dav_props.c: In function 'dav_close_propdb':
dav_props.c:957: error: dereferencing pointer to incomplete type
dav_props.c:958: error: dereferencing pointer to incomplete type
dav_props.c:960: error: dereferencing pointer to incomplete type
dav_props.c:963: error: dereferencing pointer to incomplete type
dav_props.c:972: error: dereferencing pointer to incomplete type
dav_props.c:973: error: dereferencing pointer to incomplete type
dav_props.c:977: error: dereferencing pointer to incomplete type
dav_props.c:978: error: dereferencing pointer to incomplete type
dav_props.c:978: error: dereferencing pointer to incomplete type
dav_props.c:978: error: dereferencing pointer to incomplete type
dav_props.c:978: error: dereferencing pointer to incomplete type
dav_props.c:980: error: dereferencing pointer to incomplete type
dav_props.c:982: error: dereferencing pointer to incomplete type
dav_props.c:982: error: dereferencing pointer to incomplete type
dav_props.c:986: error: dereferencing pointer to incomplete type
dav_props.c:986: error: dereferencing pointer to incomplete type
dav_props.c: In function 'dav_get_allprops':
dav_props.c:991: error: dereferencing pointer to incomplete type
dav_props.c:1001: error: nested functions are not on MacOSX
dav_props.c:1001: error: syntax error before '*' token
dav_props.c:1007: error: dereferencing pointer to incomplete type
dav_props.c:1012: error: dereferencing pointer to incomplete type
dav_props.c:1016: error: dereferencing pointer to incomplete type
dav_props.c:1067: error: dereferencing pointer to incomplete type
dav_props.c:1077: error: dereferencing pointer to incomplete type
dav_props.c:1086: error: dereferencing pointer to incomplete type
dav_props.c:1087: error: dereferencing pointer to incomplete type
dav_props.c:1092: error: request for member 'elts' in something not a  
structure or union
dav_props.c:1093: error: request for member 'nelts' in something not  
a structure or union
dav_props.c:1095: error: dereferencing pointer to incomplete type
dav_props.c:1098: error: 'ddh' undeclared (first use in this function)
dav_props.c:1098: error: dereferencing pointer to incomplete type
dav_props.c:1099: error: dereferencing pointer to incomplete type
dav_props.c:1138: error: dereferencing pointer to incomplete type
dav_props.c: At top level:
dav_props.c:1148: error: parse error before 'dav_xml_doc'
dav_props.c: In function 'dav_get_props':
dav_props.c:1150: error: 'propdb' undeclared (first use in this  
function)
dav_props.c:1151: error: 'doc' undeclared (first use in this function)
dav_props.c:1174: warning: assignment makes pointer from integer  
without a cast
dav_props.c:1177: error: request for member 'nelts' in something not  
a structure or union
dav_props.c:1177: warning: assignment makes pointer from integer  
without a cast
dav_props.c:1257: warning: assignment makes pointer from integer  
without a cast
dav_props.c:1265: warning: assignment makes pointer from integer  
without a cast
dav_props.c: In function 'dav_prop_validate':
dav_props.c:1337: error: dereferencing pointer to incomplete type
dav_props.c:1346: error: dereferencing pointer to incomplete type
dav_props.c:1361: error: dereferencing pointer to incomplete type
dav_props.c:1372: error: dereferencing pointer to incomplete type
dav_props.c:1373: error: dereferencing pointer to incomplete type
dav_props.c: In function 'dav_prop_exec':
dav_props.c:1406: error: dereferencing pointer to incomplete type
dav_props.c:1406: warning: assignment makes pointer from integer  
without a cast
dav_props.c:1410: error: dereferencing pointer to incomplete type
dav_props.c:1423: error: dereferencing pointer to incomplete type
dav_props.c:1423: error: dereferencing pointer to incomplete type
dav_props.c:1434: error: dereferencing pointer to incomplete type
dav_props.c:1437: error: dereferencing pointer to incomplete type
dav_props.c:1438: error: dereferencing pointer to incomplete type
dav_props.c:1441: error: dereferencing pointer to incomplete type
dav_props.c:1441: error: dereferencing pointer to incomplete type
dav_props.c:1456: error: dereferencing pointer to incomplete type
dav_props.c:1456: error: dereferencing pointer to incomplete type
dav_props.c:1467: error: dereferencing pointer to incomplete type
dav_props.c: In function 'dav_prop_commit':
dav_props.c:1481: error: dereferencing pointer to incomplete type
dav_props.c: In function 'dav_prop_rollback':
dav_props.c:1503: error: dereferencing pointer to incomplete type
dav_props.c:1511: error: dereferencing pointer to incomplete type
dav_props.c:1511: error: dereferencing pointer to incomplete type
dav_props.c:1515: error: dereferencing pointer to incomplete type
dav_props.c:1515: error: dereferencing pointer to incomplete type
make: *** [dav_props.o] Error 1

Derek Lee | 7 Aug 17:23 2007

Apache webdav MySQL auth configuration

Hi All,

As a new webdav user. kindly to have your advice. I have tried to config
webdav running on apache for few months but it still doesn't work. :-(

I try to enable my apache to run webdav on apache (SSL) on FC6.

I append the following configuration in /etc/httpd/conf.d/auth_mysql.conf
for MySQL Auth and make a new foloder /home/apache/webdav in my linux box
with own/group 'apache'. However, when I add a network place.  it prompts
the folder doesn't exist.

Kindly to know any log I can refer to have some clue. I have tried to
visit the log under /etc/httpd/logs but it doesn't help much.

Alias /webdav/ "/home/apache/webdav/"
<Directory /home/apache/webdav>
    AuthName "Group authenticated zone"
    AuthType Basic
    AuthMYSQLEnable on
    AuthMySQLUser user
    AuthMySQLPassword pass
    AuthMySQLDB mydatabase
    AuthMySQLUserTable webdav_users
    AuthMySQLNameField user_name
    AuthMySQLPasswordField user_passwd
    AuthMySQLGroupTable webdav_groups
    AuthMySQLGroupField user_group

    require group gluelet
</Directory>

Michael.Renner | 26 Jul 17:56 2007

WebDAV with apache mod_proxy

Moin,

I want to setup a new WebDAV server for my users. For some reasons it in nessesary to use a proxy for this.
Is it possible to use mod_proxy at the 'real' WebDAV server to read/write to an other WebDAV server?

Thanks 

Michael Renner
IT Infrastruktur

DAB bank AG
Landsberger Strasse 300
80687 München
Telefon: +49 (0) 89 50068-580
Mobile: +49 (0) 89 21705279
mailto: michael.renner <at> dab.com
http://www.dab-bank.com

DAB bank AG, Landsberger Str. 300, 80687 München, Umsatzsteuer-Identnr. DE 161864563
Sitz: München, Handelsregister: AG München, HRB 118190
Vorstand: Ernst Huber, Alexander Freiherr von Uslar-Gleichen, Dr. Markus Walch
> 
> 
Aufsichtsratsvorsitzender: Andreas Wölfer; Aufsichtsbehörde: Bundesanstalt für
Finanzdienstleistungsaufsicht 

> WICHTIGER HINWEIS: 
> Sie haben uns gebeten, mit Ihnen per E-Mail zu kommunizieren. Bitte senden Sie uns per E-Mail 
> keine vertraulichen Informationen oder zeitkritische Aufträge, da diese aus Sicherheitsgründen 
> nicht akzeptiert werden. Mitarbeiter der DAB bank AG sind nicht einzelvertretungsberechtigt. Bitte 
> teilen Sie uns Änderungen Ihrer persönlichen Daten oder sonstiger wesentlicher Tatsachen zu Ihrer 
> eigenen Sicherheit ausschließlich schriftlich mit. Mit der Zusendung dieser Nachricht behält sich 
> die DAB bank alle für sie bestehenden Rechte an der Nachricht vor, insbes. ist es nicht gestattet, 
> diese Nachricht weiter zu verbreiten oder für eigene oder Zwecke Dritter zu verwenden. Der Inhalt 
> dieser Nachricht ist vertraulich; diese Nachricht darf nicht ohne Zustimmung der DAB bank an Dritte 
> weitergeleitet werden.
> 
> 
> 

Kevin Stearns | 13 Jul 19:08 2007
Picon

Does Apache 2.2.4's mod_dav module properly handle errors during a PUT with a content-range field?

Hello, dav developers.

I would like to discuss the behavior of the dav_method_put function in 
Apache 2.2.4's
mod_dav module that I believe is currently incorrect.

Currently,  in the dav_method_put in apache 2.2.4  , if ap_get_brigade 
returns an 
error then the entire file gets deleted by the call to 
resource->hooks->close_stream
before the dav_method_put returns. This is true even if the client 
specifies a the 
content-range field in the PUT request.

It seems to me, for a PUT operation where an entire file is being 
transferred a 
delete would be the proper course of action to undo the transaction. But, 
deleting 
an entire file when a PUT transaction that is attempting to change just a 
portion 
of a previously existing file would be the wrong way to restore the state 
of the 
file to what it was before the PUT was processed.

I don't know if this dav_method_put behavior is by design or is meant for 
conformance to the webdav RFCs. I also do not know if any current webdav 
clients 
depend on this behavior in anyway.

Changing this behavior would allow webdav clients to be developed that can 
transfer
multi-giga bytes files with out needing to re-send the entire file from 
the beginning after
transient network problems.

I think that Apache bug 38148 
http://issues.apache.org/bugzilla/show_bug.cgi?id=38148 
expresses similar problem. But no changes have been made with regards to 
that.

Patrick Birke | 11 Jul 18:31 2007

dot files and https with baisc auth from windows

I apologize if these two questions have been asked before but I cannot 
find a straight answer on either of them.

1. How can I hide dot files when connecting via web dav? Mac clients 
seem to be fine but windows clients see everything!

2. What is the status of web dav support over https from a windows 
client? For reasons I won't go into, I need to use basic auth and https 
does not seems to work with basic auth from windows clients.

Any help on these two questions would be greatly appreciated!

Thanks,

-Patrick
pbirke (at) visi (dot) com
Wendy L. Murray | 11 Jul 14:54 2007

Setting Up WebDav on RHEL4

Anyone have any insight on configuring Webdav on Red hat Enterprise 4?

 

I’m going all over the place trying to find information on this.

 

Thank you in advance!

 

Wendy

 

 

 

 National Institute of Aerospace: This e-mail message (including all attachments transmitted with it, if any) is intended solely for the use of the addressee and may contain company proprietary information. If you are not the person to whom this e-mail is addressed, or an employee or agent responsible for delivering this message to the person to whom it is addressed, you are hereby notified that any dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately by e-mail reply, then please delete this e-mail, together with any attachments to it, from your computer.

<div>
<p>

</p>
<div class="Section1">

<p class="MsoNormal"><span>Anyone have any insight on configuring Webdav on Red hat Enterprise 4?<p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span>I&rsquo;m going all over the place trying to find
information on this.<p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span>Thank you in advance!<p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span>Wendy<p></p></span></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

<p class="MsoNormal"><span>&nbsp;</span><p></p></p>

<p class="MsoNormal"><span><p>&nbsp;</p></span></p>

</div>

 
<p>
</p>
<p>
</p>
<p></p>
<p></p>
<p>&nbsp;National Institute of Aerospace: This 
e-mail message (including all attachments transmitted with it, if any) is 
intended solely for the use of the addressee and may contain company proprietary 
information. If you are not the person to whom this e-mail is addressed, or an 
employee or agent responsible for delivering this message to the person to whom 
it is addressed, you are hereby notified that any dissemination, distribution, 
copying, or other use of this message or its attachments is strictly prohibited. 
If you have received this e-mail in error, please notify the sender immediately 
by e-mail reply, then please delete this e-mail, together with any attachments 
to it, from your computer. </p>
</div>
Peter Stone | 26 May 01:38 2007

Apache 1.3, mod_dav and Digest Auth

Hi,

Summary:  I'm getting "password mismatch" errors in error_log, and
Windows XP won't connect with Web Folders.

Full Story:
I'm installing a WebDAV server that integrates with existing FTP space. 
So, each user's file are in, e.g.,

/www/sites/{username}/public_html

I'm using a RewriteRule to send users to the correct directory:

RewriteRule ^/DAV(/(.*))?$ /www/sites/%{LA-U:REMOTE_USER}/public_html/$2 [L]

Dav is enabled with a <Location> directive:

<Location /DAV>
        Dav On
        AuthType Digest
        AuthName "WebDAV"
        AuthDigestFile /etc/httpd/conf/digest
        AuthDigestDomain /DAV/
        require valid-user
</Location>

I'm using mod_auth_digest, rather than mod_digest.  I "require
valid-user" at first, since I need to rewrite them to their home
directory, then once the user is logged in, the .htaccess file in their
directory has "require user {username}".  Every request I make, Apache
(1.3.33) logs a "password mismatch" error - but most clients can still
connect fine:

cadaver on Linux: seems fine.
cadaver on Cygwin: seems fine.
DAVExplorer on WinXP: seems fine.
WinXP Web Folders (Add a Network Place): adds the location, then "opens"
the folder, but it's empty.  Subsequent views of the folder spawn an
error dialog: "Document in this folder are not available.  The folder
may have been moved or deleted, or network problems may be preventing a
connection to the server."

Wireshark shows that WinXP is sending what appears to be a valid
response, but Apache's responding with a 401, and there's no
re-request.  I've tried the following to fix WinXP:

## Broken WebDAV for Windows XP
#
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
BrowserMatch "Microsoft Data Access Internet Publishing Provider"
redirect-carefully
BrowserMatch "Microsoft-WebDAV-MiniRedir/5.1.2600" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS" redirect-carefully

Header add MS-Author-Via "DAV"

EncodingEngine on
NormalizeUsername on
#
## / Broken WebDav for Windows XP

... to no avail. 

Any ideas?

Thanks,
--
Peter Stone
PSP R&D

Gmane