Re: stop apache/mod_ssl binding to all IP's.

2003-03-18 Thread Terry Kerr
Yes, I do have one other Listen directive...the Listen my.ip:80 for http, and 
yes, it is outside all virtual host directives, because as far as I am aware, 
they have to be.  I tried placing them inside virt host directives and I got a 
config error.  I have no BindAddress directives at all, and one Port directive 
at Port 80.

terry



R. DuFresne wrote:

it sounds like perhaps yer http.conf files have perhaps more then one
listen directive, perhaps outside the virtual Host directives.  Might
try grepping the file for listen and see what comes up.  or, better yet,
egrepping for bind|listen|etc...
thanks,

Ron DuFresne

On Fri, 7 Mar 2003, Terry Kerr wrote:


Mark,

Thanks for you suggestion, but whenever I try to put

Listen my.ip.address:443 (with the correct ip address ;-)

My http or https server does start at all on any port.  The log error I get is

[crit] (98)Address already in use: make_sock: could not bind to address 
203.89.254.243 port 443

But I don't get a similar error for port 80, so I don't know why it also doesn't 
start.

I also have Listen ip.address:80 defined, and have a NameVirtualHost ip.address 
defined.  I have tried many different combinations of name based and ip based 
virtual hosting, but https always binds to all IP's.  As soon as I put the 
Listen ip.address:443, I get the log error above and no servers start.

terry





Mark Boddington wrote:


Hi Terry,

Perhaps your directives are being overridden in a IfDefine SSL or
IfModule SSL block ? Listen IP:Port does work, works for me. Do you
have the following in your config ?
Listen my.ip.address:443
...
NameVirtualHost my.ip.address:443
...
VirtualHost my.ip.address:443
...
/VirtualHost
Cheers,

Mark

On Thu, 6 Mar 2003, Terry Kerr wrote:



Hi,

I am running apache 1.3.26 and mod_ssl 2.8.9-2.1 on a debian linux system.

The system has two IP's, and I only wish for apache to start on ports 80 and 443
on one of those IPs.  I am using named based virtual hosting for many sites on
the system for http, and have just one virtual host setup for https on port 443.
The problem that I am having is that I cannot stop mod_ssl from binding to
port 443 on both the IP's on my system.  I have tried every possible combination
of Listen, BindAddress, and Port, and have managed to prevent http from starting
on all IP's, but https still starts on all IPs.  Is there any way to stop this?


ddD Will I need to start two seperate servers, one serving http only, and
one

serving https only?  If I was to do this, I may as well go back to using
apache-ssl which is the default installation on debian anyway.
Thanks in advance

terry

--
Terry Kerr ([EMAIL PROTECTED])
Adroit Internet Solutions (www.adroit.net)
Phone: +61 3 9563 4461
Fax: +61 3 9563 3856
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]


__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]







--
Terry Kerr ([EMAIL PROTECTED])
Adroit Internet Solutions (www.adroit.net)
Phone: +61 3 9563 4461
Fax: +61 3 9563 3856
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]


Re: stop apache/mod_ssl binding to all IP's.

2003-03-06 Thread Terry Kerr
Mark,

Thanks for you suggestion, but whenever I try to put

Listen my.ip.address:443 (with the correct ip address ;-)

My http or https server does start at all on any port.  The log error I get is

[crit] (98)Address already in use: make_sock: could not bind to address 
203.89.254.243 port 443

But I don't get a similar error for port 80, so I don't know why it also doesn't 
start.

I also have Listen ip.address:80 defined, and have a NameVirtualHost ip.address 
defined.  I have tried many different combinations of name based and ip based 
virtual hosting, but https always binds to all IP's.  As soon as I put the 
Listen ip.address:443, I get the log error above and no servers start.

terry





Mark Boddington wrote:

Hi Terry,

Perhaps your directives are being overridden in a IfDefine SSL or
IfModule SSL block ? Listen IP:Port does work, works for me. Do you
have the following in your config ?
Listen my.ip.address:443
...
NameVirtualHost my.ip.address:443
...
VirtualHost my.ip.address:443
...
/VirtualHost
Cheers,

Mark

On Thu, 6 Mar 2003, Terry Kerr wrote:


Hi,

I am running apache 1.3.26 and mod_ssl 2.8.9-2.1 on a debian linux system.

The system has two IP's, and I only wish for apache to start on ports 80 and 443
on one of those IPs.  I am using named based virtual hosting for many sites on
the system for http, and have just one virtual host setup for https on port 443.
 The problem that I am having is that I cannot stop mod_ssl from binding to
port 443 on both the IP's on my system.  I have tried every possible combination
of Listen, BindAddress, and Port, and have managed to prevent http from starting
on all IP's, but https still starts on all IPs.  Is there any way to stop this?

ddD Will I need to start two seperate servers, one serving http only, and
one
serving https only?  If I was to do this, I may as well go back to using
apache-ssl which is the default installation on debian anyway.
Thanks in advance

terry

--
Terry Kerr ([EMAIL PROTECTED])
Adroit Internet Solutions (www.adroit.net)
Phone: +61 3 9563 4461
Fax: +61 3 9563 3856
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]

__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]


--
Terry Kerr ([EMAIL PROTECTED])
Adroit Internet Solutions (www.adroit.net)
Phone: +61 3 9563 4461
Fax: +61 3 9563 3856
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]


Re: stop apache/mod_ssl binding to all IP's.

2003-03-06 Thread Terry Kerr
my apologies...I am an idiot...I found the other Listen directive ;-)

terry

R. DuFresne wrote:

it sounds like perhaps yer http.conf files have perhaps more then one
listen directive, perhaps outside the virtual Host directives.  Might
try grepping the file for listen and see what comes up.  or, better yet,
egrepping for bind|listen|etc...
thanks,

Ron DuFresne

On Fri, 7 Mar 2003, Terry Kerr wrote:


Mark,

Thanks for you suggestion, but whenever I try to put

Listen my.ip.address:443 (with the correct ip address ;-)

My http or https server does start at all on any port.  The log error I get is

[crit] (98)Address already in use: make_sock: could not bind to address 
203.89.254.243 port 443

But I don't get a similar error for port 80, so I don't know why it also doesn't 
start.

I also have Listen ip.address:80 defined, and have a NameVirtualHost ip.address 
defined.  I have tried many different combinations of name based and ip based 
virtual hosting, but https always binds to all IP's.  As soon as I put the 
Listen ip.address:443, I get the log error above and no servers start.

terry





Mark Boddington wrote:


Hi Terry,

Perhaps your directives are being overridden in a IfDefine SSL or
IfModule SSL block ? Listen IP:Port does work, works for me. Do you
have the following in your config ?
Listen my.ip.address:443
...
NameVirtualHost my.ip.address:443
...
VirtualHost my.ip.address:443
...
/VirtualHost
Cheers,

Mark

On Thu, 6 Mar 2003, Terry Kerr wrote:



Hi,

I am running apache 1.3.26 and mod_ssl 2.8.9-2.1 on a debian linux system.

The system has two IP's, and I only wish for apache to start on ports 80 and 443
on one of those IPs.  I am using named based virtual hosting for many sites on
the system for http, and have just one virtual host setup for https on port 443.
The problem that I am having is that I cannot stop mod_ssl from binding to
port 443 on both the IP's on my system.  I have tried every possible combination
of Listen, BindAddress, and Port, and have managed to prevent http from starting
on all IP's, but https still starts on all IPs.  Is there any way to stop this?


ddD Will I need to start two seperate servers, one serving http only, and
one

serving https only?  If I was to do this, I may as well go back to using
apache-ssl which is the default installation on debian anyway.
Thanks in advance

terry

--
Terry Kerr ([EMAIL PROTECTED])
Adroit Internet Solutions (www.adroit.net)
Phone: +61 3 9563 4461
Fax: +61 3 9563 3856
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]


__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]







--
Terry Kerr ([EMAIL PROTECTED])
Adroit Internet Solutions (www.adroit.net)
Phone: +61 3 9563 4461
Fax: +61 3 9563 3856
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]


stop apache/mod_ssl binding to all IP's.

2003-03-05 Thread Terry Kerr
Hi,

I am running apache 1.3.26 and mod_ssl 2.8.9-2.1 on a debian linux system.

The system has two IP's, and I only wish for apache to start on ports 80 and 443 
on one of those IPs.  I am using named based virtual hosting for many sites on 
the system for http, and have just one virtual host setup for https on port 443. 
 The problem that I am having is that I cannot stop mod_ssl from binding to 
port 443 on both the IP's on my system.  I have tried every possible combination 
of Listen, BindAddress, and Port, and have managed to prevent http from starting 
on all IP's, but https still starts on all IPs.  Is there any way to stop this?

Will I need to start two seperate servers, one serving http only, and one 
serving https only?  If I was to do this, I may as well go back to using 
apache-ssl which is the default installation on debian anyway.

Thanks in advance

terry

--
Terry Kerr ([EMAIL PROTECTED])
Adroit Internet Solutions (www.adroit.net)
Phone: +61 3 9563 4461
Fax: +61 3 9563 3856
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  [EMAIL PROTECTED]
Automated List Manager[EMAIL PROTECTED]