[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: IIS and SVN

From: Mike Henry <mhenry07_at_yahoo.com>
Date: 2006-09-15 21:13:21 CEST

I think I may have found a solution to this problem.
See my reply to Serving websites from tagged WCs at
http://www.svnforum.org/2017/viewtopic.php?p=5364#5364:

I know this is an old topic but it's still an issue
that comes up. This issue has previously hindered me
from using Subversion with certain web sites on IIS.

Pete's second suggestion seems to work for me. I
installed the free version of ISAPI_Rewrite and
configured it with the following rule in httpd.ini,
which seems to work:

  # Prevent access to Subversion folders (_svn and
.svn)
  RewriteRule .*/[._]svn(/.*)? . [F,I,O]

I hope this helps, but please let me know if you
discover any issues with this solution.

- Mike

PS Eric, I'm resending this to the mailing list for
the sake of others.

Eric Rousse wrote:

> Hi Guys,
>
> I've did a couple of search about IIS and SVN and I
haven't found a
> clear solution to my problem.
>
> Currently I've did a setup of SVN on a Windows 2000
server, it's
> working perfectly fine. That server is currently our
dev server
> running IIS.
> What I did, is that I've installed svnserve on it,
and every time
> someone does an modification on a file then a
commit, via TortoiseSVN
> (on their PC). It calls a post-commit hook on the
server.
>
> post-commit.bat
> C:\Progra~1\Subver~1\bin\svn update
D:\websites\bluffm~1.com
>
>
> It works okay, but of course, I'm getting all the
.svn folders in my
> websites, no big deal since its a dev site, but
still I'm looking for
> other solution, if there's any...
>
> I haven't seen any clear solution and windows based
solution about
> that... I've heard a couple of solution with perl
possibly, and by
> using svn export (but in this case we have to find a
way to delete
> removed files, right ?)
>
>
> The other problem, is that since the dev ppl, have
access to the dev
> server via SVN, I was wondering, how we could
automate the update of
> our prod server easily ? Either via the dev pc by
using another
> repository to send the stuff to the prod server or
with simply a
> script on the server it self, that could update the
prod one. I was
> thinking of maybe a asp page that could call an svn
update or export
> from the prod server. That way the dev ppl could do
a deploy themself...
>
> Thanks for any input!
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail:
users-help@subversion.tigris.org
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 15 21:14:00 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.