Hi Massimo, I have run your script on a test box (linux mint) and it worked just fine. It got me running web2py with Apache.
Can you elaborate on what I need to do in order to also get php working. I copied that code you wrote <Location /php>....</Location> into the apache configuration file. I then visited http://localhost/php and I put a php file in /home/php, but I get the error 'invalid request'. Many thanks Simon On Sunday, 29 July 2012 20:22:29 UTC+1, Massimo Di Pierro wrote: > > Yes but I have not done it. My understanding is that you can use a > configuration such as described here: > > > https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-ubuntu.sh#L80 > > and within the same virtualhost you map some paths to the php folder > > <Location /php> > php_admin_value open_basedir "/home/php/" > php_admin_value upload_tmp_dir "/tmp" > </Location> > > > > On Sunday, July 29, 2012 1:18:37 PM UTC-5, Robin Manoli wrote: >> >> Hey, >> I'm wondering if it is possible to run web2py on the same port as other >> php-websites run. I have a normally configured LAMP, and I can install the >> required apache mod. Then the question is if a web2py app can run parallel, >> just as different php/html sites do with different domain names, using port >> 80? >> >> Thanks for your help >> > --

