PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : mod_dav - apxs is broken



Cerox
15.04.06, 17:13
Hallo zusammen,

ich würde gerne Web-DAV nutzen und habe mich daher entschlossen, mod_dav im Apache einzusetzen.

Heruntergeladen habe ich mod_dav hier (http://www.webdav.org/mod_dav/); dann wollte ich auf der Seite auch die Installationsanleitung befolgen.

Beim Ausführen des configure Scriptes kommt nun folgender Fehler:


server:/www/source/mod_dav-1.0.3-1.3.6 # ./configure --with-apxs=/www/apache/bin/apxs
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for static Apache module support... no
checking for dynamic Apache module support (via APXS)... found at /www/apache/bin/apxs
configure: error: Your APXS installation is broken and cannot be used.
Please see http://www.webdav.org/mod_dav/install.html#apxs for
more information.

Ich bin dann auf die angegebene Seite gegangen und danach hier hin gelangt:

http://de2.php.net/manual/en/faq.build.php#faq.build.apxs

Dort steht, ich müsste das Script apxs editieren; nur leider finde ich keine von den dort aufgelisteteten Variablen in dem Script.

Kann mir jemand helfen?

ldi91
15.04.06, 19:32
verwede doch xampp. da ist mod_dav dabei. wenn du interesse hast kann ich dir mal ne config posten.

xampp gibt es unter http://www.apachefriends.org/de/xampp-linux.html

Cerox
15.04.06, 20:41
Nein XAMPP habe ich vorher gehabt und ich möchte dass jetzt selber konfigurieren.

LAMP läuft ja auch wunderbar - ich brauche nur noch mod_dav.

Oder meintest du ich kann das mod_dav Modul vom XAMPP "klauen" und dann einfach in meiner httpd.conf einbinden?

ldi91
15.04.06, 20:45
gute idee. ich guck grad mal nach meiner conf

ldi91
15.04.06, 20:46
#
# 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 "/opt/lampp/var/DavLock"

Alias /uploads "/opt/lampp/uploads"

<Directory "/opt/lampp/uploads">
Dav On

AuthType Digest
AuthName DAV-upload
# You can use the htdigest program to create the password database:
# htdigest -c "/opt/lampp/user.passwd" DAV-upload admin
AuthUserFile "/opt/lampp/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

Cerox
15.04.06, 20:59
Was deine Config mit den Web-DAV Containern jetzt hier soll weiß ich nicht.

Ich weiß auch nicht, ob man das "fertige" mod_dav Modul vom XAMPP nehmen könnte - ich denke mal eher nicht.

Weiß noch jemand wie ich das ursprüngliche Problem mit apxs behebe?