Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Mike Ransick on August 05, 2001, 09:30:03 AM

Title: Port 80
Post by: Mike Ransick 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?
Title: Reboot fixed it
Post by: Mike Ransick on August 05, 2001, 08:42:14 PM
Is there any way to have the changes take affect without a reboot?
Title: Re: Reboot fixed it
Post by: CMG 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!
Title: Re: Port 80
Post by: baf 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.
Title: How I moved my web page away from port 80
Post by: Mike Ransick 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