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

Re: Repository website content as live website

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-09-27 19:08:26 CEST

On Sep 27, 2005, at 19:02, Paul Koning wrote:

> Ryan> RewriteRule rewrites from URLs to URLs, so that's closer,
> Ryan> except that when crossing hostname boundaries, as you are, it
> Ryan> actually has to issue a Location header to redirect the
> Ryan> client. Someone would type in http://ourintranet.com/,
> Ryan> mod_rewrite would issue a redirect, and the browser's address
> Ryan> bar would now show http://snv.ourstuff.com/repos/
> Ryan> oursvn/trunk/intranet/ which is probably not what you want.
> A thought comes to mind. I assume I can have more one <Location>
> element in the Apache conf, pointing to the *same* repository. Given
> that, I can put one into the virtual host section for the intranet
> hostname, and use Rewrite to map top level names to that lower level
> URL within the same virtual host. I would include access controls to
> make this view read-only (not that it really matters I think).

Yes, as long as you've been dilligent in informing Subversion about
the MIME types of your files, and as long as it's all static content,
that should work. We have not told Subversion about our files' MIME
types, and our sites are all PHP-based, so it would not have worked
for us.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 27 19:11:41 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.