Hi Kevin,

web2py has nothing to do with the certificates and ports. Apache takes care on these things. The certificate is configured into Apache. When SSL is configured Apache will listen on port 80 och 443 as standard ports for http and https.

I can post my Apache config later today when I get access to my web2py dev server.


Kenneth

if I give the ssl certs to web2py I can only access the server through https and if I don't do that I can only access the non admin part of web2py. there has to be a way around it.
can I bind web2py to 2 ports? one for ssl one for non ssl?
Can anyone help I am really stuck with this problem.

On Sunday, November 11, 2012 7:55:11 AM UTC+1, BlueShadow wrote:

    OK can you tell me how I do configure the apache2 server? I got
    the ssl crt and key.

    On Saturday, November 10, 2012 10:35:36 PM UTC+1, Kenneth wrote:

        Hi Kevin,

        the setup script does not change Apaches SSL configuration at
        all, if I remember correctly. So you need to configure your
        Apache to use SSL. You need to generate a self-generated
        certificate, if you havn't bought one.


        Kenneth

        Hi I used the setup-web2py-ubuntu.sh to install web2py. It
        installed it but when I access my server on the specified
        port get the welcome app but I can't access the admin panel!
        It says app admin is deactivated because of unsecure channel.
        when I try to access it with an https:// infront of my severs
        ip I get an ssl error.
        web2py wath started with this command:
        python ./web2py.py -i xxx.xxx.xxx.xxx -a password -p 2323
        I did nothing else but install web2py with this script.
        In the deployment recipes:
        http://web2py.com/books/default/chapter/32/13
        <http://web2py.com/books/default/chapter/32/13> there is
        quite a lot about making apace config files but I got no clue
        ho to do that even with these recipes and from my
        understanding the setup....sh should have done all this?

--



--




--



Reply via email to