I did this it will keep Apache listening on 80 and 443 (modified from
http://www.familybrown.org/howtos/listen-port-howto.html):
cp /etc/e-smith/templates/etc/httpd/conf/httpd.conf/35Listen80 /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
cp /etc/e-smith/templates/etc/httpd/conf/httpd.conf/80*VirtualHosts /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
then in /etc/e-smith/templates-custom/httpd/conf/httpd.conf modify the following
mv 35Listen80 35Listen(Port to Listen To)
in here change all references to 80 to the port you want to listen to
I use 10080 like the apache port change contrib
then in 80NameVirtualHosts add
NameVirtualHost 0.0.0.0:(Port to Listen to)
in 80VirtualHosts
change:
foreach my $port (qw(80 443)) to foreach my $port (qw(80 443 (Port to Change to - no brackets))
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
/etc/rc.d/init.d/httpd-e-smith restart
Now your changes are saved for any updates and the virtual hosts should all use the added port(s)
Hope that helps.
I haven't played with changing the SSL stuff yet.
However if you go to /etc/e-smith/templates/etc/httpd/conf/httpd.conf and then grep 443 *
You should find all the config files for port 443. I would imagine you just need to modify those and the 80*VirtualHosts files to point to another port than 443. Then expand the httpd.conf template again and restart apache. The SSL part is speculation.