Sent from my BlackBerry wireless device from MTN
-----Original Message----- From: adekunleadekoya@gmail.com Date: Fri, 28 Sep 2012 18:49:33 To: CentOS@mailing.list Reply-To: adekunleadekoya@gmail.com Subject: Apache : Listen on ports other than 80
Hi, I just install centos 6.3 on my oracle virtualbox. I tried 2 configure apache 2 listen on port say 1010 but after adding a 'Listen 1010' to the httpd.conf file and then try 2 restart d httpd service, I found that d service failed to start. If I remove the 'Listen 1010' line then d httpd service restarts successfully. What do I need to do so I could instruct d web server to use other ports (besides 80) ?
Are there default settings in centos that are causing this prob ? I have done same experiment successfully wit apache on windows. I need to setup virtualhost with my apache on centos. I need help now. Pls help!
Regards
Kunle Sent from my BlackBerry wireless device from MTN
Am 28.09.2012 um 21:06 schrieb adekunleadekoya@gmail.com:
I just install centos 6.3 on my oracle virtualbox. I tried 2 configure apache 2 listen on port say 1010 but after adding a 'Listen 1010' to the httpd.conf file and then try 2 restart d httpd service, I found that d service failed to start. If I remove the 'Listen 1010' line then d httpd service restarts successfully. What do I need to do so I could instruct d web server to use other ports (besides 80) ?
Are there default settings in centos that are causing this prob ? I have done same experiment successfully wit apache on windows. I need to setup virtualhost with my apache on centos. I need help now. Pls help!
check the <VirtualHost *:PORT> directive (and NameVirtualHost *:PORT).
-- LF