Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Des Dougan on November 04, 2001, 09:58:10 PM

Title: HTTP port change follow up
Post by: Des Dougan on November 04, 2001, 09:58:10 PM
Based on previous threads in the forum, I've made the necessary amendments to httpd.conf via the templates-custom tree so that I'm no longer using port 80. I've also used ZoneEdit's WebForward feature to redirect the changes so that the domain name can be accessed without identifying the port number. I've tested from an external system, and it works fine. On my LAN, though, I have to enter the port number for the home page to display correctly. Is there any way around this?

Des Dougan
Title: Re: HTTP port change follow up
Post by: Chris O'Donovan on November 05, 2001, 12:36:35 AM
I haven't tried it but I think that you could just add more "Listen" lines  to your httpd.conf file. Something like

  Listen 192.168.0.201:80  Listen 192.168.0.201:8080
should work.
I assume that you've made a custom template of

  /etc/e-smith/templates/etc/httpd/conf/httpd.conf/35Listen80

and modified the line

  $OUT .= "Listen $ip:80\n";

to use a different port number. Try adding a second line after this line with original port number.

Chris
Title: Re: HTTP port change follow up
Post by: Des Dougan on November 05, 2001, 01:13:35 AM
Chris,

Many thanks. Adding the $OUT line to the template fragment worked a treat.

Des