Koozali.org: home of the SME Server

Port 80

Mike Ransick

Port 80
« on: August 05, 2001, 09:30:03 AM »
I want to move my web page from port 80 to a high numbered port.  I changed all references tfrom port 80 to a port over 8000 using the templates, updated the templates, and ran httpd.  My web page still responds to 80 and not 8000.  Any ideas?

Mike Ransick

Reboot fixed it
« Reply #1 on: August 05, 2001, 08:42:14 PM »
Is there any way to have the changes take affect without a reboot?

CMG

Re: Reboot fixed it
« Reply #2 on: August 06, 2001, 10:53:14 PM »
sure... how about this:

/etc/rc.d/init.d/httpd-e-smith restart
/etc/rc.d/init.d/httpd-admin restart

That should do it!

baf

Re: Port 80
« Reply #3 on: August 07, 2001, 10:14:35 PM »
Which templates did you have to modify??? I am in need of doing the same port change.

Mike Ransick

How I moved my web page away from port 80
« Reply #4 on: August 08, 2001, 06:10:14 AM »
I followed the directions for modifying templates at http://www.e-smith.org/custom/

Then I looked through the file /etc/httpd/conf/httpd.conf to see where to chage ports.  I then modified the template files located at /etc/e-smith//templates-custom/etc/httpd/conf/httpd.conf/ replacing all references to port 80 with a high numbered port.  To copy the templates follow the directions on the custom site by running

/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf

I then rebooted (because I am a newbie)

A post from CMG (none) explains how to do it without restarting.

/etc/rc.d/init.d/httpd-e-smith restart
/etc/rc.d/init.d/httpd-admin restart

Hope this helps.

Mike