using httpd server of ZCS

Ask questions about your setup or get help installing ZCS server (ZD section below).
msrmanohar
Posts: 5
Joined: Sat Sep 13, 2014 12:09 am

using httpd server of ZCS

Postby msrmanohar » Tue Mar 17, 2009 2:38 am

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


uxbod
Ambassador
Ambassador
Posts: 7811
Joined: Fri Sep 12, 2014 10:21 pm

using httpd server of ZCS

Postby uxbod » Tue Mar 17, 2009 2:42 am

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.
msrmanohar
Posts: 5
Joined: Sat Sep 13, 2014 12:09 am

using httpd server of ZCS

Postby msrmanohar » Tue Mar 17, 2009 4:06 am

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
uxbod
Ambassador
Ambassador
Posts: 7811
Joined: Fri Sep 12, 2014 10:21 pm

using httpd server of ZCS

Postby uxbod » Tue Mar 17, 2009 4:16 am

See if this is what you would like to do :- Wiki :: HTTP(s) integration with Apache
phoenix
Ambassador
Ambassador
Posts: 26618
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

using httpd server of ZCS

Postby phoenix » Tue Mar 17, 2009 6:46 am

[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.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
bobby
Zimbra Employee
Zimbra Employee
Posts: 515
Joined: Fri Sep 12, 2014 10:01 pm

using httpd server of ZCS

Postby bobby » Wed May 27, 2009 12:59 pm

[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.
thorng
Posts: 46
Joined: Sat Sep 13, 2014 12:21 am

using httpd server of ZCS

Postby thorng » Wed May 27, 2009 8:26 pm

zmtlsctl https

yum install httpd

service httpd start
veronica
Outstanding Member
Outstanding Member
Posts: 592
Joined: Fri Sep 12, 2014 11:35 pm

using httpd server of ZCS

Postby veronica » Thu May 28, 2009 1:30 am

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.
krishnapandey1984
Posts: 4
Joined: Sat Sep 13, 2014 1:22 am

using httpd server of ZCS

Postby krishnapandey1984 » Wed Jul 28, 2010 11:54 pm

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
;);)

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 4 guests