Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » How to use Skylark on external server
Re: How to use Skylark on external server [message #42985 is a reply to message #42984] Mon, 21 April 2014 20:54 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14256
Registered: November 2005
Ultimate Member
forlano wrote on Mon, 21 April 2014 18:48
Hello,

The thread title make evident my confusion about the topic. Embarassed
I tried Skylark for first time and it works although not how I hoped.

I am used to PHP scripts. I put them in some folder of a server (not mine) and call them by http request. I've done even some complex program with PHP+MYSQL.
It seems Skylark is quite different. It is itself a server (if I have understood) and not just an executable that wake up and performs some action Rolling Eyes . How to use it?
Do I need to save the executable in some directory? I suspect I need specific privilege on my ISP server.

I am very sorry if my questions looks silly Smile

Luigi


Well, basically it can act as server - but in that case you would be limited only to Skylark or would have to use non-standard port.

I guess that the most common way how to use Skylark is to start it on some internal special port, make your application an init.d daemon and configure apache to communicate with it using SCGI or HTPP proxy (Skylark automatically detects the connection type, so no need to configure it for one or another).

When HTTP request comes, apache will match the directory of skylark app and then redirects request there, gets response and returns to browser...

Mirek
 
Read Message
Read Message
Read Message
Previous Topic: [SOLVED] TcpSocket Connect error
Next Topic: HttpRequest File Upload
Goto Forum:
  


Current Time: Tue Apr 29 22:13:20 CEST 2025

Total time taken to generate the page: 0.00883 seconds