I use IIS 7.5 with the Application Request Routing and URL Rewriting modules to act as a reverse proxy for several apache-based web sites, including VisualSVN Server. I'm having a problem when I try to commit a Web.config file, TortoiseSVN gives me the following error:

Sending content: C:\Users\Tim Long\Desktop[obfuscated]\www\1\admin\Comments\Web.config Error: Commit failed (details follow): Error: '/svn/TiGra/!svn/wrk/852c5a84-a682-2847-8b29-6d5b353ff786/trunk/Webs/[obfuscated]/www/1/admin/Comments/Web.config' Error: path not found Finished!:

In the IIS logs, I see a 404 not found:

2011-08-05 17:47:05 PUT /svn/TiGra/!svn/wrk/852c5a84-a682-2847-8b29-6d5b353ff786/trunk/Webs/[obfuscated]/www/1/admin/Comments/Web.config - 80 - SVN/1.6.17+(r1128011)/TortoiseSVN- 404 8 0 0

I suspect this is because IIS is configured to disallow *.config files from being served. I've edited the request filtering rules for the site and explicitly allowed .config files, I've also added a MIME type of text/plain, but no joy.

Can anyone suggest what I need to do to get IIS to correctly allow Web.config files to pass transparently through to the back-end VisualSVN server?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.