![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Nov 2002
Posts: 7,761
|
UNIX / APACHE masters? -- Listen Directive?
Argh. I know my way around unix/apache plenty. But for some reason apaches "Listen" directive seems to be broke.
Is anyone using the apache "Listen" directive to sucessfully bind _that instance of apache_ to certain ip's? Here's what I'm doing on this server: I want to have one apache server plain jane (just a basic static install).. I ONLY want it to listen to a few different IP's on port 80. I need to use name based virtual hosts. I am running another apache server on the same machine with mod_php, openssl etc etc.. the full blown bloated apache server. This will also be listening to DIFFERENT ip's. Forget about the full blown server for now. What I'm trying to do just pertains to the slimmed down apache... httpd.conf info: I have created a few lines of Listen 12.33.44.55.66:80 Listen 12.33.44.55.67:80 Listen 12.33.44.55.68:80 etc, of the IP's I want THAT apache server to respond to. I then have a single: NameVirtualHost * declared to say "look out for name based virts on all the IP's that you should be 'Listening' to" Then in each virtual host, I'm using: [VirtualHost *] (The >< wouldnt translate.) afaik this SHOULD be working.. but its not doing chit. Argh. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Dec 2001
Location: Portland, OR.
Posts: 6,034
|
Hi,
I can't remember but in the old slackware days we had to also edit something in rc.local??? what kind of errors do you get on restart of apache?
__________________
ICQ: 52344098 -------------------------------------- 50% Commissions on all Product Sales. http://www.wishing.com/money |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Nov 2002
Posts: 7,761
|
ARGH.
The Listen directive is just fuggin broke I think. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Join Date: Feb 2002
Location: Amsterdam
Posts: 9,377
|
Quote:
Just list the IPīs for Listen 123.123.123.123:80 Listen 124.124.124.124:80 Listen 125.125.125.125:80 NameVirtualHost 123.123.123.123 NameVirtualHost 124.124.124.124 NameVirtualHost 125.125.125.125 and use [VIrtualHost 123.123.123.123] That will defenitely work Listen is for the listen at which IPīs and to which ports......It is not VirtualHost related until you assign the IPīs in a VirtualHost directive DynaMite ![]()
__________________
| http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho | |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Feb 2002
Location: Amsterdam
Posts: 9,377
|
you can also do Listen *:80
Listen is more if you donīt want Apache to listen to a specific IP address then you list the ones that you want and exclude the IPīs that you donīt want it to listen to. DynaMite
__________________
| http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho | |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Dec 2001
Location: Portland, OR.
Posts: 6,034
|
Dyna Knows the Unix
![]()
__________________
ICQ: 52344098 -------------------------------------- 50% Commissions on all Product Sales. http://www.wishing.com/money |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Join Date: Nov 2002
Posts: 7,761
|
Quote:
I was looking for you on ICQ earlier Dyna.. sec I'll msg you now. But theres a real problem with the Listen directive.. getting funky errors. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: Nov 2002
Posts: 7,761
|
Quote:
I'm getting errors like: [crit] (49)Can't assign requested address: make_sock: could not bind to address 11.22.33.44 port 80 (And nothing else appears to be bound to 80.) ie... on freebsd# sockstat | grep 80 gets ya nothin. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Feb 2002
Location: Amsterdam
Posts: 9,377
|
Hit me up on ICQ and Iīll help you out......wonīt take longer than
a few seconds to fix this :-) DynaMite 370820
__________________
| http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho | |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: Feb 2002
Location: Amsterdam
Posts: 9,377
|
Most likely you have a conflicting Bind line in your apache conf.
Those 2 interact with eachother. DynaMite ![]()
__________________
| http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho | |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Confirmed User
Join Date: Nov 2002
Posts: 7,761
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Confirmed User
Join Date: Nov 2002
Posts: 7,761
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Join Date: Feb 2002
Location: Amsterdam
Posts: 9,377
|
hmmm the seconds got minutes and minutes got half an hour and
the problem is not fixed.........really weird problem which turned out not to be a simple config error. Damn I hate it when this happens..... ![]() DynaMite
__________________
| http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho | |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
Confirmed User
Join Date: Nov 2002
Posts: 7,761
|
Quote:
Yeah thanks much for taking the time Dyna. ![]() I know your the spanish king of all that is Unix... but I think maybe this is a bug that the Apache team might need to resolve. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Confirmed User
Join Date: Feb 2002
Location: Amsterdam
Posts: 9,377
|
Quote:
doing......let me know what comes out.....it bugs me when I donīt know why things are not working......I wonīt be able to sleep now. Luckily I just woke up ![]() DynaMite
__________________
| http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho | |
|
![]() |
![]() ![]() ![]() ![]() ![]() |