[Cppcms-users] apache configuration
Brought to you by:
artyom-beilis
From: mawan s. <ma...@gm...> - 2016-01-18 10:15:33
|
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 |