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 » Community » Newbie corner » How to run a Skylark app in webserver?
How to run a Skylark app in webserver? [message #37896] Tue, 20 November 2012 20:45 Go to next message
lectus is currently offline  lectus
Messages: 329
Registered: September 2006
Location: Brazil
Senior Member
Ok, so far Skylark is awesome for building C++ apps with web-based interfaces.

But is it possible to run this app in a web-server like Apache for example?
Re: How to run a Skylark app in webserver? [message #37897 is a reply to message #37896] Tue, 20 November 2012 21:04 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

lectus wrote on Tue, 20 November 2012 20:45

Ok, so far Skylark is awesome for building C++ apps with web-based interfaces.

But is it possible to run this app in a web-server like Apache for example?

Yes, of course Wink

Here is an example config for Nginx from real life. I don't use Apache anywhere, but I tested it too and it works very similar to Nginx.

Best regards,
Honza
Re: How to run a Skylark app in webserver? [message #37898 is a reply to message #37896] Tue, 20 November 2012 22:56 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
lectus wrote on Tue, 20 November 2012 14:45

Ok, so far Skylark is awesome for building C++ apps with web-based interfaces.

But is it possible to run this app in a web-server like Apache for example?


I believe that all you need to do for Apache is to add

SCGIMount /my_skylark_app_name/ 127.0.0.1:4000

into

/etc/apache2/httpd.conf

then start Skylark app configured for port 4000.

Of course, in real production environment, you would likely want to do a bit more sophisticated things, like deamonizing the app and putting start/stop/restart script into init.d, if you are really serious, you will also consider packaging to automate upgrades/rollbacks etc...

Mirek
Previous Topic: EditDoubleSpin
Next Topic: Strings related functions
Goto Forum:
  


Current Time: Tue Apr 16 12:41:46 CEST 2024

Total time taken to generate the page: 0.01777 seconds