ip visible homepage

This is a discussion on ip visible homepage within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi i habe the following problem: i use apache with vhost i got four ips 231.100.200.20-24 ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-08-2003
Tony
 
Posts: n/a
Default ip visible homepage

Hi

i habe the following problem:

i use apache with vhost i got four ips 231.100.200.20-24 and one domain
www.example.com

the domain uses one ip exampe 231.100.200.20

so if i go to www.example.com i get my homepage corretly

but if i open http://231.100.200.21 i got a directory listing. why?
i just want that apache only listens to ONE IP not to ALL

please help me

thank you
tony



  #2 (permalink)  
Old 07-08-2003
Tony
 
Posts: n/a
Default Re: ip visible homepage

i cannot find that value at my httpd.conf
i am using apache 2.0.46 on windows system

do you mean this here?:
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 2xx.1xx.2xx.x20
Listen 80
Listen 443


<davide@yahoo.com> schrieb im Newsbeitrag
news:bef0fp$4goc6$2@ID-18487.news.dfncis.de...
> Tony <antonio-fuentes@t-online.de> wrote:
> > i just want that apache only listens to ONE IP not to ALL

>
> Then use the bind youriphere directive in the httpd.conf.
> Davide



  #3 (permalink)  
Old 07-08-2003
Tony
 
Posts: n/a
Default Re: ip visible homepage

thanks but if i enter there the IP i got apache error cannot be started

that cannot be right!?

who do i have to put the string there, please make me an expample :)

Thanks a lot
<davide@yahoo.com> schrieb im Newsbeitrag
news:bef4ib$4haes$4@ID-18487.news.dfncis.de...
> Tony <antonio-fuentes@t-online.de> wrote:
> > do you mean this here?:

>
> Yes, got confused. Sorry.
> Davide
>



  #4 (permalink)  
Old 07-08-2003
davide@yahoo.com
 
Posts: n/a
Default Re: ip visible homepage

Tony <antonio-fuentes@t-online.de> wrote:
> thanks but if i enter there the IP i got apache error cannot be started


See in the Apache error_log what's the exact error.

Davide
  #5 (permalink)  
Old 07-08-2003
Tony
 
Posts: n/a
Default Re: ip visible homepage

there is no error

okay i will explain my "problem" again

i have a server with four ips xxx.xxx.xxx.x20 xxx.xxx.xxx.x21
xxx.xxx.xxx.x22 xxx.xxx.xxx.x23
i got a domain domain.com routet on ONE IP xxx.xxx.xxx.x20

so everything works fine, the domain is accessable under the IP

but if i put at browser http://xxx.xxx.xxx.x21 i got a directory listing
with content. and that may not happen
so how to configure apache that he only provides his service under ONE IP.

thank you
tony



<davide@yahoo.com> schrieb im Newsbeitrag
news:bef5pn$4haes$5@ID-18487.news.dfncis.de...
> Tony <antonio-fuentes@t-online.de> wrote:
> > thanks but if i enter there the IP i got apache error cannot be started

>
> See in the Apache error_log what's the exact error.
>
> Davide



  #6 (permalink)  
Old 07-08-2003
davide@yahoo.com
 
Posts: n/a
Default Re: ip visible homepage

Tony <antonio-fuentes@t-online.de> wrote:
> so how to configure apache that he only provides his service under ONE IP.


Well, one easy solution is to block the IP at a firewall level, the other
is the one I just told you. If Apache doesn't start there must be
some kind of problem in the connection between the IP and the machine.

Davide
  #7 (permalink)  
Old 07-08-2003
Tony
 
Posts: n/a
Default Re: ip visible homepage

:( no way

i cannot add an ip at "listen: " only ports are accepted

!?

<davide@yahoo.com> schrieb im Newsbeitrag
news:bef7nn$4haes$11@ID-18487.news.dfncis.de...
> Tony <antonio-fuentes@t-online.de> wrote:
> > so how to configure apache that he only provides his service under ONE

IP.
>
> Well, one easy solution is to block the IP at a firewall level, the other
> is the one I just told you. If Apache doesn't start there must be
> some kind of problem in the connection between the IP and the machine.
>
> Davide



  #8 (permalink)  
Old 07-08-2003
Russ Blakeman
 
Posts: n/a
Default Re: ip visible homepage

Use the Listen xxx.xxx.xxx.xxx:80
Listen xxx.xxx.xxx.xxx:433 (what is 433 for?)

that will bind the specific IP and port to Apache


"Tony" <antonio-fuentes@t-online.de> wrote in message
news:bef39a$mjs$05$1@news.t-online.com...
> i cannot find that value at my httpd.conf
> i am using apache 2.0.46 on windows system
>
> do you mean this here?:
> # Listen: Allows you to bind Apache to specific IP addresses and/or
> # ports, in addition to the default. See also the <VirtualHost>
> # directive.
> #
> # Change this to Listen on specific IP addresses as shown below to
> # prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
> #
> #Listen 2xx.1xx.2xx.x20
> Listen 80
> Listen 443
>
>
> <davide@yahoo.com> schrieb im Newsbeitrag
> news:bef0fp$4goc6$2@ID-18487.news.dfncis.de...
> > Tony <antonio-fuentes@t-online.de> wrote:
> > > i just want that apache only listens to ONE IP not to ALL

> >
> > Then use the bind youriphere directive in the httpd.conf.
> > Davide

>
>



  #9 (permalink)  
Old 07-08-2003
Tony
 
Posts: n/a
Default Re: ip visible homepage

Hell man

with all love do i am stupid?

i put exatly in Listen IP:PORT and i get error msg apache <The requested
operation has failed>

there is only Listen 80 and Listen 443 (443 is SSL i think). but he do
not accept any other values




"Russ Blakeman" <rhb57@alltel.net> schrieb im Newsbeitrag
news:GQFOa.16665$J%2.1031704@news.alltel.net...
> Use the Listen xxx.xxx.xxx.xxx:80
> Listen xxx.xxx.xxx.xxx:433 (what is 433 for?)
>
> that will bind the specific IP and port to Apache
>
>
> "Tony" <antonio-fuentes@t-online.de> wrote in message
> news:bef39a$mjs$05$1@news.t-online.com...
> > i cannot find that value at my httpd.conf
> > i am using apache 2.0.46 on windows system
> >
> > do you mean this here?:
> > # Listen: Allows you to bind Apache to specific IP addresses and/or
> > # ports, in addition to the default. See also the <VirtualHost>
> > # directive.
> > #
> > # Change this to Listen on specific IP addresses as shown below to
> > # prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
> > #
> > #Listen 2xx.1xx.2xx.x20
> > Listen 80
> > Listen 443
> >
> >
> > <davide@yahoo.com> schrieb im Newsbeitrag
> > news:bef0fp$4goc6$2@ID-18487.news.dfncis.de...
> > > Tony <antonio-fuentes@t-online.de> wrote:
> > > > i just want that apache only listens to ONE IP not to ALL
> > >
> > > Then use the bind youriphere directive in the httpd.conf.
> > > Davide

> >
> >

>
>



  #10 (permalink)  
Old 07-13-2003
Michael Forster
 
Posts: n/a
Default Re: ip visible homepage


"Russ Blakeman" <rhb57@alltel.net> wrote in message
news:GQFOa.16665$J%2.1031704@news.alltel.net...
> Use the Listen xxx.xxx.xxx.xxx:80
> Listen xxx.xxx.xxx.xxx:433 (what is 433 for?)


That is the SSL port for secure pages so yes if you are not using https://
services you woudln't need the 443 (and usually that line is added via an
ifdefine SSL


Mike.


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:32 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0