N
N
newaitix2017-01-21 00:07:08
JavaScript
newaitix, 2017-01-21 00:07:08

How are comets made in apache server?

I wondered how to make a chat on the site. But that's not the task, I made the site on Apache. And here it turns out that a nodejs server is required to implement web tips. What should I do ? Transfer your site to nodejs or implement communication from one server to another?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaliy Orlov, 2017-01-21
@newaitix

you don’t need to transfer anything anywhere ,
you put the comet server on a port other than http (80) and enjoy
for great beauty, you can put the comet server on localhost, and proxy requests from the web server to it (google websocket apache2 mod proxy)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question