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

Parse WebDAV i/o

From: Ian Smith-Heisters <public_at_0x09.com>
Date: 2005-12-07 23:16:28 CET

Hi all,

I've written a web site that uses the PHP directive "auto_prepend_file"
to automatically give every file in the site a certain include file.
Thus, every file is pure, virgin content.

The site is stored in an SVN repo, served with Apache2 mod_dav_svn. When
a client requests a file from SVN they receive a file that doesn't have
any of the PHP whatnot included, ie. the source code, which is good in
most cases.

However, there is a WYSIWYG editor (Macromedia Contribute) that needs
the layout information contained in the PHP include in order to provide
a user-friendly experience.

Is there any way to make dav_svn (selectively) parse PHP? Is there
perhaps just a way to just slap some text onto the top of certain files
when they're requested (eg. a CSS include, so that Contribute will at
least render styles)? Can SVN's WebDAV do any browser detection? Perhaps
using a pre-checkout script to detect the client, throw in layout info,
then a pre-checkin to remove the layout info?

I hope this question is clear enough. Please let me know if I can
clarify anything.

Cheers, and thanks in advance,
Ian

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 7 23:21:22 2005

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.