[web2py] Re: Windows + Apache + mod_proxy

2011-11-08 Thread Omi Chiba
Paolo, People can access the site by server name but not IP. Do you know how to change the configuration ? http://ochiba-183/welcome/default/index (OK) http://10.30.6.122/welcome/default/index (NG) On Oct 12, 1:14 pm, Paolo Caruccio paolo.carucci...@gmail.com wrote: Well done! Paolo

[web2py] Re: Windows + Apache + mod_proxy

2011-11-08 Thread Paolo Caruccio
Omi, please try the following: in vhost_web2py.conf replace VirtualHost *:80 ServerName ochiba-183 with VirtualHost LIP:80 ServerName ochiba-183 where LIP is the server's IP See for reference my previous post (STEP D) Let me know if it works. Paolo P.S. Moreover what do you think about

[web2py] Re: Windows + Apache + mod_proxy

2011-11-08 Thread Omi Chiba
It worked !! Thanks again! On Nov 8, 12:43 pm, Paolo Caruccio paolo.carucci...@gmail.com wrote: Omi, please try the following: in vhost_web2py.conf replace VirtualHost *:80 ServerName ochiba-183 with VirtualHost LIP:80 ServerName ochiba-183 where LIP is the server's IP See for

[web2py] Re: Windows + Apache + mod_proxy

2011-10-12 Thread Omi Chiba
Paolo, I just finished summarized this setting and post on my blog. http://ochiba77.blogspot.com/2011/10/how-to-setup-web2py-apache-wsgi-uniform.html On Oct 10, 5:41 pm, Paolo Caruccio paolo.carucci...@gmail.com wrote: I am very glad I helped Ciao. Paolo

[web2py] Re: Windows + Apache + mod_proxy

2011-10-12 Thread Paolo Caruccio
Well done! Paolo

[web2py] Re: Windows + Apache + mod_proxy

2011-10-10 Thread Omi Chiba
Paolo, I finished the setting and access http://ochiba-183(My PC Name) but it shows the default index.php under www and not web2py. d4 - open %WINDOWS%\system32\drivers\etc\hosts file and add the alias 127.0.0.1 web2py.localhost. Replace server's IP to 127.0.0.1 and access to web2py from not

[web2py] Re: Windows + Apache + mod_proxy

2011-10-10 Thread Paolo Caruccio
Hi Omi, I wasn't sure this part, so I just add 127.0.0.1 ochiba-183 to my hosts. Try to replace with 10.30.6.122 ochiba-183 Let me know if it works. Ciao. Paolo

[web2py] Re: Windows + Apache + mod_proxy

2011-10-10 Thread Omi Chiba
Paolo, You made my day !! web2py is up and pyodbc works fine under wsgi !!! Grazie molto! On Oct 10, 4:20 pm, Paolo Caruccio paolo.carucci...@gmail.com wrote: Hi Omi, I wasn't sure this part, so I just add 127.0.0.1 ochiba-183 to my hosts. Try to replace with 10.30.6.122 ochiba-183 Let me

[web2py] Re: Windows + Apache + mod_proxy

2011-10-10 Thread Paolo Caruccio
I am very glad I helped Ciao. Paolo

[web2py] Re: Windows + Apache + mod_proxy

2011-10-09 Thread Paolo Caruccio
My enviroment windows7 64 bit Apache/2.2.21 (Win32) DAV/2 mod_ssl/2.2.21 OpenSSL/1.0.0e mod_wsgi/3.3 Python/2.7.2 PHP/5.3.8 pywin32-216.win32-py2.7 pyodbc-2.1.11.win32-py2.7 web2py 1.99.2 stable db2exc_974_WIN_x86_64 - IBM DB2 Express-C httpd.conf is the same as that one comes with uniform

[web2py] Re: Windows + Apache + mod_proxy

2011-10-09 Thread Omi Chiba
Paolo, Thank you again. so it's simple compare it with your, downloading uniform server (that is portable and install less) I will try uniform server next monday and tuesday, then update the result here. On Oct 9, 2:46 am, Paolo Caruccio paolo.carucci...@gmail.com wrote: My enviroment

[web2py] Re: Windows + Apache + mod_proxy

2011-10-07 Thread Omi Chiba
Paolo, You gave me a hope because it looks you tried it recently and it's very similar to my environment. (Is your OS Windows 7, XP, or Windows Server ??) My environment: OS: Windows 7 SP1 - 32bit Python: 2.7.2 Apache: httpd-2.2.21-win32-x86-openssl-0.9.8r.msi mod_wsgi:

[web2py] Re: Windows + Apache + mod_proxy

2011-10-06 Thread Paolo Caruccio
The following istructions have been adapted from http://jdoe.asidev.com/2009/02/26/configure-web2py-to-run-behind-apache-with-wsgi-mod_wsgi/ for my dev enviroment Windows + Apache + mod_wsgi. I succesfully tested connection to db2 express from IMB through pyodbc. Maybe it could help you. I