[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 16:59:55 CEST

Greg Thomas wrote:
> On Thu, 29 Jun 2006 15:23:51 +0200, Rainer Sokoll
> <r.sokoll@intershop.de> wrote:

>>What if svn:mime-type is set to application/x-httpd-php?
> The MIME type of a file only affects how the client displays it. PHP
> etc. code is processed server side.

[The discussion goes slightly off topic, but I cannot stop myself ;-)]

I disagree.
To my best knowledge:
If you do not have somewhere in your apache config:

"AddType application/x-httpd-php .php" or
"application/x-httpd-php php" in mime.types

then apache will deliver the contents of your php file as text/plain.
If you have one of the statements above, apache will pass the php file
to mod_php (if DSO is supported) and then deliver whatever the php
script returns.
So my question is: Does mod_svn give back its results to apache for
further processing (for example mod_php) or not?


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