The nginx setup script works perfectly on ubuntu 14.04. As for Apache, the changes I mentioned above should get it working just fine as well.
On Tuesday, June 24, 2014 11:22:47 AM UTC-5, shachar lobl wrote: > > I'm also experiencing these problems installing on Ubuntu 14.04 as well > for the past few days. I've followed all the steps on different tutorials > and I still can only get the Apache default page. I was doing this to get a > better knowledge of building web apps and I don't have much knowledge of > Apache. Based on this thread, I'm going to spin up a server with a > different OS to avoid the issues. Thanks > > On Wednesday, June 18, 2014 11:08:33 PM UTC-4, Brian M wrote: >> >> Anybody else tried setting things up on Ubuntu 14.04 using >> scripts/setup-web2py-ubuntu.sh? I tried it this evening and ran into >> multiple issues >> 1) The generated sites-available/default configuration file must be >> linked to sites-enabled/default.conf or else it doesn't actually get used >> and all you get are 404 errors. (Note also that you need to have the .conf >> extension, simply doing a symbolic link from sites-available/default to >> sites-enabled/default won't work) >> 2) The granting of permissions in Apache 2.4 seems to have changed. (see >> http://httpd.apache.org/docs/2.4/upgrading.html) In order to get things >> working I had to go from >> <Directory /home/www-data/web2py> >> AllowOverride None >> Order Allow,Deny >> Deny from all >> <Files wsgihandler.py> >> Allow from all >> </Files> >> </Directory> >> To >> <Directory /home/www-data/web2py> >> AllowOverride None >> #Order Allow,Deny >> #Deny from all >> Require all granted >> <Files wsgihandler.py> >> Require all granted >> </Files> >> </Directory> >> >> >> Note that I am not an expert in configuring Apache and don't know that >> these changes won't have unwanted security issues, I just know that they >> seem to be needed to get web2py up and running on Ubuntu 14.04. >> >> 3) The AliasMatch for using response.static_version doesn't seem to be >> working for me either. :( As soon as I set response.static_version in >> welcome/models/db.py all of the .js and .css files just return 404 errors. >> >> >> Anybody more knowledgeable than me want to take a look and perhaps offer >> a patch for the setup script? >> >> Thanks, >> Brian >> > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

