Koozali.org: home of the SME Server

Modify ftpd and httpd ports

Chris

Modify ftpd and httpd ports
« on: December 06, 2001, 07:37:31 PM »
There was recently a post about modifying the ports that httpd runs on.
I have tried a few different approaches to this problem, and non have worked.

The main idea is to modify the ports that httpd is running on. Simple? Well I created a custom template following all directions. I then modified the 05Port file using vi to change the instance of 80 to 8080. I also modified the 35Listen80 and changed the one instance of 80 to 8080.

This failed. After numerous attempts, I went ahead and changed the /etc/e-smith/templates/httpd/conf/httpd.con/ files directly. Yet still after restarting httpd or even rebooting the box, it fails. (Yes the changes I made did get saved, but the server is still running on port 80.)

I tried to do the same to the 05pot file in the ftpd templates, and have also had no luck. The files get changed, but the services ports never change.

What gives?

AlecN

Re: Modify ftpd and httpd ports
« Reply #1 on: December 07, 2001, 02:06:03 AM »
Did you do a /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf ?. I think that's the command.
Good luck, Alec

Ralph

Re: Modify ftpd and httpd ports
« Reply #2 on: December 07, 2001, 07:14:40 AM »
Hi Alec,

Did you execute the template jig?..

/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf

Sounds like you did everything else correct. You should have executed this and received no errors. Hope this helps.

Ralph