Re: ip only

Bob Wilkinson <[email protected]> Tue, 7 Jan 2003 19:46:23 +0000
Newsgroups gmane.comp.apache.mod-mp3
Message-ID <[email protected]>
On Mon, Jan 06, 2003 at 12:06:06PM -0800, a.d wrote:
> I do not have a domain on my computer/apache (linux),
> only an ip address. How can I setup the virtual host
> without a domain?
> 

Type 'hostname -fqdn'. This should give your domain name - you
probably do have one?

> Also the faq states: Also, keep in mind that while I
> set mine up with VirtualHosts, you could just as
> easily use Directory, or Location directives.
> I do not understand what directives are and how to use
> them. I hope somebody can explain or point me to a
> link with more details.
> 

These directives are found in the Apache config file (usually
/etc/apache/httpd.conf). I'd suggest looking through the Apache
documentation. I can't give you a URL - I generally refer to the
O'Reilly "Apache - The Definitive Guide" when I need to modify my
configuration, though I am fairly sure that this is documented
online - start at http://httpd.apache.org/docs/

Bob
-- 
"The algorithm to do that is extremely nasty.  You might want to mug
someone with it."
		-- M. Devine, Computer Science 340
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+Gy6PIiLvYuacGxIRAhuMAJ9Hlr34kuVSBvazEZP13xJCyNWwRACdGNA4
uFaBpn/b9fbJw+TRQnsZpWo=
=KmOM
-----END PGP SIGNATURE-----