LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   dav and svn (https://www.linuxquestions.org/questions/linux-server-73/dav-and-svn-618068/)

baldur_the_god 02-01-2008 08:04 PM

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

baldur_the_god 02-02-2008 10:21 AM

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

baldur_the_god 02-02-2008 12:16 PM

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

hashim.km 03-25-2008 07:16 AM

Quote:

Originally Posted by baldur_the_god (Post 3043758)
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

baldur_the_god 05-16-2008 09:14 AM

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


All times are GMT -5. The time now is 08:32 PM.