change port 80 and 443

Andrew J. Kopciuch akopciuch at bddf.ca
Sun May 28 00:07:32 CEST 2006


On Saturday 27 May 2006 16:00, Bernhard Janetzki wrote:
> Hi,
> after changing the Listen options in /kolab/etc/apache/* and restarting
> apache, all works fine. After a kolab restart my changes are lost. I wonder
> if there is a possibility to set these default values.
> Thanks,
>


You need to change the values in :

/kolab/etc/kolab/templates/httpd.conf.template

Line 34 : <VirtualHost _default_:443>
Line 103 : Listen 80
Line 104 : Listen 443

Line 130 :   ErrorDocument 403 https://@@@fqdnhostname@@@/admin/

to :

ErrorDocument 403 https://@@@fqdnhostname@@@:<YOURNEWPORT>/admin/

Line 134 :   ErrorDocument 403 https://@@@fqdnhostname@@@/fbview/

to

ErrorDocument 403 https://@@@fqdnhostname@@@:<YOURNEWPORT>/fbview/



After the changes run :

/kolab/sbin/kolabconf



The /kolab/etc/httpd.conf is created at start up from the template and the 
values in the LDAP database.  If you make changes to the conf file, it will 
be overwritten at start up time.





Andy




More information about the users mailing list