开发者

faye working with rails3 app please help!

I am trying to get faye running on my production server but what do i use in the javascript_include_tag to get the faye.js file ?

In development i use this :

http://localhost:9292/faye.js

But in production it does not work. Something like this ? or ... ?

http://www.mysite.com/faye.js

I am using apachi for the rest of my site and thin for faye. Do i need to configure something in apachi to send to thin / faye ?

very confussed.

Plese he开发者_开发知识库lp.

best regards Richard


Thin and Apache need to be set up running on different ports.

The default settings for both should work, but you should double check. Ensure apache is running under port 80 and thin is using port 9292. These numbers should be visible when the servers start up.

In the end you should be able to access faye.js at http://mysite.com:9292/faye.js and your site at http://mysite.com/

NOTE: Turned my comments into an answer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜