change the name of demo folder!

1,084 views
Skip to first unread message

fkitd

unread,
Jun 22, 2012, 10:26:32 AM6/22/12
to bigblueb...@googlegroups.com
hi
how can i change the name of demo folder as root folder in bbb ?
i have changed it but it didn't work for me
could anyone help me ?

Fred Dixon

unread,
Jun 22, 2012, 10:42:37 AM6/22/12
to bigblueb...@googlegroups.com
Hi Fkitd,

You probably tried,

  sudo mv /var/lib/tomcat6/webapps/demo /var/lib/tomcat6/webapps/demo_new

which will rename the folder, but you need to tell nginx to route request to the demo_new.  See

  cat /etc/bigbluebutton/nginx/demo.nginx

and you'll see

         # Forward request to /demo to tomcat.  This is for
         # the BigBlueButton api demos.
       location /demo {
           proxy_pass         http://127.0.0.1:8080;
           proxy_redirect     default;
           proxy_set_header   X-Forwarded-For   $proxy_add_x_forwarded_for;

        # Allow 30M uploaded presentation document.
           client_max_body_size       30m;
           client_body_buffer_size    128k;

           proxy_connect_timeout      90;
           proxy_send_timeout         90;
           proxy_read_timeout         90;

           proxy_buffer_size          4k;
           proxy_buffers              4 32k;
           proxy_busy_buffers_size    64k;
           proxy_temp_file_write_size 64k;

           include    fastcgi_params;
       }


In demo.nginx, change

  location /demo {

to

  location /demo_new {


(or whatever you renamed the demo folder to) and restart nginx

  sudo /etc/init.d/nginx restart


You can now access the demo pages on your server from the new name, such as



Let us know if the above gets you going.
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton




--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/bigbluebutton-dev/-/t22cBOMolkoJ.
To post to this group, send email to bigblueb...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.





vishal sengar

unread,
Jun 2, 2014, 8:27:25 AM6/2/14
to bigblueb...@googlegroups.com
Hello Fred,

Even after changing the folder name, demo.nginx, and restarting nginx. WHile we create a demo meeting the url comes with /demo and not the new folder name.
Can you please advise ?

vishal sengar

unread,
Jun 2, 2014, 8:58:46 AM6/2/14
to bigblueb...@googlegroups.com
Found a way out in .jsp pages :)
Reply all
Reply to author
Forward
0 new messages