Re: [Cppcms-users] apache configuration
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2016-01-18 10:37:09
|
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 - FastCgiIpcDir /var/lib/apache2/fastcgi - # Usually it is given in fastcgi.conf by default - - FastCgiServer /opt/app/bin/hello -initial-env CPPCMS_CONFIG=/opt/app/etc/config.js -socket /tmp/hello-fcgi-socket - # CPPCMS_CONFIG should hold the path to configuration file. - # Note: you can't pass command line parameter - # so you pass the location of configuration file - # via CPPCMS_CONFIG environment variable - - FastCGIConfig -maxProcesses 1 -processSlack 1 - # This is important - we want apache to use only - # one process as we have cache and many other - # goodies handled by outsefs - - ScriptAliasMatch ^/hello(.*)$ /opt/app/bin/hello$1 - # We map script "/hello" to our application - - 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 |