You are not logged in.
Pages: 1
Hello,
Can some one please show me how to delete/stop iptables from running. I don't need it anymore and maybe that is the reason I can't get webdav to work .
thanks
Seto--
Offline
if you can access the web site on that server, then it is not intefering. webdav uses http port 80. it was designed to be compatible with firewalls in the same way as a regular webserver is.
I would further counsel you that not having firewall protection on a server (assuming it is properly configured) is a bad idea.
That being said, you can disable iptables by removing iptables from the daemons list in /etc/rc.conf
and issuing an
/etc/rc.d/iptables stop
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
After fooling around for about 20 minutes stabbing at the dark, I got webdav to work on a test machine just fine.
If the above doesn't fix your issue, let me know, and I will throw together a quick wiki on how to do it.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
I will be greatfull to have a the wiki on webdav. Thank you Cactus...
Seto--
Offline
http://wiki2.archlinux.org/index.php/Si … av%20Setup
be warned, I took no time to implement reasonable permissions on the dav dir. That should be done with httpd Auth directives inside the directory directive specific to webdav.
Something along the lines of
AuthGroupFile /dev/null
AuthType Digest
AuthName "WebDav Dir"
AuthDigestFile /home/httpd/.htdigestA
require valid-user
<Limit GET POST>
require user cactus
</Limit>
Not sure which LIMIT methods need to be limited, a little research on your part would likely go a long way on that one, as well as digest based AuthType for apache..
but, the wiki is a good start for just getting dav up and running.
I had to make a package build for cadaver. I have used it in the past on my test machine, and even used it to work with my iMac account when I was playing with my powerbook's free iMac trial.
there is an interesting how to out there for settting up your own .mac account on your server, and fooling your Mac into using it instead of .mac. It is basically just a webdav setup with a little dns tom-foolery ala a hosts file.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Do I have to creat the this file?
AuthDigestFile /home/httpd/.htdigestA
Seto--
Offline
if you are wanting to use httpd authentication, yes.
you create it with the following..
htdigest -c /home/httpd/.htdigestA WebDav username
then to add more users..
htdigest /home/httpd/.htdigestA WebDav username2
the -c means create the file, so if you use it subsequently, it overwrites everything..heh.
http://httpd.apache.org/docs-2.0/programs/htdigest.html
http://httpd.apache.org/docs/howto/auth.html
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Pages: 1