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

Re: Web Hosting using subversion

From: Nicolai Scheer <scope_at_planetavent.de>
Date: 2007-10-12 10:22:36 CEST

Hi!

Nikhil Rasiwasia schrieb:
> We are a small academic group and have our small website. It usually
> happens that we need to update that from time to time and multiple
> people have to do so. I installed subversion to tackle this problem, but
> I am confused as to how to host that website using subversion.
>
> The real question being, the copy of the website that is actually
> hosted, does it have to be a local copy somewhere or I can direclty link
> it to the SVN repository so that if anyone commits the changes to the
> repository it is reflected on to the website. In the other case whats
> the solution to have real time update feedback? using a post-commit hook
> to update the hosted copy?

As Ryan already stated, just use a working copy. When doing so you
should make sure, that data from the hidden .svn folders can not be
accessed from outside.
Why? The .svn folders contain a local pristine copy of the files with
the file extension '.svn-base'. So if you, for example, are serving php
scripts, one might be able to download the source files, because the
webserver does not interpret them.

bye,

Nico

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 12 10:22:57 2007

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.