LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-01-2008, 08:04 PM   #1
baldur_the_god
Member
 
Registered: Feb 2007
Posts: 54

Rep: Reputation: 15
dav and svn


I am having troubles with both dav and svn...I get the same 403 error when trying to access it. I had a fc6 server and all the configurations worked fine...I updated my server to fc8 and now I cannot get dav access. I get the same error on svn access...permission denied...I have tried several different configurations and cannot get this to work...here is the configuration...

in httpd.conf

<directory "location of dav">
dav on
<directory>


just to see if it worked and same error

in httpd.conf

<directory "location of dav">
full configuration of dav get post and all that good stuff...
</directory>


and it did not work...i am not a newbie but I am also not extremely experienced here but I cannot figure out what this is not working. I have searched the logs and all the say is...

...Get /dav/ HTTP/1.1" 403 280...

which is essentially nothing...

I have also chown apache.apache -R and I still get permission denied...I do have SELinux disabled...


baldur

Last edited by Matir; 02-08-2008 at 03:10 PM. Reason: spam
 
Old 02-02-2008, 10:21 AM   #2
baldur_the_god
Member
 
Registered: Feb 2007
Posts: 54

Original Poster
Rep: Reputation: 15
dav and svn

a little more on this issue...the problem is with mod_security...it is blocking my access...error log


Sat Feb 02 10:12:40 2008] [error] [client 192.168.0.50] ModSecurity: Access denied with code 403 (phase 4). Pattern match "(?:>\\\\[To Parent Directory\\\\]<\\\\/[Aa]><br>|<title>Index of.*?<h1>Index of)" at RESPONSE_BODY. [id "970013"] [msg "Directory Listing"] [severity "WARNING"] [hostname "www.japru.com"] [uri "/test/"] [unique_id "KP7osMCoAAIAAHyHgbIAAAAD"]

I have tried in httpd.conf...

<IfModule mod_security.c>
# SecFilterEngine off
# SecFilterURLEncoding off
# SecFilterScanPost off
SecFilterSelective REQUEST_METHOD "^(PROPFIND|PROPATCH)$" allow
SecFilterSelective REQUEST_METHOD "^(REPORT|OPTIONS)$" allow
SecFilterSelective REQUEST_METHOD "^(PUT|DELETE|MERGE)$" allow
SecFilterSelective REQUEST_METHOD "^(MKCOL)$" allow
</IfModule>

and still have not succeeded to solve the issue...any help would be much appreciated...

baldur

Last edited by Matir; 02-08-2008 at 03:11 PM. Reason: spam
 
Old 02-02-2008, 12:16 PM   #3
baldur_the_god
Member
 
Registered: Feb 2007
Posts: 54

Original Poster
Rep: Reputation: 15
dav svn

no one helped me so i helped my damn self. the problem was that mod_security was blocking me from doing the whole dav thingy. I have to add a line removing services...

baldur

Last edited by Matir; 02-08-2008 at 03:11 PM. Reason: spam
 
Old 03-25-2008, 07:16 AM   #4
hashim.km
LQ Newbie
 
Registered: Mar 2006
Posts: 14

Rep: Reputation: 0
Quote:
Originally Posted by baldur_the_god View Post
no one helped me so i helped my damn self. the problem was that mod_security was blocking me from doing the whole dav thingy. I have to add a line removing services...

baldur
what u have add and what service u have removed
 
Old 05-16-2008, 09:14 AM   #5
baldur_the_god
Member
 
Registered: Feb 2007
Posts: 54

Original Poster
Rep: Reputation: 15
dav svn

your post makes no sense...are you asking a question?
 
  


Reply

Tags
dav, httpd, modsecurity, webdav



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
anon svn read-only over apache: '.svn/entries': No such file hedpe Linux - Software 2 04-29-2009 05:31 AM
compiling apache with dav for subversion linuxmandrake SUSE / openSUSE 0 09-17-2007 01:41 PM
SVN Help Crobat Linux - Software 1 07-18-2006 04:56 PM
apache web dav paul_mat Linux - Networking 0 03-19-2006 05:32 AM
frontpage2002 w/DAV mod Toneloc Linux - Software 1 02-11-2003 04:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration