[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dav-dev
Subject:    [dav-dev] problem with http.conf?
From:       Guillowind () aol ! com
Date:       2002-04-27 17:38:59
[Download RAW message or body]

Please will somebody give me some input & take a look at my http.conf 
(Linux) I've been searching for help on all kinds of forums mandrakeuser.org 
and redhat nobody knows anything about mod_dav take a look at my file and 
tell whats wrong I keep getting "WEBDAV returned error on option request! 
trying to access my linux server running apache with mod_dav connecting from 
windows client with golive5.0

LoadModule dav_module        /usr/lib/apache/libdav.so
Include /etc/httpd/suse_loadmodule.conf
AddModule mod_mmap_static.c
AddModule mod_vhost_alias.c
AddModule mod_env.c
AddModule mod_dav.c
AddModule mod_unique_id.c
AddModule mod_so.c
AddModule mod_setenvif.c
<IfDefine DUMMYSSL>
AddModule mod_ssl.c
</IfDefine>


Include /etc/httpd/suse_addmodule.conf


ExtendedStatus On


#
# To enable mod_dav, add the following directive to the appropriate
# container(s) in the httpd.conf file:
#      question about this part here?  I created structure my self and set 
permissions #but lock is it suppossed to be a dir or a text file?
<IfModule mod_dav.c>
DavLockDB /var/lock/DAVLock/lock
</IfModule>
DAVMinTimeout 600

#
#
# enable the SSI (Server Side Includes) execution for +x files
#
<IfModule mod_include.c>
XBitHack on
</IfModule>


### Section 2: 'Main' server configuration

Port 80

User wwwrun
Group nogroup

ServerAdmin root@locahhost

ServerName mydomin.net

DocumentRoot "/home/"
DAVDepthInfinity Off

<Directory />
    Options -FollowSymLinks All
    AllowOverride None

</Directory>

# This should be changed to whatever you set DocumentRoot to.
#<Directory "/home/*/public_html"> had this here changed to below
#<Directory "/usr/local/httpd/htdocs">
#<Directory "/home/www/davhome/">
<Directory "/home/">

    Options Indexes -FollowSymLinks


    AllowOverride None

    Order allow,deny
    Allow from all


    #
    # disable WebDAV by default for security reasons.
    #
    <IfModule mod_dav.c>
    DAV On
    </IfModule>

<Files /usr/local/httpd/htdocs/index.htm*>
    Options -FollowSymLinks +Includes
</Files>

<Files test.php3>
    Order deny,allow
    deny from all
    allow from localhost
</Files>

</Directory>

<Directory /home/*/public_html>
</Directory>

<IfModule mod_dir.c>
    DirectoryIndex index.html
</IfModule>

AccessFileName .htaccess


<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>

UseCanonicalName On

<IfModule mod_mime.c>
    TypesConfig /etc/httpd/mime.types
</IfModule>

DefaultType text/plain



#

ErrorLog /var/log/httpd/error_log

LogLevel warn



<IfModule mod_alias.c>

    Alias /icons/ "/home/*/public_html/images/"

    <Directory "/home/*/public_html/images">
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>


</IfModule>


<IfDefine STATUS>
<Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from localhost
</Location>

<Location /server-info>
    SetHandler server-info
    Order deny,allow
    Deny from all
    Allow from localhost
</Location>


### Section 3: Virtual Hosts
#
# 
#NameVirtualHost *
<VirtualHost 66.xx.xx.107>
ServerName mydomian.net
ScriptAlias /php/ "/usr/bin/php"
AddType application/x-httpd-php .php .phtml
Action application/x-httpd-php "/php/php.exe"
DocumentRoot /home/user1111/pubic_html/
 <Location /home/user1111/public_html/>
    DAV on
    <LimitExcept GET HEAD OPTIONS>
      AuthName "WebDAV access"
      AuthType basic
      AuthUserFile /home/usr1111/public_html/.htpasswd
      Require user tezca
    </LimitExcept>
  </Location>
  <Directory /home/user1111/public_html/>
  Options FollowSymLinks All
  DAV on
  AllowOverride None
  </Directory>
</VirtualHost>

NameVirtualHost 66.xx.xx.108

<VirtualHost 66.xx.xx.108>
ServerName urrutiaart.com
DocumentRoot /home/user1001/public_html/
</VirtualHost>

<VirtualHost 66.xx.xx.108>
ServerName newdomain.com
DocumentRoot /home/user1002/public_html/
    <Location /home/user1002/public_html/>
    DAV on
    AllowOverride FileInfo AuthConfig Limit
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    <LimitExcept GET HEAD PUT OPTIONS>
    AuthName "WebDAV access"
      AuthType basic
      AuthUserFile /home/user1002/public_html/.htpasswd
      Require user dude2
    </LimitExcept>
  </Location>
</VirtualHost>

<VirtualHost 66.xx.xx.108>
ServerName newdomain2.com
DocumentRoot /home/user1003/public_html/
 <Location /home/user1003/public_html/>
    DAV on
    <Limit  GET HEAD PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK 
UNLOCK>
      AuthName "WebDAV access"
      AuthType basic
      AuthUserFile /home/user1003/public_html/.htpasswd
      Require user somebody
  </Limit>
  </Location>
</VirtualHost>

<VirtualHost 192.168.1.4>
ServerName newdomain6.com
DocumentRoot /home/user007/public_html/
<Location /home/user007/public_html/>
    DAV on
#    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    <LimitExcept GET HEAD OPTIONS>
      AuthName "newdomain6"
      AuthType basic
      AuthUserFile /home/user007/public_html/.htpasswd
      Require user geeeee
  </Limit>
  </Location>
   <Directory /home/user007/public_html/>
  Options FollowSymLinks All
  DAV on
  AllowOverride None
  </Directory>
</VirtualHost>
any help would be greatly appriciated 
Brian urrutia
_______________________________________________
dav-dev maillist  -  dav-dev@lyra.org
http://dav.lyra.org/mailman/listinfo/dav-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic