On Tue, May 11, 2010 at 18:39, ciprian <mephisto...@yahoo.com> wrote: > i used this script to install web2py: > http://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh > > so i have everything in www-data > and everything works fine. > > now..what do i have to install to make php work on the same folder? or > what do i have to config. i have a very old app writed on php so i > want to be able to add on the server the demo - because i am rewriting > my site from php to web2py.
What do you mean with "same folder"? If you are saying about: mysite.com/somefolder get requests for web2py AND PHP it'll not be possible, I think. What you could do is to split the URLs, for example: web2py.mysite.com will get the requests and send to web2py and php.mysite.com will send to PHP. You could do also: mysite.com/web2py and mysite.com/php Obviously you could use /anything you want and configure Apache to direct this to web2py or PHP. > any help would be very helpful for me! -- Álvaro Justen - Turicas http://blog.justen.eng.br/ 21 9898-0141