To see the tickets, use https protocol.


2010/2/11 Al <[email protected]>

> Thank you for your input. I am using Windows server so I cannot use
> the ubuntu scripts you mentioned. How about my second part of the
> question? I understand why web2py is designed in such a "secure"
> fashion. I am just trying to find a way around it so that I can deploy
> my first app. I theory I should be able to type from any machine
> http://myserver/myfirstapp, but it gives me an internal error - Ticket
> issues. When I click the ticket link, it gives "Admin is disabled
> because insecure channel". I have two instances of web2py running. I
> can run http://myserver/example or https://myserver/myfirstapp without
> any issues. What's so special about the built-in examples app? Do I
> have to cut out some code from my app to get rid of all the admin menu
> and authentication for a general users?
>
> On Feb 10, 11:38 pm, 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
> >
> > 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. Todeploythis 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]<web2py%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/web2py?hl=en.
>
>


-- 
Atenciosamente

-- 
=========================
Alexandre Andrade
Hipercenter.com

-- 
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