How to access page ?

souri84

New Member
Hello,
I'm new on Flasphoner... So sorry for my questions :)...
I installed WCS 5 on my server and now i would like to aim personal page which exists at http://host.com/fp/index.php (it's a simple test page which is the same page like conference.html from flashponer).
When i do this : http://host.com:8888/fp/index.php , I have a 404 error... whereas when I do this : http://host.com/fp/index.php, my page is ok.
So how to access my page and now use wcs with ny own page ?
Thanks for all,
Souri84
 

souri84

New Member
Hello Max,
First : thank you ! :)

Sorry, but WCS is started good. because I access our tutorial pages good. But when I want to go to my personal page, it's not good. You can test here :

https://ec2-35-167-187-188.us-west-2.compute.amazonaws.com:8888/ => Good, I access to my dashboard and tutorials.
https://ec2-35-167-187-188.us-west-2.compute.amazonaws.com:8888/fp/ => folder in root that contains my personal page => 404 error
https://ec2-35-167-187-188.us-west-2.compute.amazonaws.com/fp/ => Page Ok but WCS isn't listening events and nothing work

Sorry....

Thibaut
 

Max

Administrator
Staff member
Hello
All examples are located in the folder:
Code:
/usr/local/FlashphonerWebCallServer/client2
So you can put your code into this folder.
However, by default this folder is invisible.
You have to enable demo user to see this folder over http / https
Edit config
/usr/local/FlashphonerWebCallServer/bin/setenv.sh
Replace
Code:
-DstartWithDemoUser=false
with
Code:
-DstartWithDemoUser=true
then do WCS restart
Code:
service webcallserver restart
Once server is restarted you will be able to see your code in client2 folder over http / https.
Example:
https://wcs5-eu.flashphoner.com/client2/examples/demo/streaming/streamer/streamer.html
It is our demo server.
Note.
WCS is not a web server. WCS has built-in web server, but it is for demo purpose only.
So in production you have to move your html/js code to your own web server like apache, nginx, tomcat, etc.
 
Top