[BSD] dyndns + apache és subversion

Nagy Zoltán A. nyozo at hyadok.hu
2007. Jan. 9., K, 12:54:10 CET


Sziasztok!

Az apache httpd.conf így is megeszi a socket konfigot, hogy:

Listen 80

Így elvileg minden interface-en figyelnie kellene a 80-as porton...
Pl.: http://httpd.apache.org/docs/1.3/mod/core.html#listen

Listen directive
Syntax: Listen [IP-address:]port
Context: server config
Status: core
Compatibility: Listen is only available in Apache 1.1 and later.

The Listen directive instructs Apache to listen to more than one IP
address or port; by default it responds to requests on all IP interfaces,
but only on the port given by the Port directive.
Listen can be used instead of BindAddress and Port. It tells the server to
accept incoming requests on the specified port or address-and-port
combination. If the first format is used, with a port number only, the
server listens to the given port on all interfaces, instead of the port
given by the Port directive. If an IP address is given as well as a port,
the server will listen on the given port and interface.

Note that you may still require a Port directive so that URLs that Apache
generates that point to your server still work.

Multiple Listen directives may be used to specify a number of addresses
and ports to listen to. The server will respond to requests from any of
the listed addresses and ports.

For example, to make the server accept connections on both port 80 and
port 8000, use:

   Listen 80
   Listen 8000

To make the server accept connections on two specified interfaces and port
numbers, use

   Listen 192.170.2.1:80
   Listen 192.170.2.5:8000





-- 
Nagy Zoltán A. (Nyözö)
http://nyozo.hyadok.hu

>
>> egyszeruen fogod es beirod az FQDN-t a /etc/hosts file-be, ip-nek meg
>> megadod a 127.0.0.1-et. Mivel ez egyebkent is lokalis, ezert nem fog
>> zavarni senkit. Apache maris futik.
>>
> Az lehet, de 127.0.0.1-en fog figyelni és az nekem nem jó. Nekem az
> kellene hogy a publikus IP-n figyeljen. Subversion esetén még fontosabb,
> mert az nem egy teszt szerver hanem tényleg használják többen.
>
>
> Esetleg írhatok egy programot ami meghatározza a tun0 interface IP címét
> és beírja a /etc/hosts állományba az FQDN mellé. De ennél kell hogy
> legyen egyszerűbb megoldás is. :-)
>
>    Laci
>
> _______________________________________________
> BSD levlista
> BSD at hu.freebsd.org
> http://www.hu.freebsd.org/hu/mailman/listinfo/bsd
>




További információk a(z) BSD levelezőlistáról