I'm a bit of a novice when it comes to configuring apache.  I followed the 
instructions 
here<http://www.scribd.com/doc/26436821/Howto-deploy-Web2py-on-amazon-Ec2>to 
install web2py on an EC2 instance, and it works great.  Unfortunately, 
it seems web2py still thinks it's at http://127.0.0.1:8000/, since that's 
what comes out when I use URL(...,scheme=True,host=True).  This isn't a 
problem for regular internal use since I can leave those flags off, but in 
emails they're necessary.  At the moment I'm solving this by including a 
<base> element in the email head, but it'd be great if I could get by 
web2py install to know where it's at.

Like I said, I'm a novice at configuring apache.  Not sure if I'm using 
mod_proxy or mod_wsgi, I guess whatever was set in the ubuntu setup script 
at http://web2py.google.code.com/hg/scripts/setup-web2py-ubuntu.sh .  Any 
help would be much appreciated.

Reply via email to