httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Annie Hamel" <>
Subject [users@httpd] web_dav with Apache 2-0-55 on Solaris returning HTTP 301 315 error codes
Date Fri, 21 Oct 2005 15:32:25 GMT


I have installed Apache 2_0_55 on a Solaris machine and included
mod_dav/mod_dav_fs in the modules.  After I configured Apache and
started it, I tried to use the methods in some of our own application
Java code.  The code is trying to create a new instance of
WebDavResource object using the constructor as shown here:


this.webdavResource = new WebdavResource(new
(String)webdavProps.get("password"), (String)webdavProps.get("host"),



I have verified that each parameter in the call is a valid value.  The
call fails.  In the error_log, there is no error at all.  In the
access_log file, I receive the following error from HTTPException:

162.99.999.99 - - [20/Oct/2005:15:10:04 -0400] "PROPFIND /vss/vssdocs
HTTP/1.1" 301 315  "-" "Jakarta Commons-HttpClient/2.0final"


/vss/vssdocs is the directory under my DocumentRoot where I want to
store my file. It has been created with all permissions and the
owner/group is nobody.


My web_dav is configured as so in the httpd.conf file:


LoadModule auth_module modules/

LoadModule proxy_module modules/

LoadModule proxy_connect_module modules/

LoadModule proxy_ftp_module modules/

LoadModule proxy_http_module modules/

LoadModule dav_module modules/

LoadModule cgi_module modules/

LoadModule dav_fs_module modules/

LoadModule rewrite_module modules/


DocumentRoot "/usr/local/apache/htdocs"


DAVLockDB /usr/local/apache/DAVLock


<Directory "/usr/local/apache/htdocs">

    DAV On

    Options Indexes FollowSymLinks

    AllowOverride None

    Order allow,deny

    Allow from all   



<Location /usr/local/apache/htdocs>

    DAV On

    AuthType Basic

    AuthName DAV

    AuthUserFile vss.passwd



And I configured this installation with:


CC="cc" ./configure --prefix=/usr/local/apache --enable-rewrite=shared
--enable-proxy=shared --enable-cgi=shared --enable-so=yes
--enable-auth=shared --enable-dav=shared --enable-dav-fs=shared


Please help!!!  The application code works on AIX with Apache 1.3.33
(linked with mod_dav), but we want to make sure that it works with a
more recent version of Apache. 


I have very minimal experience in setting up these kinds of applications
and I cannot find anything on the web about this situation. 



Annie Hamel


View raw message