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
-
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?
-
Is there any way to have the changes take affect without a reboot?
-
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!
-
Which templates did you have to modify??? I am in need of doing the same port change.
-
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