Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: May on February 25, 2002, 05:05:08 PM
-
i would like to change the httpd port!
and type the follow:
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
cp /etc/e-smith/templates/etc/httpd/conf/httpd.conf/35Listen80 \
> /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
and then edit the files in /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/35Listen80
my $port =
db_get_prop(\%services, "httpd-e-smith", "HttpPort") || "80";
$OUT .= "Listen $ip:$port \n";
/sbin/e-smith/config setprop httpd-e-smith HttpPort 8080
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
/etc/e-smith/events/actions/restart-httpd-full
what i did worng??
-
i had success law..^.^
thx Dan
-
hi
i had another question^.^
after i change the httpd port 8080, can i still using webmail funication.
do i need to do anything.....
form May
-
Webmail should still work, but the url will be http://server:8080/webmail (or whatever port you specified). If you've specified SSL access, you shouldn't have to change anything.