Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Peter on December 15, 2002, 07:18:00 PM

Title: httpd port
Post by: Peter on December 15, 2002, 07:18:00 PM
Hello,

I have been running E-smith for a couple of weeks on my computer and it works perfect. Except one thing, I run the http-demon on a different port then the normal port 80. But once a week e-smith automatically turns the port back to 80. Does anybody know how this come en and how is can be fixed?

Thanks,

Peter
Title: Re: httpd port
Post by: Terry Brummell on December 15, 2002, 07:57:57 PM
Did you change the port using the template system?
Title: Re: httpd port
Post by: Peter on December 15, 2002, 08:24:53 PM
no, by changing httpd.conf
Title: Re: httpd port
Post by: Terry Brummell on December 15, 2002, 08:35:44 PM
Then you need to read up on the templating system SME uses.  Something, once a week, is rebuilding the httpd.conf file, and since you have edited it directly your changes are being overwritten.  What you need to do is create a custom template, make your modifications to the template, expand it and restart http.  Then, whenever httpd is restarted later it will use the custom settings instead of defaults.

http://www.e-smith.org/docs/papers/templates.html
Title: Re: httpd port
Post by: Dan Brown on December 15, 2002, 09:59:48 PM
...or even take a look at the contrib how-tos page, where there's one on doing exactly this (for 5.1.2 and older).