On 13 Jan 2014, at 6:10 AM, Jonathan Lundell <jlund...@pobox.com> wrote: > On 13 Jan 2014, at 5:28 AM, Martin Weissenboeck <mweis...@gmail.com> wrote: >> What I want to have: >> >> A website, which could be accessed by the https-protocoll (for the >> administration) and by the http-protokoll (as service for some ip-phones). >> >> >> I have tried: >> >> • nohup /usr/local/bin/python2.7 web2py.py -a 123456 --interface >> xx.xx.xx.xx:8008:server.key:server.crt & >> >> • nohup /usr/local/bin/python2.7 web2py.py -a 123456 --interface >> xx.xx.xx.xx:8009 & >> >> >> Both works fine. But >> >> • nohup /usr/local/bin/python2.7 web2py.py -a 123456 --interface >> xx.xx.xx.xx:8008:server.key:server.crt;xx.xx.xx.xx:8009 & >> >> works only with https and reports an error >> >> xx.xx.xx.xx:8009 command not found > > You need to quote or escape the semicolon.
For example: nohup /usr/local/bin/python2.7 web2py.py -a 123456 --interface "xx.xx.xx.xx:8008:server.key:server.crt;xx.xx.xx.xx:8009" & or: nohup /usr/local/bin/python2.7 web2py.py -a 123456 --interface xx.xx.xx.xx:8008:server.key:server.crt\;xx.xx.xx.xx:8009 & I'm assuming that your command is otherwise correct (that is, I haven't looked at how the --interface option is parsed internally). >> >> The opposite is >> >> • nohup /usr/local/bin/python2.7 web2py.py -a 123456 >> --xx.xx.xx.xx:8009; xx.xx.xx.xx:8008:server.key:server.crt & >> >> Now: the http-protocol is ok. >> >> It seem to be the same problemas as in this posting: >> https://groups.google.com/forum/#!msg/web2py/l-1mVlw9efc/HnNXOqaNPocJ >> > -- 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/groups/opt_out.