Take the 2-minute tour ×

I'm not sure if I'm missing the point here...

Our devs want the following...

On a LAMP server with SVN/WebDAV they want the root Apache directory to be a repository that they can all work on. However, setting the default Apache directory to a repo doesn't work as the files aren't stored as html/php files, instead in the SVN db structure to handle changes/revisions/etc.

Is there any way to do this? or would we have to have a separate repo that they copy files to/from the web root when developing?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You have to setup a separate svn repository and Hook Scripts. This hook scripts can checkout the code on every code change to your apache root. This is quite common an also used for automatic testing etc.

share|improve this answer
Excellent cheers! –  mbuk2k Apr 26 '12 at 12:00

Your Answer


