[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: Robert Helmer <robert_at_roberthelmer.com>
Date: 2004-02-29 07:36:44 CET

Hi,

Individual clients can add the IP and desired hostname to their
"hosts" file ("lmhosts" on Windows).

On Unix you can edit /etc/hosts and add it like this:

192.168.1.110 subversion

However, it's alot easier to just make the change once in DNS
than to manage hosts entries in every single client machine, and
I definitely recommend DNS over hosts file entries.

When you say "registering a DNS", what do you mean? You
don't have to register a whole new domain with e.g. Network
Solutions, we're just talking about subdomains here.

Unless you are using another form of name resolution (unlikely),
then there's not much else to do. The client needs to somehow
be able to (at least) resolve the hostname to an IP address,
and DNS is the most common way of doing this.

HTH,
Rob

On Sun, Feb 29, 2004 at 06:58:53AM +0100, R. Welz wrote:
> Hello.
> When I want to work with my repository I have at least to enter the
> IP:Port/svn like in http://192.168.1.110:65535/svn/
>
> Is there a way to make a shortcut for the URL like http://subversion
> without registering a DNS? I tried Apache's <VirtualHost> directive in
> several ways but this didn't work.
>
> I run the Server on Mac OS X (FreeBSD Unix) and have several Linux
> clients.
>
> Thank you for help!
> Robert Welz
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Feb 29 07:33:23 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.