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

Re: Server name shortcut in Apache2

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-03-04 19:26:58 CET

R. Welz wrote:

> Befor reading the "DNS and BIND 9" Manual can someone tell me if is is
> possible at all to get a subdomain / shortcut for
> 192.168.1.11/svn/trunk so that I have left: http://subversion.localhost ?
>

Not as such. You can map subversion.somedomain (don't use localhost as a top
level domain) to the IP address 192.168.1.11. Then you could create a
<virtualhost> entry that contains the appropriate configuration:

NameVirtualHost 192.168.1.11
<VirtualHost 192.168.1.11>
   ServerName subversion.somedomain
   <Location />
     DAV svn
     SVNPath /absolute/path/to/svn/trunk
   </Location>
</VirtualHost>

something like that (not tested). FWIW, I use .internal as my fake TLD. No I
cannot tell you the appropriate BIND config lines to enable this; I have long
since switched to tinydns and have helpfully forgotten the baroque BIND file
notation.

HTH

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 4 19:25:31 2004

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.