You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Adam Lewis <al...@dtp.homelinux.org> on 2002/08/06 20:14:56 UTC

Hosts behind router - dyndns

I have two different hosts with private IP's behind a router.  I have two
domain names setup with dyndns.  I would like to be able to redirect web
requests to the proper host when one is received.  For example...

host a = host1.homelinux.org
host b = host2.homelinux.org

If I goto URL host1.homelinux.org I would like the request directed to
192.168.1.1:80 and if I goto URL host2.homelinux.org I would like the
request directed to 192.168.1.2:80

I think mod_rewrite and mod_proxy will be the appropriate modules, but am
unsure of how to do this.  Any help would be appreciated.

Thanks,

Adam


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Hosts behind router - dyndns

Posted by "E. Lafont" <la...@jazzfree.com>.
Adam Lewis wrote:

>That's the thing.  I'm not using it for only this function.  I will be
>hosting 2 different sites on different hosts with Apache.
>  
>
So configure Apache on 192.168.1.103 to answer requests to 
dtp.homelinux.org and euclid.homelinux.org, and redirect the request to 
euclid.homelinux.org to the server on 192.168.1.101

I'm sure that maybe are more interesting options, but I'm not an apache 
expert, I've enought problems with my rewrite rules just to take care of 
more things.

Enric


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Hosts behind router - dyndns

Posted by Adam Lewis <al...@dtp.homelinux.org>.
That's the thing.  I'm not using it for only this function.  I will be
hosting 2 different sites on different hosts with Apache.
----- Original Message -----
From: "E. Lafont" <la...@jazzfree.com>
To: <us...@httpd.apache.org>
Sent: Tuesday, August 06, 2002 5:52 PM
Subject: Re: Hosts behind router - dyndns


> Adam Lewis wrote:
>
> >Sure (and thanks for the reply),
> >
> >I have several machines with private IP addresses.  I have 1 IP address
on a
> >cable internet connection.  I have setup a few domain names with dynamic
dns
> >(http://dyndns.org).  I have a router that does NAT for all the machines
so
> >that they can get out to the internet.  I have port 80 forwarded to
> >192.168.1.103 right now so if you point your browser to dtp.homelinux.org
> >you will see what's on 192.168.1.103.  If you pointer your browser to
> >euclid.homelinux.org you will see what's on 192.168.1.103.  I want to
have
> >dtp.homelinux.org goto 192.168.1.103:80 and euclid.homelinux.org goto
> >192.168.1.101:80
> >
> >Adam
> >
> >
> You need a proxy, a program that read the request of your users and
> decides what machine must answer them.
>
> Apache can do it, but I think that it's a too big program just to use
> only this function.
>
> Enric
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Hosts behind router - dyndns

Posted by "E. Lafont" <la...@jazzfree.com>.
Adam Lewis wrote:

>Sure (and thanks for the reply),
>
>I have several machines with private IP addresses.  I have 1 IP address on a
>cable internet connection.  I have setup a few domain names with dynamic dns
>(http://dyndns.org).  I have a router that does NAT for all the machines so
>that they can get out to the internet.  I have port 80 forwarded to
>192.168.1.103 right now so if you point your browser to dtp.homelinux.org
>you will see what's on 192.168.1.103.  If you pointer your browser to
>euclid.homelinux.org you will see what's on 192.168.1.103.  I want to have
>dtp.homelinux.org goto 192.168.1.103:80 and euclid.homelinux.org goto
>192.168.1.101:80
>
>Adam
>  
>
You need a proxy, a program that read the request of your users and 
decides what machine must answer them.

Apache can do it, but I think that it's a too big program just to use 
only this function.

Enric



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Hosts behind router - dyndns

Posted by Ed...@ita.org.mo.
Hello,

According to this E-mail :
1, Are you using Cisco 827 router ?
2, Are you enable the function of mapping with all of your private IP address (
Class C format ) ?
3, If you have done the question 1 and 2, the Internet User they are unable to
know your are using Class C IP address for your Server machine !

for example :
Server A use 192.168.200.1 (  real IP address is 209.123.111.2, you must map
192.168.200.1 <-> 209.123.111.2 ),
For outside, All of the user they ping to your server a machine is known :
209.123.111.2 ( because the function of mapping of your router auto direct
209.123.111.2 <-> 192.168.200.1 )

So, your private IP address ( 192.168.1.103 and 192.168.1.101 ) will not display
to the Internet uers...

Any problem ?

Edward.

Adam Lewis wrote:

> Sure (and thanks for the reply),
>
> I have several machines with private IP addresses.  I have 1 IP address on a
> cable internet connection.  I have setup a few domain names with dynamic dns
> (http://dyndns.org).  I have a router that does NAT for all the machines so
> that they can get out to the internet.  I have port 80 forwarded to
> 192.168.1.103 right now so if you point your browser to dtp.homelinux.org
> you will see what's on 192.168.1.103.  If you pointer your browser to
> euclid.homelinux.org you will see what's on 192.168.1.103.  I want to have
> dtp.homelinux.org goto 192.168.1.103:80 and euclid.homelinux.org goto
> 192.168.1.101:80
>
> Adam





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: SERVER_SOFTWARE

Posted by Chris Taylor <ch...@phi-web.co.uk>.
You have installed them on the Linux box? You will have to re-compile Apache
with additional ./configure options.

Unfortunately, the best I can suggest is a quick ./configure --help for what
may be required, that looks like a hell of a lot of addons :)

Chris Taylor - chris@phi-web.co.uk - The guy with the PS2 Webserver :)
----- Original Message -----
From: "Soheil Shaghaghi" <so...@jhanna.com>
To: <us...@httpd.apache.org>
Sent: Thursday, August 08, 2002 1:25 AM
Subject: RE: SERVER_SOFTWARE


> Thanks so much Chris for your reply, but I have installed all the addons,
> and they all do what they are supposed to. The problem is I can't see them
> in the SERVER_SOFTWARE environment!
>
> Soheil
>
>
>
> -----Original Message-----
> From: Chris Taylor [mailto:chris@phi-web.co.uk]
> Sent: Wednesday, August 07, 2002 5:13 PM
> To: users@httpd.apache.org
> Subject: Re: SERVER_SOFTWARE
>
>
> I'm no expert but:
>
> The FreeBSD machine has more compiled addons, like mod_fastcgi etc. All of
> these have to be installed in addition to Apache, as does PHP, which is
> present on both. When they are installed they add their little bit to the
> server signature (ie: SERVER_SOFTWARE) so people know about them.
>
> If you want these on your Linux machine, you'll have to download and
compile
> them into Apache, search google for relevant links etc.
>
> httpd -l gives you the list of compiled Apache modules, all of these
should
> show up there.
>
> This is NOT a problem with Apache, it's just a matter of adding additional
> functionality, ie: OpenSSL/0.9.6d gives you the ability to serve
SSL-secured
> sites, mod_gzip compresses the output for greater speed etc etc.
>
> I'm not quite sure what it is you want to know, either way, the current
> situation is fairly normal. Please note that core modules to Apache (like
> mod_autoindex for instance) do NOT show up in SERVER_SOFTWARE, they're not
> addons per se, but things like PHP are.
>
> Apologies if this explanation is poor, but it's late :)
>
> Chris Taylor - chris@phi-web.co.uk - The guy with the PS2 Webserver :)
>
> ----- Original Message -----
> From: "Soheil Shaghaghi" <so...@jhanna.com>
> To: <us...@httpd.apache.org>
> Sent: Thursday, August 08, 2002 12:34 AM
> Subject: RE: SERVER_SOFTWARE
>
>
> > Well, I installed the same package on a FreeBSD, and the SERVER_SOFTWARE
> > Variable returns this:
> > Apache/1.3.26 (Unix) PHP/4.2.2 mod_gzip/1.3.19.1a mod_fastcgi/2.2.12
> > FrontPage/5.0.2.2510 mod_perl/1.27 mod_ssl/2.8.10 OpenSSL/0.9.6d
> >
> > As you see, there is a big difference between the above and this one:
> > Apache/1.3.26 (Unix) PHP/4.2.2
> > This tells me that I don't have those other modules installed. True?
> > I am confused :)
> >
> > Regards,
> > <http://www.iraniha.com/>  Iraniha.com <http://www.iraniha.com/>
> > A Byte All Computers Company
> > Soheil Shaghaghi
> > President
> > 1070 West 9th Ave.
> > Escondido, CA 92025
> > P: 760-741-3410
> > F: 760-741-2983
> > E: modir@Iraniha.com <ma...@iraniha.com>
> > www.Iraniha.com <http://www.iraniha.com/>
> > Your One Stop Portal to Iran.
> >
> >
> >
> > -----Original Message-----
> > From: Lewis Watson [mailto:lists@visionsix.com]
> > Sent: Wednesday, August 07, 2002 4:20 PM
> > To: users@httpd.apache.org
> > Subject: Re: SERVER_SOFTWARE
> >
> >
> >
> >
> > ----- Original Message -----
> > From: "Soheil Shaghaghi" <so...@jhanna.com>
> > To: <us...@httpd.apache.org>
> > Sent: Wednesday, August 07, 2002 6:25 PM
> > Subject: SERVER_SOFTWARE
> >
> >
> > > Hello everyone,
> > > I just upgraded Apache on a Linux server.
> > > When I use try to see the server variables, in particular
> SERVER_SOFTWARE,
> > > it tells me that I only have the following:
> > > Apache/1.3.26 (Unix) PHP/4.2.2
> > > Can anyone please tell me why I don't see what's installed and
> configured
> > > with Apache?
> > >
> > > Running httpd -l tells me that the modules are installed, which is
what
> I
> > > have:
> > > http_core.c
> > > mod_env.c
> > > mod_log_config.c
> > > mod_log_agent.c
> > > mod_log_referer.c
> > > mod_mime.c
> > > mod_negotiation.c
> > > mod_status.c
> > > mod_info.c
> > > mod_include.c
> > > mod_autoindex.c
> > > mod_dir.c
> > > mod_cgi.c
> > > mod_asis.c
> > > mod_imap.c
> > > mod_actions.c
> > > mod_speling.c
> > > mod_userdir.c
> > > mod_alias.c
> > > mod_rewrite.c
> > > mod_access.c
> > > mod_auth.c
> > > mod_auth_dbm.c
> > > mod_auth_db.c
> > > mod_digest.c
> > > mod_expires.c
> > > mod_headers.c
> > > mod_example.c
> > > mod_so.c
> > > mod_setenvif.c
> > > mod_ssl.c
> > > mod_session.c
> > > mod_fastcgi.c
> > > mod_gzip.c
> > > mod_php4.c
> > >
> > >
> >
> >
> > What more do you want it to give you specifically?
> > Lewis
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: SERVER_SOFTWARE

Posted by Soheil Shaghaghi <so...@jhanna.com>.
Thanks so much Chris for your reply, but I have installed all the addons,
and they all do what they are supposed to. The problem is I can't see them
in the SERVER_SOFTWARE environment!

Soheil



-----Original Message-----
From: Chris Taylor [mailto:chris@phi-web.co.uk]
Sent: Wednesday, August 07, 2002 5:13 PM
To: users@httpd.apache.org
Subject: Re: SERVER_SOFTWARE


I'm no expert but:

The FreeBSD machine has more compiled addons, like mod_fastcgi etc. All of
these have to be installed in addition to Apache, as does PHP, which is
present on both. When they are installed they add their little bit to the
server signature (ie: SERVER_SOFTWARE) so people know about them.

If you want these on your Linux machine, you'll have to download and compile
them into Apache, search google for relevant links etc.

httpd -l gives you the list of compiled Apache modules, all of these should
show up there.

This is NOT a problem with Apache, it's just a matter of adding additional
functionality, ie: OpenSSL/0.9.6d gives you the ability to serve SSL-secured
sites, mod_gzip compresses the output for greater speed etc etc.

I'm not quite sure what it is you want to know, either way, the current
situation is fairly normal. Please note that core modules to Apache (like
mod_autoindex for instance) do NOT show up in SERVER_SOFTWARE, they're not
addons per se, but things like PHP are.

Apologies if this explanation is poor, but it's late :)

Chris Taylor - chris@phi-web.co.uk - The guy with the PS2 Webserver :)

----- Original Message -----
From: "Soheil Shaghaghi" <so...@jhanna.com>
To: <us...@httpd.apache.org>
Sent: Thursday, August 08, 2002 12:34 AM
Subject: RE: SERVER_SOFTWARE


> Well, I installed the same package on a FreeBSD, and the SERVER_SOFTWARE
> Variable returns this:
> Apache/1.3.26 (Unix) PHP/4.2.2 mod_gzip/1.3.19.1a mod_fastcgi/2.2.12
> FrontPage/5.0.2.2510 mod_perl/1.27 mod_ssl/2.8.10 OpenSSL/0.9.6d
>
> As you see, there is a big difference between the above and this one:
> Apache/1.3.26 (Unix) PHP/4.2.2
> This tells me that I don't have those other modules installed. True?
> I am confused :)
>
> Regards,
> <http://www.iraniha.com/>  Iraniha.com <http://www.iraniha.com/>
> A Byte All Computers Company
> Soheil Shaghaghi
> President
> 1070 West 9th Ave.
> Escondido, CA 92025
> P: 760-741-3410
> F: 760-741-2983
> E: modir@Iraniha.com <ma...@iraniha.com>
> www.Iraniha.com <http://www.iraniha.com/>
> Your One Stop Portal to Iran.
>
>
>
> -----Original Message-----
> From: Lewis Watson [mailto:lists@visionsix.com]
> Sent: Wednesday, August 07, 2002 4:20 PM
> To: users@httpd.apache.org
> Subject: Re: SERVER_SOFTWARE
>
>
>
>
> ----- Original Message -----
> From: "Soheil Shaghaghi" <so...@jhanna.com>
> To: <us...@httpd.apache.org>
> Sent: Wednesday, August 07, 2002 6:25 PM
> Subject: SERVER_SOFTWARE
>
>
> > Hello everyone,
> > I just upgraded Apache on a Linux server.
> > When I use try to see the server variables, in particular
SERVER_SOFTWARE,
> > it tells me that I only have the following:
> > Apache/1.3.26 (Unix) PHP/4.2.2
> > Can anyone please tell me why I don't see what's installed and
configured
> > with Apache?
> >
> > Running httpd -l tells me that the modules are installed, which is what
I
> > have:
> > http_core.c
> > mod_env.c
> > mod_log_config.c
> > mod_log_agent.c
> > mod_log_referer.c
> > mod_mime.c
> > mod_negotiation.c
> > mod_status.c
> > mod_info.c
> > mod_include.c
> > mod_autoindex.c
> > mod_dir.c
> > mod_cgi.c
> > mod_asis.c
> > mod_imap.c
> > mod_actions.c
> > mod_speling.c
> > mod_userdir.c
> > mod_alias.c
> > mod_rewrite.c
> > mod_access.c
> > mod_auth.c
> > mod_auth_dbm.c
> > mod_auth_db.c
> > mod_digest.c
> > mod_expires.c
> > mod_headers.c
> > mod_example.c
> > mod_so.c
> > mod_setenvif.c
> > mod_ssl.c
> > mod_session.c
> > mod_fastcgi.c
> > mod_gzip.c
> > mod_php4.c
> >
> >
>
>
> What more do you want it to give you specifically?
> Lewis
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: SERVER_SOFTWARE

Posted by Chris Taylor <ch...@phi-web.co.uk>.
I'm no expert but:

The FreeBSD machine has more compiled addons, like mod_fastcgi etc. All of
these have to be installed in addition to Apache, as does PHP, which is
present on both. When they are installed they add their little bit to the
server signature (ie: SERVER_SOFTWARE) so people know about them.

If you want these on your Linux machine, you'll have to download and compile
them into Apache, search google for relevant links etc.

httpd -l gives you the list of compiled Apache modules, all of these should
show up there.

This is NOT a problem with Apache, it's just a matter of adding additional
functionality, ie: OpenSSL/0.9.6d gives you the ability to serve SSL-secured
sites, mod_gzip compresses the output for greater speed etc etc.

I'm not quite sure what it is you want to know, either way, the current
situation is fairly normal. Please note that core modules to Apache (like
mod_autoindex for instance) do NOT show up in SERVER_SOFTWARE, they're not
addons per se, but things like PHP are.

Apologies if this explanation is poor, but it's late :)

Chris Taylor - chris@phi-web.co.uk - The guy with the PS2 Webserver :)

----- Original Message -----
From: "Soheil Shaghaghi" <so...@jhanna.com>
To: <us...@httpd.apache.org>
Sent: Thursday, August 08, 2002 12:34 AM
Subject: RE: SERVER_SOFTWARE


> Well, I installed the same package on a FreeBSD, and the SERVER_SOFTWARE
> Variable returns this:
> Apache/1.3.26 (Unix) PHP/4.2.2 mod_gzip/1.3.19.1a mod_fastcgi/2.2.12
> FrontPage/5.0.2.2510 mod_perl/1.27 mod_ssl/2.8.10 OpenSSL/0.9.6d
>
> As you see, there is a big difference between the above and this one:
> Apache/1.3.26 (Unix) PHP/4.2.2
> This tells me that I don't have those other modules installed. True?
> I am confused :)
>
> Regards,
> <http://www.iraniha.com/>  Iraniha.com <http://www.iraniha.com/>
> A Byte All Computers Company
> Soheil Shaghaghi
> President
> 1070 West 9th Ave.
> Escondido, CA 92025
> P: 760-741-3410
> F: 760-741-2983
> E: modir@Iraniha.com <ma...@iraniha.com>
> www.Iraniha.com <http://www.iraniha.com/>
> Your One Stop Portal to Iran.
>
>
>
> -----Original Message-----
> From: Lewis Watson [mailto:lists@visionsix.com]
> Sent: Wednesday, August 07, 2002 4:20 PM
> To: users@httpd.apache.org
> Subject: Re: SERVER_SOFTWARE
>
>
>
>
> ----- Original Message -----
> From: "Soheil Shaghaghi" <so...@jhanna.com>
> To: <us...@httpd.apache.org>
> Sent: Wednesday, August 07, 2002 6:25 PM
> Subject: SERVER_SOFTWARE
>
>
> > Hello everyone,
> > I just upgraded Apache on a Linux server.
> > When I use try to see the server variables, in particular
SERVER_SOFTWARE,
> > it tells me that I only have the following:
> > Apache/1.3.26 (Unix) PHP/4.2.2
> > Can anyone please tell me why I don't see what's installed and
configured
> > with Apache?
> >
> > Running httpd -l tells me that the modules are installed, which is what
I
> > have:
> > http_core.c
> > mod_env.c
> > mod_log_config.c
> > mod_log_agent.c
> > mod_log_referer.c
> > mod_mime.c
> > mod_negotiation.c
> > mod_status.c
> > mod_info.c
> > mod_include.c
> > mod_autoindex.c
> > mod_dir.c
> > mod_cgi.c
> > mod_asis.c
> > mod_imap.c
> > mod_actions.c
> > mod_speling.c
> > mod_userdir.c
> > mod_alias.c
> > mod_rewrite.c
> > mod_access.c
> > mod_auth.c
> > mod_auth_dbm.c
> > mod_auth_db.c
> > mod_digest.c
> > mod_expires.c
> > mod_headers.c
> > mod_example.c
> > mod_so.c
> > mod_setenvif.c
> > mod_ssl.c
> > mod_session.c
> > mod_fastcgi.c
> > mod_gzip.c
> > mod_php4.c
> >
> >
>
>
> What more do you want it to give you specifically?
> Lewis
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: SERVER_SOFTWARE

Posted by Soheil Shaghaghi <so...@jhanna.com>.
I don't know if this is related or not, but when I look at the contents of
httpd, I see it's being referred to the directories which are not there:
/usr/src/bs/BUILD/glibc-2.1/csu/gcc2_compiled.int
/usr/src/bs/BUILD/glibc-2.1/build-i386-linux/config.h
/usr/src/bs/BUILD/egcs-1.1.2/obj-i386-linux/gcc
/usr/src/bs/BUILD/glibc-2.1/io/

I do not have these directories in my box anywhere. I don't know where they
are being pooled from, and what they are doing in the httpd file!

Thanks,
Soheil


-----Original Message-----
From: Soheil Shaghaghi [mailto:soheils@jhanna.com]
Sent: Wednesday, August 07, 2002 4:34 PM
To: users@httpd.apache.org
Subject: RE: SERVER_SOFTWARE


Well, I installed the same package on a FreeBSD, and the SERVER_SOFTWARE
Variable returns this:
Apache/1.3.26 (Unix) PHP/4.2.2 mod_gzip/1.3.19.1a mod_fastcgi/2.2.12
FrontPage/5.0.2.2510 mod_perl/1.27 mod_ssl/2.8.10 OpenSSL/0.9.6d

As you see, there is a big difference between the above and this one:
Apache/1.3.26 (Unix) PHP/4.2.2
This tells me that I don't have those other modules installed. True?
I am confused :)

	Regards,
	 <http://www.iraniha.com/>  Iraniha.com <http://www.iraniha.com/>
	A Byte All Computers Company
	Soheil Shaghaghi
	President
	1070 West 9th Ave.
	Escondido, CA 92025
	P: 760-741-3410
	F: 760-741-2983
	E: modir@Iraniha.com <ma...@iraniha.com>
	www.Iraniha.com <http://www.iraniha.com/>
	Your One Stop Portal to Iran.



-----Original Message-----
From: Lewis Watson [mailto:lists@visionsix.com]
Sent: Wednesday, August 07, 2002 4:20 PM
To: users@httpd.apache.org
Subject: Re: SERVER_SOFTWARE




----- Original Message -----
From: "Soheil Shaghaghi" <so...@jhanna.com>
To: <us...@httpd.apache.org>
Sent: Wednesday, August 07, 2002 6:25 PM
Subject: SERVER_SOFTWARE


> Hello everyone,
> I just upgraded Apache on a Linux server.
> When I use try to see the server variables, in particular SERVER_SOFTWARE,
> it tells me that I only have the following:
> Apache/1.3.26 (Unix) PHP/4.2.2
> Can anyone please tell me why I don't see what's installed and configured
> with Apache?
>
> Running httpd -l tells me that the modules are installed, which is what I
> have:
> http_core.c
> mod_env.c
> mod_log_config.c
> mod_log_agent.c
> mod_log_referer.c
> mod_mime.c
> mod_negotiation.c
> mod_status.c
> mod_info.c
> mod_include.c
> mod_autoindex.c
> mod_dir.c
> mod_cgi.c
> mod_asis.c
> mod_imap.c
> mod_actions.c
> mod_speling.c
> mod_userdir.c
> mod_alias.c
> mod_rewrite.c
> mod_access.c
> mod_auth.c
> mod_auth_dbm.c
> mod_auth_db.c
> mod_digest.c
> mod_expires.c
> mod_headers.c
> mod_example.c
> mod_so.c
> mod_setenvif.c
> mod_ssl.c
> mod_session.c
> mod_fastcgi.c
> mod_gzip.c
> mod_php4.c
>
>


What more do you want it to give you specifically?
Lewis


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: SERVER_SOFTWARE

Posted by Soheil Shaghaghi <so...@jhanna.com>.
Well, I installed the same package on a FreeBSD, and the SERVER_SOFTWARE
Variable returns this:
Apache/1.3.26 (Unix) PHP/4.2.2 mod_gzip/1.3.19.1a mod_fastcgi/2.2.12
FrontPage/5.0.2.2510 mod_perl/1.27 mod_ssl/2.8.10 OpenSSL/0.9.6d

As you see, there is a big difference between the above and this one:
Apache/1.3.26 (Unix) PHP/4.2.2
This tells me that I don't have those other modules installed. True?
I am confused :)

	Regards,
	 <http://www.iraniha.com/>  Iraniha.com <http://www.iraniha.com/>
	A Byte All Computers Company
	Soheil Shaghaghi
	President
	1070 West 9th Ave.
	Escondido, CA 92025
	P: 760-741-3410
	F: 760-741-2983
	E: modir@Iraniha.com <ma...@iraniha.com>
	www.Iraniha.com <http://www.iraniha.com/>
	Your One Stop Portal to Iran.



-----Original Message-----
From: Lewis Watson [mailto:lists@visionsix.com]
Sent: Wednesday, August 07, 2002 4:20 PM
To: users@httpd.apache.org
Subject: Re: SERVER_SOFTWARE




----- Original Message -----
From: "Soheil Shaghaghi" <so...@jhanna.com>
To: <us...@httpd.apache.org>
Sent: Wednesday, August 07, 2002 6:25 PM
Subject: SERVER_SOFTWARE


> Hello everyone,
> I just upgraded Apache on a Linux server.
> When I use try to see the server variables, in particular SERVER_SOFTWARE,
> it tells me that I only have the following:
> Apache/1.3.26 (Unix) PHP/4.2.2
> Can anyone please tell me why I don't see what's installed and configured
> with Apache?
>
> Running httpd -l tells me that the modules are installed, which is what I
> have:
> http_core.c
> mod_env.c
> mod_log_config.c
> mod_log_agent.c
> mod_log_referer.c
> mod_mime.c
> mod_negotiation.c
> mod_status.c
> mod_info.c
> mod_include.c
> mod_autoindex.c
> mod_dir.c
> mod_cgi.c
> mod_asis.c
> mod_imap.c
> mod_actions.c
> mod_speling.c
> mod_userdir.c
> mod_alias.c
> mod_rewrite.c
> mod_access.c
> mod_auth.c
> mod_auth_dbm.c
> mod_auth_db.c
> mod_digest.c
> mod_expires.c
> mod_headers.c
> mod_example.c
> mod_so.c
> mod_setenvif.c
> mod_ssl.c
> mod_session.c
> mod_fastcgi.c
> mod_gzip.c
> mod_php4.c
>
>


What more do you want it to give you specifically?
Lewis


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: SERVER_SOFTWARE

Posted by Lewis Watson <li...@visionsix.com>.

----- Original Message -----
From: "Soheil Shaghaghi" <so...@jhanna.com>
To: <us...@httpd.apache.org>
Sent: Wednesday, August 07, 2002 6:25 PM
Subject: SERVER_SOFTWARE


> Hello everyone,
> I just upgraded Apache on a Linux server.
> When I use try to see the server variables, in particular SERVER_SOFTWARE,
> it tells me that I only have the following:
> Apache/1.3.26 (Unix) PHP/4.2.2
> Can anyone please tell me why I don't see what's installed and configured
> with Apache?
>
> Running httpd -l tells me that the modules are installed, which is what I
> have:
> http_core.c
> mod_env.c
> mod_log_config.c
> mod_log_agent.c
> mod_log_referer.c
> mod_mime.c
> mod_negotiation.c
> mod_status.c
> mod_info.c
> mod_include.c
> mod_autoindex.c
> mod_dir.c
> mod_cgi.c
> mod_asis.c
> mod_imap.c
> mod_actions.c
> mod_speling.c
> mod_userdir.c
> mod_alias.c
> mod_rewrite.c
> mod_access.c
> mod_auth.c
> mod_auth_dbm.c
> mod_auth_db.c
> mod_digest.c
> mod_expires.c
> mod_headers.c
> mod_example.c
> mod_so.c
> mod_setenvif.c
> mod_ssl.c
> mod_session.c
> mod_fastcgi.c
> mod_gzip.c
> mod_php4.c
>
>


What more do you want it to give you specifically?
Lewis


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


SERVER_SOFTWARE

Posted by Soheil Shaghaghi <so...@jhanna.com>.
Hello everyone,
I just upgraded Apache on a Linux server.
When I use try to see the server variables, in particular SERVER_SOFTWARE,
it tells me that I only have the following:
Apache/1.3.26 (Unix) PHP/4.2.2
Can anyone please tell me why I don't see what's installed and configured
with Apache?

Running httpd -l tells me that the modules are installed, which is what I
have:
http_core.c
mod_env.c
mod_log_config.c
mod_log_agent.c
mod_log_referer.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_info.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_speling.c
mod_userdir.c
mod_alias.c
mod_rewrite.c
mod_access.c
mod_auth.c
mod_auth_dbm.c
mod_auth_db.c
mod_digest.c
mod_expires.c
mod_headers.c
mod_example.c
mod_so.c
mod_setenvif.c
mod_ssl.c
mod_session.c
mod_fastcgi.c
mod_gzip.c
mod_php4.c



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Hosts behind router - dyndns

Posted by Adam Lewis <al...@dtp.homelinux.org>.
Sure (and thanks for the reply),

I have several machines with private IP addresses.  I have 1 IP address on a
cable internet connection.  I have setup a few domain names with dynamic dns
(http://dyndns.org).  I have a router that does NAT for all the machines so
that they can get out to the internet.  I have port 80 forwarded to
192.168.1.103 right now so if you point your browser to dtp.homelinux.org
you will see what's on 192.168.1.103.  If you pointer your browser to
euclid.homelinux.org you will see what's on 192.168.1.103.  I want to have
dtp.homelinux.org goto 192.168.1.103:80 and euclid.homelinux.org goto
192.168.1.101:80

Adam
----- Original Message -----
From: <Ed...@ita.org.mo>
To: <us...@httpd.apache.org>
Sent: Tuesday, August 06, 2002 2:29 PM
Subject: Re: Hosts behind router - dyndns


> Hello,
>
> I wish I can help you , but I don't quite understand your means !
> So, would you mind tell me more details ?
>
> Edward.
>
> Adam Lewis wrote:
>
> > I have two different hosts with private IP's behind a router.  I have
two
> > domain names setup with dyndns.  I would like to be able to redirect web
> > requests to the proper host when one is received.  For example...
> >
> > host a = host1.homelinux.org
> > host b = host2.homelinux.org
> >
> > If I goto URL host1.homelinux.org I would like the request directed to
> > 192.168.1.1:80 and if I goto URL host2.homelinux.org I would like the
> > request directed to 192.168.1.2:80
> >
> > I think mod_rewrite and mod_proxy will be the appropriate modules, but
am
> > unsure of how to do this.  Any help would be appreciated.
> >
> > Thanks,
> >
> > Adam
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Hosts behind router - dyndns

Posted by Ed...@ita.org.mo.
Hello,

I wish I can help you , but I don't quite understand your means !
So, would you mind tell me more details ?

Edward.

Adam Lewis wrote:

> I have two different hosts with private IP's behind a router.  I have two
> domain names setup with dyndns.  I would like to be able to redirect web
> requests to the proper host when one is received.  For example...
>
> host a = host1.homelinux.org
> host b = host2.homelinux.org
>
> If I goto URL host1.homelinux.org I would like the request directed to
> 192.168.1.1:80 and if I goto URL host2.homelinux.org I would like the
> request directed to 192.168.1.2:80
>
> I think mod_rewrite and mod_proxy will be the appropriate modules, but am
> unsure of how to do this.  Any help would be appreciated.
>
> Thanks,
>
> Adam
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org