On Wed, Feb 10, 2010 at 13:38, mdipierro <[email protected]> wrote:
> It depends. For development if you use the built in web server you
> need to start it twice for http and https. This is in general a
> security measure. You do not want the same process to listen to two
> sockets else if something happens (like a memory leak) you may get
> locked out.
>
> In deployment you should be using apache+mod_wsgi
>
> just download and run this:
> http://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh

This script is included in web2py_src.zip, just see web2py/scripts/
directory for this and other useful scripts.
I think we need better deploy scripts (like some script to just update
some app on server etc.) and document them.

> It will setup everything for you behind a single apache server.
> I think this easier than rails actually.
>
> Massimo
>
>
> On Feb 10, 9:27 am, Al <[email protected]> wrote:
>> Hi,
>>
>> Now that I get my secure channel (using self-signed certificate)
>> working, I can remotely login from another computer to access the
>> admin interface thru https. To deploy this app for general users for
>> http access, do I have to run another instance of web2py on another
>> port - say port 80? Also how do I make these 2  instances to run as a
>> service in windows 2003 server? Also do I have to change the code so
>> that the general user just get directly to that single app? This whole
>> thing seems a lot more complicated than ruby on rails. I would
>> appreciate if people can explain this in more detail to me or point me
>> to the right documentations. Thanks.
>>
>> Cheers
>> Al
>
> --
> You received this message because you are subscribed to the Google Groups 
> "web2py-users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/web2py?hl=en.
>
>



-- 
Álvaro Justen - Turicas
 http://blog.justen.eng.br/
 21 9898-0141

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to