You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Weifeng Wang <We...@bioinfogroup.com> on 2002/03/13 21:57:00 UTC

make_sock error

I got an error message in the error_log:

[Wed Mar 13 13:19:29 2002] [crit] (13) Permission denied: make_sock: could
not bind to port 80

But, it seems that I still can access the web site on the port 80.  Should I
worry about this message?  If so, how can I correct the problem, just change
to a different port?  Thanks.

Weifeng Wang


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: make_sock error

Posted by Carlos Costa Portela <cc...@servidores.net>.
	Note that start Apache as root doesn't mind that the httpd
processes run as root.

On Wed, 13 Mar 2002, Weifeng Wang wrote:

> Does this mean I should start Apache with root?  Thanks for the reply.

       [ all about apache && web : http://www.improveyourweb.com ]

 _______Carlos Costa Portela_________________________________________________
| e-mail:  ccosta@servidores.net | home page: http://casa.ccp.servidores.net |
|_____Tódalas persoas maiores foron nenos antes, pero poucas se lembran______|


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: make_sock error

Posted by Weifeng Wang <We...@bioinfogroup.com>.
Does this mean I should start Apache with root?  Thanks for the reply.

Weifeng Wang

-----Original Message-----
From: artiom@phreaker.net [mailto:artiom@phreaker.net]
Sent: Wednesday, March 13, 2002 4:16 PM
To: users@httpd.apache.org
Subject: Re: make_sock error


user you are starting apache under is not root or is prohibited from
binding to port 80. as you can get from [crit] level, that would
prohibit webserver from working =)

îÁ 2002.03.13 22:57 Weifeng Wang ÎÁÐÉÓÁÌ:
> I got an error message in the error_log:
>
> [Wed Mar 13 13:19:29 2002] [crit] (13) Permission denied: make_sock:
> could
> not bind to port 80
>
> But, it seems that I still can access the web site on the port 80.
> Should I
> worry about this message?  If so, how can I correct the problem, just
> change
> to a different port?  Thanks.
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: make_sock error

Posted by Artiom Morozov <ar...@phreaker.net>.
user you are starting apache under is not root or is prohibited from 
binding to port 80. as you can get from [crit] level, that would 
prohibit webserver from working =)

îÁ 2002.03.13 22:57 Weifeng Wang ÎÁÐÉÓÁÌ:
> I got an error message in the error_log:
> 
> [Wed Mar 13 13:19:29 2002] [crit] (13) Permission denied: make_sock:
> could
> not bind to port 80
> 
> But, it seems that I still can access the web site on the port 80.
> Should I
> worry about this message?  If so, how can I correct the problem, just
> change
> to a different port?  Thanks.
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: .htaccess file

Posted by Scott Miller <sr...@interbel.net>.
allow/override was not set correctly.  I changed it to:

<Directory />
AllowOverride All
</Directory>

And it worked great.  I also removed the ref to ErrorDocument 401

Thanks!
Scott

----- Original Message -----
From: "Joshua Slive" <jo...@slive.ca>
To: <us...@httpd.apache.org>
Sent: Wednesday, March 13, 2002 2:31 PM
Subject: Re: .htaccess file


> Scott Miller wrote:
> > I'm trying to create a .htaccess file with the following:
> >
> > ErrorDocument 404 http://www.domain.com/404.html
> > ErrorDocument 401 http://www.domain.com/401.html
> > ErrorDocument 403 http://www.domain.com/403.html
> > ErrorDocument 500 http://www.domain.com/500.html
> >
> > but for some reason it is not working.  Is there something extra that
needs
> > to be done to apache to make these work?
>
> What does "not working" mean?  Do you have AllowOverride set correctly
> in httpd.conf for the relevant directory?
>
> In addition, please read the documentation for ErrorDocument.  The
> ErrorDocument 401 format that you are using is explictly forbidden.
>
> Joshua.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.336 / Virus Database: 188 - Release Date: 3/11/2002


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: .htaccess file

Posted by Joshua Slive <jo...@slive.ca>.
Scott Miller wrote:
> I'm trying to create a .htaccess file with the following:
> 
> ErrorDocument 404 http://www.domain.com/404.html
> ErrorDocument 401 http://www.domain.com/401.html
> ErrorDocument 403 http://www.domain.com/403.html
> ErrorDocument 500 http://www.domain.com/500.html
> 
> but for some reason it is not working.  Is there something extra that needs
> to be done to apache to make these work?

What does "not working" mean?  Do you have AllowOverride set correctly 
in httpd.conf for the relevant directory?

In addition, please read the documentation for ErrorDocument.  The 
ErrorDocument 401 format that you are using is explictly forbidden.

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


.htaccess file

Posted by Scott Miller <sr...@interbel.net>.
I'm trying to create a .htaccess file with the following:

ErrorDocument 404 http://www.domain.com/404.html
ErrorDocument 401 http://www.domain.com/401.html
ErrorDocument 403 http://www.domain.com/403.html
ErrorDocument 500 http://www.domain.com/500.html

but for some reason it is not working.  Is there something extra that needs
to be done to apache to make these work?

I'm running:

RH 7.2
Apache 1.3

Thanks,
Scott


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.336 / Virus Database: 188 - Release Date: 3/11/2002


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org