[users@httpd] web_dav with Apache 2-0-55 on Solaris returning HTTP 301 315 error codes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

 

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 HttpURL((String)webdavProps.get("user"), (String)webdavProps.get("password"), (String)webdavProps.get("host"),

                                          new Integer((String)webdavProps.get("port")).intValue(),(String)webdavProps.get("rootContext")));

 

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/mod_auth.so

LoadModule proxy_module modules/mod_proxy.so

LoadModule proxy_connect_module modules/mod_proxy_connect.so

LoadModule proxy_ftp_module modules/mod_proxy_ftp.so

LoadModule proxy_http_module modules/mod_proxy_http.so

LoadModule dav_module modules/mod_dav.so

LoadModule cgi_module modules/mod_cgi.so

LoadModule dav_fs_module modules/mod_dav_fs.so

LoadModule rewrite_module modules/mod_rewrite.so

 

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  

</Directory>

 

<Location /usr/local/apache/htdocs>

    DAV On

    AuthType Basic

    AuthName DAV

    AuthUserFile vss.passwd

</Location>

 

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.

Thanks!!!!

 

Annie Hamel

 


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux