Re: [bigbluebutton-users] API Directory and how to customize the URL?

232 views
Skip to first unread message
Message has been deleted

Fred Dixon

unread,
Apr 16, 2013, 8:19:56 AM4/16/13
to BigBlueButton-users
See this entry in the FAQ:



Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton



On Tue, Apr 16, 2013 at 4:33 AM, Jacky King <huasy...@gmail.com> wrote:
Hi Fred and All,

I understood that BBB uses nginx as a proxy and forwards URLs to tomcat for processing. I also learned that, by default, all requests go to http://server/bigbluebutton/api.

My question is, if I want to customize the path and replace the "bigbluebutton" portion of the URL to for instance "conference" so it will be displayed as http://server/conference/api. Is it possible to make such change? If yes, what files do I need to change?

Thanks in advance for your help.

Jacky

--
You received this message because you are subscribed to the Google Groups "bigbluebutton-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-u...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 




Message has been deleted

Fred Dixon

unread,
Apr 16, 2013, 11:36:03 AM4/16/13
to BigBlueButton-users
Hi Jacky,

It should be possible, but the /bigbluebutton/api is not visible to the users; rather, it's used from server-to-server API calls, so is there really a need to rewrite the URL?

Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton


On Tue, Apr 16, 2013 at 11:26 AM, Jacky King <huasy...@gmail.com> wrote:
Thank you Fred.

Hope you are doing well. :)

I checked that FAQ before. We were able to rewrite "/client/BigBlueButton.html" so it appears as a different link. However, we were not able to make it work for "bigbluebutton/api" since there is no "API" directory on the server.

Could you educate us what is the correct syntax to rewrite for "bigbluebutton/api"?

We tried,

configuration 1:
location /bigbluebutton {
        rewrite ^ /goto permanent;
}

location /goto {
       alias /var/lib/tomcat6/webapps/bigbluebutton;
}

configuration 2:
location /bigbluebutton/api {
        rewrite ^ /goto permanent;
}

location /goto {
       alias /var/lib/tomcat6/webapps/bigbluebutton;
}

configuration 3:

location /bigbluebutton/api {
        rewrite ^ /goto/api permanent;
}

location /goto/api {
       alias /var/lib/tomcat6/webapps/bigbluebutton;
}

None worked.


This is how the "rewrite.nginx" file looks as of now,

location /client/BigBlueButton.html {
        rewrite ^ /conference permanent;
}

location /conference {
        alias  /var/www/bigbluebutton/client;
        index BigBlueButton.html;
        expires 1m;
}

location /bigbluebutton {
        rewrite ^ /goto permanent;
}

location /goto {
       alias /var/lib/tomcat6/webapps/bigbluebutton;
}

Thank you,
Yukan



On Tuesday, April 16, 2013 7:19:56 AM UTC-5, Fred Dixon wrote:
On Tue, Apr 16, 2013 at 4:33 AM, Jacky King <huasy...@gmail.com> wrote:
Hi Fred and All,

I understood that BBB uses nginx as a proxy and forwards URLs to tomcat for processing. I also learned that, by default, all requests go to http://server/bigbluebutton/api.

My question is, if I want to customize the path and replace the "bigbluebutton" portion of the URL to for instance "conference" so it will be displayed as http://server/conference/api. Is it possible to make such change? If yes, what files do I need to change?

Thanks in advance for your help.


Jacky

--
You received this message because you are subscribed to the Google Groups "bigbluebutton-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-users+unsub...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages