Hi,
I have recently installed ZCS Community edition on CentOS and it is working fine. I would like to host some webpages (html) on the same hardware by using the httpd. But as there is an internal httpd server in ZCS, I am unable to put these pages on the regular httpd server. Can I make use of the ZCS based httpd or the Jetty for hosting these pages? If so, what is the procedure?
Thanks in advance,
--manohar
using httpd server of ZCS
using httpd server of ZCS
Welcome to the forums
If you were to move ZCS onto the HTTPS port using Wiki :: zmtlsctl you could then run you standard web server on port 80.
If you were to move ZCS onto the HTTPS port using Wiki :: zmtlsctl you could then run you standard web server on port 80.
-
- Posts: 5
- Joined: Sat Sep 13, 2014 12:09 am
using httpd server of ZCS
Dear friend,
I have followed that document - I gave
- zmtlsctl both
Later I have kept my html page at /opt/zimbra/httpd/htdocs/ and restarted zimbra. When I access https://myserver-name/mypage.html, 404 error is thrown. Kindly help.
--manohar
I have followed that document - I gave
- zmtlsctl both
Later I have kept my html page at /opt/zimbra/httpd/htdocs/ and restarted zimbra. When I access https://myserver-name/mypage.html, 404 error is thrown. Kindly help.
--manohar
using httpd server of ZCS
See if this is what you would like to do :- Wiki :: HTTP(s) integration with Apache
using httpd server of ZCS
[quote user="msrmanohar"]I have recently installed ZCS Community edition on CentOS and it is working fine. I would like to host some webpages (html) on the same hardware by using the httpd. But as there is an internal httpd server in ZCS, I am unable to put these pages on the regular httpd server. Can I make use of the ZCS based httpd or the Jetty for hosting these pages? If so, what is the procedure?[/QUOTE]Do not try and host any website within the Zimbra httpd, you may impact the performance of Zimbra or you may break Zimbra and you certainly will lose any changes when you do an upgrade. As you've already been told, use another instance of Apache to host your website.
using httpd server of ZCS
[QUOTE]> zmtlsctl both[/QUOTE]
That will configure the mailboxd jetty service to listen on both the http and https ports (80 and 443 by default). You'll have to run "zmtlsctl https" to cause jetty to only listen on the https port if you would like to run another httpd on port 80.
The files at /opt/zimbra/httpd/htdocs/ are served by the spell check http service on port 7780.
That will configure the mailboxd jetty service to listen on both the http and https ports (80 and 443 by default). You'll have to run "zmtlsctl https" to cause jetty to only listen on the https port if you would like to run another httpd on port 80.
The files at /opt/zimbra/httpd/htdocs/ are served by the spell check http service on port 7780.
using httpd server of ZCS
zmtlsctl https
yum install httpd
service httpd start
yum install httpd
service httpd start
using httpd server of ZCS
Are you looking for adding portal ?
If yes then run this :-
zmprov gc default | grep -i portal
zimbraFeaturePortalEnabled: TRUE
zimbraPortalName: example
The default example pages are at /opt/zimbra/mailboxd/webapps/zimbra/portals/example
you need to modify these.
If yes then run this :-
zmprov gc default | grep -i portal
zimbraFeaturePortalEnabled: TRUE
zimbraPortalName: example
The default example pages are at /opt/zimbra/mailboxd/webapps/zimbra/portals/example
you need to modify these.
-
- Posts: 4
- Joined: Sat Sep 13, 2014 1:22 am
using httpd server of ZCS
zmcontrol status
zmcontrol status gave error mysql.server not running mailbox stoped
vi /etc/hosts/
ip added with hostname eg. IP zimbra.domainname.com zimbra
as mysql gave error we did this
zmcontrol stop
to Delete the mysql data and re initialize an empty data directory. If you do not
do this, zmrestoreoffline will have errors. As zimbra, type
a. rm -rf /opt/zimbra/db/data/*
b. /opt/zimbra/libexec/zmmyinit
The mySQL service is now running
we created user zimbra in mysql database and set password
login in mysql -u zimbra -p
zmcontrol restart
zmcontrol status
zmtlsctl status
zmtlsctl https
zmcontrol restart
zmcontrol status
;)
zmcontrol status gave error mysql.server not running mailbox stoped
vi /etc/hosts/
ip added with hostname eg. IP zimbra.domainname.com zimbra
as mysql gave error we did this
zmcontrol stop
to Delete the mysql data and re initialize an empty data directory. If you do not
do this, zmrestoreoffline will have errors. As zimbra, type
a. rm -rf /opt/zimbra/db/data/*
b. /opt/zimbra/libexec/zmmyinit
The mySQL service is now running
we created user zimbra in mysql database and set password
login in mysql -u zimbra -p
zmcontrol restart
zmcontrol status
zmtlsctl status
zmtlsctl https
zmcontrol restart
zmcontrol status
;)