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

Re: Dynamic content and the order of httpd2 module processing

From: David Mankin <david_at_ants.com>
Date: 2002-09-04 07:38:23 CEST

On Tuesday, September 3, 2002, at 07:50 PM, Justin Erenkrantz wrote:

> On Wed, Sep 04, 2002 at 12:43:00PM +1000, Justin Clift wrote:
>> <Directory />
>> DAV svn
>> SVNPath /www/repos
>> </Directory>
>
> Hmm, that bit should be <Location />.
>
>> But I'd like Subversion to be able to provide dynamic files (PHP).
>
> You might want to try:
>
> AddOutputFilter php .php
>
> Yet, I'm not convinced that will work as I think we'd have to
> rerun mod_mime or something like that once we know what the
> 'file' extension is. (I think the path_info components aren't
> tested in mod_mime.)
>
> If that doesn't work, then we probably need to rethink how mod_dav
> delivers content so that we can get this to work. -- justin
>
Short of reworking mod_dav, you might be able to setup proxying... I
haven't tried this, but you might be able to get apache to proxy to
itself so that, for instance, the repository is served on port 81, and
then the port 80 requests are proxied onto the port 81 server. (That
part should be quite doable.) Getting apache to then run the pages
through php before returning them to the browser might be possible.

-David

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 4 07:39:35 2002

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