On Jan 20, 3:12 pm, vvk <varunk.ap...@gmail.com> wrote: > I installed web2py with apache & mod_wsgi. My computer don't have any > Domain Name. Another PHP project should be hosted on same machine. How > to configure my system to run PHP and web2py at the same time? > > Temporarily, web2py is using http service and https by PHP site by > modifying httpd.conf file but any permanent solution ?
What needs to control the root page of the web server, a PHP script or web2py? Can the PHP stuff be placed under a common sub URL rather than .php files sprinkled directly under '/'? If web2py controls root page and PHP stuff under a common sub URL then is easy. If .php is sprinkled in DocumentRoot and should take precedence over web2py when such files exist, then a little bit tricker to configure, but still possible. The information you need is in: http://code.google.com/p/modwsgi/wiki/ConfigurationGuidelines so long as you know what to look for and how to apply it. ;-) BTW, do make absolutely sure web2py running in mod_wsgi daemon mode. PHP enforces Apache be setup in a particular way which is detrimental to Python web applications if they are run in embedded mode. Have a read of: http://blog.dscpl.com.au/2009/03/load-spikes-and-excessive-memory-usage.html Graham
-- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.