LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   webdav configuration error !! (https://www.linuxquestions.org/questions/linux-networking-3/webdav-configuration-error-263316/)

hitesh_linux 12-06-2004 02:37 PM

webdav configuration error !!
 
Hi,

i am trying to setup local webdav coinfiguration with Apache on RHEL 3. I have setup one test web site on local system. when i try to access webdav through browser I got following error messages in browser. if any one need configuration details please let me know.

"Webdav is not a registered protocol"

any idea ?

is there any tools or good docs on webdav so i can refer it. I have visit this site called www.webdav.org but not getting an idea.

Thanx in adv...

-/Hitesh

linux_terror 12-07-2004 01:17 AM

Did you copile apache with webdav? I don't think its compiled into the rpm's, you'll have to compile it from source.
do a

./configure --help

to see the options....you'll proably at least want to use --enable-dav-fs and --enable-dav

Hope this helps,
linux_terror

hitesh_linux 12-07-2004 11:19 AM

Thanx for thr reply.

i am not sure it's compile with RPM's. could you tell me how to compile with source code?

do i have to download the source code? if yes, from where i can download it?

Thanx again...

-/Hitesh

linux_terror 12-08-2004 06:38 AM

You can get the source code here --> http://httpd.apache.org/

when you configure a suitable configure line should be

Code:

./configure --prefix=/usr/local/apache --enable-so --enable-cgi --enable-info --enable-rewrite --enable-speling --enable-usertrack --enable-deflate --enable-ssl --enable-mime-magic --enable-vhost-alias --enable-dav-fs --enable-dav
then do
Code:

make
make install

some of these options may not be needed but this should give a robust and scalable webserver that you dont have to recompile later because somethings missing.

NOTE: I would uninstall your apache rpm before installing the new apache, if nothing else just for the sake of confusion.

I would suggest going with apache 2.0.52 and then compile php 4.3.9 afterwards. this will give you the latest builds on both.

you can get php from http://php.net I would not suggest using php5 yet.
configure line for php would be something like

Code:

./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql --prefix=/usr/local/apache/php --with-config-file-path=/usr/local/apache/php --enable-force-cgi-redirect --disable-cgi --with-zlib --with-gettext --with-gdbm
theres a great tutorial on this at http://dan.drydog.com/apache2php.html notice the tutorial does not compile webdav in though, use the configure line i gave you.

More questions? post again :D
Hope this helps,
linux_terror

hitesh_linux 12-24-2004 10:31 PM

linux_terror,

Thanx for the help and sorry for the late reply.

I have check that httpd 2.0.46 and php 4.3.2-8.nt installed on RHEL 3. shell i have uninstall to install 2.0.52, if yes, i have check it giving me depenceis error.

Now what to do?

-/Hitesh

hitesh_linux 12-25-2004 03:10 AM

Ok....

I compiled apache 2.0.52 and php 4.3.10 both successfully. I followed your steps mention above for both. I started apache service with /usr/local/apache/bin/apachectl start.

Note: before that i stoped default installed apache service.

[root@domain conf]# /usr/local/apache/bin/apachectl start
[root@domain conf]#

it look like started. when can u tell me how to i check in browser? bec'sz i have given mydomain.com in browser it showing apache default page.

but now do not know the place where i can configure webdav? please tell me how to configre or in which file i should configuewebdav?
previosuly i have configure webdav in /etc/httpd/conf/httpd.conf file. now where is the new complied apache httpd.conf file the i can configure webdav.

please help me I almost to end....

-/Hitesh


All times are GMT -5. The time now is 08:53 AM.