listen to 80 and 443 ports in cent 5.6 final, kernel 2.6.18

Issues related to configuring your network

listen to 80 and 443 ports in cent 5.6 final, kernel 2.6.18

Postby salytwo » 2012/01/18 06:18:10

Hello,
I find post that make listen port in httpd.conf file like this
/etc/httpd/conf/httpd.conf Listen 80 & this
/etc/httpd/conf.d/ssl.conf Listen 443

I have cent 5.6 with kernel 2.6.18-238.12.1.e15 on an i686

but I faced with
-bash: /etc/httpd/conf/httpd.conf: permission denied

also with 443 I found

/etc/httpd/conf.d/ssl.conf: permission denied

can you help me..
salytwo
 
Posts: 2
Joined: 2012/01/18 06:15:36

listen to 80 and 443 ports in cent 5.6 final, kernel 2.6.18

Postby pschaff » 2012/01/18 13:50:27

Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

You need to edit the configuration files with your favorite editor, then restart the services if you need to make changes. By just entering the filenames on the command line you are trying to invoke them as a command (shell-script or program). As those are the default ports, it does not seem any changes are required. Have you installed mod_ssl and started the httpd service?

Note that the current CentOS-5 release is 5.7. Obsolete releases are not supported. Update with "yum update" as root to get the latest errata. See the CentOS 5.7 Release Notes for details. By not updating you are implicitly accepting that you will live with numerous bugs and security issues (and associated known exploits) that have subsequently been fixed.
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: listen to 80 and 443 ports in cent 5.6 final, kernel 2.6.18

Postby hansolo » 2012/01/18 22:04:55

you are already getting help on this forum so please post some solutions back here too.
hansolo
 
Posts: 231
Joined: 2010/01/13 11:17:42
Location: SI


Return to CentOS 5 - Networking Support

Who is online

Users browsing this forum: No registered users and 0 guests