Koozali.org: home of the SME Server

httpd port

Peter

httpd port
« 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

Terry Brummell

Re: httpd port
« Reply #1 on: December 15, 2002, 07:57:57 PM »
Did you change the port using the template system?

Peter

Re: httpd port
« Reply #2 on: December 15, 2002, 08:24:53 PM »
no, by changing httpd.conf

Terry Brummell

Re: httpd port
« Reply #3 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

Dan Brown

Re: httpd port
« Reply #4 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).