[web2py] Re: Ubuntu 14.04 Setup Script with Apache - Issues?

2014-06-24 Thread shachar lobl
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
>   
> AllowOverride None
> Order Allow,Deny
> Deny from all
> 
>   Allow from all
> 
>   
> To
> 
> AllowOverride None
> #Order Allow,Deny
> #Deny from all
> Require all granted
> 
>   Require all granted
> 
>   
>
>
> 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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Issue deploying web2py even after following tutorial

2014-06-24 Thread shachar lobl
Hi,

I've been struggling the last few days with deploying web2py on an EC2 
Ubuntu instance. I describe the steps I took in SO in the link below.

http://stackoverflow.com/questions/24371280/unable-to-access-web2py-server-running-in-ec2-instance

I feel like it's something simple, and all help would be very much 
appreciated. Thanks!

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.