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

Re: Updating a live website with a post-commit hook script

From: Rainer Sokoll <r.sokoll_at_intershop.de>
Date: 2006-06-29 15:23:51 CEST

Ryan Schmidt wrote:

>> Then point the webroot to <repos>/trunk/

> And to access the trunk, you have to visit the URL http://
> some.hostname/trunk. You cannot point SVNPath at /path/to/the/repo/
> trunk because "trunk" is not a repository; it is a path within the
> repository.

Ok, I got it. You are right as long as the real stuff is in a subdir
like /trunk/, which is best practice.

>>> b) it only works if you have exclusively static files. As soon as you
>>> have any SSI or PHP or ASP or JSP or anything else dynamic, it can't
>>> work,
>>
>> Sorry, I don't see the point. Can you be more verbose?
>
> If your repository contains PHP files, for example, and you want to
> see the web site and have the PHP code evaluated, then the above
> VirtualHost is not sufficient, because Subversion will show the PHP
> source code, and will not pass it back to the Apache PHP module to
> have it interpreted.

What if svn:mime-type is set to application/x-httpd-php?

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 29 15:25:38 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.