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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
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 > |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
:( 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 |
|
|||
|
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 > > |
|
|||
|
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 > > > > > > |
|
|||
|
"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. |