Re: [Cppcms-users] apache configuration
Brought to you by:
artyom-beilis
From: Klaim - J. L. <mj...@gm...> - 2016-01-18 11:48:48
|
For information: this email is still considered spam by gmail. On 18 January 2016 at 11:37, Artyom Beilis <art...@ya...> wrote: > You need to read this wiki doc: > > http://cppcms.com/wikipp/en/page/run_application_web_server_root > > > > ------------------------------ > *From:* mawan sugiyanto <ma...@gm...> > *To:* cpp...@li... > *Sent:* Monday, January 18, 2016 12:14 PM > *Subject:* [Cppcms-users] apache configuration > > Dear All > > I have read the documentation about apache configuration > > > 1. FastCgiIpcDir /var/lib/apache2/fastcgi > 2. # Usually it is given in fastcgi.conf by default > 3. > 4. > FastCgiServer /opt/app/bin/hello -initial-env CPPCMS_CONFIG=/opt/app/etc/config.js -socket /tmp/hello-fcgi-socket > 5. # CPPCMS_CONFIG should hold the path to configuration file. > 6. # Note: you can't pass command line parameter > 7. # so you pass the location of configuration file > 8. # via CPPCMS_CONFIG environment variable > 9. > 10. FastCGIConfig -maxProcesses 1 -processSlack 1 > 11. # This is important - we want apache to use only > 12. # one process as we have cache and many other > 13. # goodies handled by outsefs > 14. > 15. ScriptAliasMatch ^/hello(.*)$ /opt/app/bin/hello$1 > 16. # We map script "/hello" to our application > 17. > 18. AddHandler fastcgi-script /opt/app/bin/hello > > > Can we configure ScriptAliasMatch ^/hello(.*)$ /opt/app/bin/hello$1 for > all root domain? > Can We configure cppcms as root application? Or we user index.html > manually? > > Thanks > > > Mawan > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > |