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

Dynamic content and the order of httpd2 module processing

From: Justin Clift <justin_at_postgresql.org>
Date: 2002-09-04 04:43:00 CEST

Hi everyone,

Am trying to get subversion working in a particular way, and not *quite*
getting it to happen.

What I'm looking to do is have Subversion be the storage for a complete
site:

i.e.

<Directory />
  DAV svn
  SVNPath /www/repos
</Directory>

This bit works fine.

But I'd like Subversion to be able to provide dynamic files (PHP).

As Subversion provides the virtual filesystem layer to Apache, I thought
it would work automatically, but for me it doesn't.

It looks like Subversion is receiving a GET request, pulling the
requested document out of the virtual filesystem, then passing it
straight back to the client without passing it back to Apache for
further processed by modules.

Wondering if maybe it's a module loading order problem instead, and that
maybe Subversion is passing it back to Apache but that mod_php isn't
further in the chain of processing of modules.

Have already tried using "Addtype application/x-httpd-php .php" inside
the <Directory> block after the SVNPath, and have also tried using the
svn:mime-type property to set it it x-httpd-php.

Does anyone have any ideas on how I can get this
retrieval-then-further-processing thing to happen?

:-)

Regards and best wishes,

Justin Clift

-- 
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
   - Indira Gandhi
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 4 04:43:42 2002

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

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