{"id":6335,"date":"2014-04-16T09:33:23","date_gmt":"2014-04-16T09:33:23","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/16\/installing-svn-server-using-nginx-collection-of-common-programming-errors-2\/"},"modified":"2014-04-16T09:33:23","modified_gmt":"2014-04-16T09:33:23","slug":"installing-svn-server-using-nginx-collection-of-common-programming-errors-2","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/16\/installing-svn-server-using-nginx-collection-of-common-programming-errors-2\/","title":{"rendered":"installing SVN server using NGINX-Collection of common programming errors"},"content":{"rendered":"<p>I am trying to install SVN server and use it with my NGINX webserver. i have tried this<br \/>\nin server section in nginx\/sites-enabled\/svn i have added this<\/p>\n<pre>\n  location \/var\/svn\/repos {\n        proxy_pass      http:\/\/127.0.0.1:81;\n        #include         \/etc\/nginx\/proxy.conf;\n        set  $dest  $http_destination;\n        if ($http_destination ~ \"^https:\/\/(.+)\") {\n           set  $dest   http:\/\/$1;\n        }\n       proxy_set_header  Destination   $dest;\n        }\n<\/pre>\n<p>and i am running apache on port 81 and have made the virtual host that were running 100% on apache. now whenever i try to svn checkout, i get this:<\/p>\n<pre>\n$ svn co http:\/\/svn.mysite.com\/myrepo\nsvn: Server sent unexpected return value (500 Internal Server Error) in response to OPTIONS request for 'http:\/\/svn.mysite.com\/myrepo'\n<\/pre>\n<p>and in error log i have this<\/p>\n<pre>\n2012\/04\/18 07:43:36 [error] 9914#0: *106 rewrite or internal redirection cycle while internal redirect to \"\/index.html\", client: 93.95.201.250, server: mysite.com, request: \"GET \/myrepo HTTP\/1.1\", host: \"svn.mysite.com\"\n<\/pre>\n<p>Do anybody know how to install svn server on nginx? any idea is highly appreciated?<br \/>\nThanks for your help<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am trying to install SVN server and use it with my NGINX webserver. i have tried this in server section in nginx\/sites-enabled\/svn i have added this location \/var\/svn\/repos { proxy_pass http:\/\/127.0.0.1:81; #include \/etc\/nginx\/proxy.conf; set $dest $http_destination; if ($http_destination ~ &#8220;^https:\/\/(.+)&#8221;) { set $dest http:\/\/$1; } proxy_set_header Destination $dest; } and i am running apache [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6335","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6335","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6335"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6335\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}