More progress
DIY Hackery
You will need: (for the moment, time is limited)
- not to be afraid to google for answers to how to do the below
- the ability to redirect *.momentolive.com to an ip of your choice (ie your computer)
- to create a self signed cert for your webserver for *.momentolive.com
- to run a webserver on your ip on ports 80 and 1066(ssl) answering to securesync.momentolive.com at least.
- to assign the cert you created to the 1066 server
- to be able to run scripts named .sync (AddHandler?)
Comments are closed.
about 1 year ago
Hello faye,
can you help me please with this. i dont know why this won´t work.
1. i configure our dns. http://www.momentlive.com and securesync.momentolive.com to my ipaddress.
2. install debian with apache, php, mysql
3. create mysql db with momento.sql
4. change settings in config.php (the closing php tag are missing)
5. create a webpage momentolive.com with port 80 and 1066. both are working.
6. i put all files directly into Document Root and change the path for config.php in frame.sync and poll.sync
7. my moment is connected via wlan but i can´t connect to this site.
can you help me please. what about AddHandler is this important?
regards Ralf
about 1 year ago
Maybe we can work this out together.
For the AddHandle:
usually .sync files are not treated as php scripts by Apache.
Since I didn’t want to add .sync to the AddHandler I have actived the mod_rewrite in apache and for my site, I have added:
RewriteEngine on
RewriteRule (.*)\.sync$ $1.php [nc]
in my sitefile. The three scripts from Faye are renamed from .sync to .php and are now executed as standard php scripts from my apache server,
However – I’m not there yet as well. Couple of database entries are available now.
about 1 year ago
hi markus,
ok i have activated mod_rewrite
i add this to /etc/apache2/sites-available/default-ssl and restart apache
then i try to open frame.sync and get an error message that he can´t find frame.php. is this ok?
also i use wireshark and i see no traffic between frame and my webserver. is anything wrong with my dns forwarding.