Re: [web2py] Re: Deployment problem (apache2 mod_wsgi)

2010-09-16 Thread Johann Spies
On 14 September 2010 23:40, Graham Dumpleton wrote: > So long as Apache configured right, there are no problems hosting two > web applications like that under different sub URLs of the same site. > >> The reason is that the part after http:// (hostname) decides where to >> go. If you have exampl

[web2py] Re: Deployment problem (apache2 mod_wsgi)

2010-09-14 Thread Graham Dumpleton
On Sep 14, 6:31 pm, Kenneth Lundström wrote: >   Hi Johann, > > I might be completly wrong but I think that you can t have > example.com/phpsite and example.com/web2py at the same time. You can > havehttp://phpsite.example.comandhttp://web2py.example.com So long as Apache configured right, ther

Re: [web2py] Re: Deployment problem (apache2 mod_wsgi)

2010-09-14 Thread Kenneth Lundström
Hi Johann, I might be completly wrong but I think that you can´t have example.com/phpsite and example.com/web2py at the same time. You can have http://phpsite.example.com and http://web2py.example.com The reason is that the part after http:// (hostname) decides where to go. If you have exam

Re: [web2py] Re: Deployment problem (apache2 mod_wsgi)

2010-09-14 Thread Johann Spies
Your answer convinced me that I do not know enough of NameVirtualHost" and I decided read some documentation about it. I have it working now but I see I need to define a cname to reach it from another computer. Url's like http://example.com/web2py does not work. While web2py is the only enabled

[web2py] Re: Deployment problem (apache2 mod_wsgi)

2010-09-14 Thread Graham Dumpleton
Presuming the server was restarted, Do you have other VirtualHost's for same ServerName and port. The short of it is that those virtual hosts would appear to either not be read, or are being hidden because there is another virtual host with matching specification which is being loaded first. Either

Re: [web2py] Re: Deployment problem (apache2 mod_wsgi)

2010-09-13 Thread Johann Spies
On 14 September 2010 08:21, Graham Dumpleton wrote: > Missing ServerName directives. Thanks Graham, but adding ServerName directives did not make any difference. Regards Johann --     "Be not deceived; God is not mocked: for whatsoever a      man soweth, that shall he also reap."              

[web2py] Re: Deployment problem (apache2 mod_wsgi)

2010-09-13 Thread Graham Dumpleton
Missing ServerName directives. On Sep 14, 3:18 pm, Johann Spies wrote: > For me the deployment of web2py seems to be a recurring problem. > > I am trying to deploy web2py on a Debian system but not as 'default' . > I have root access to the system. > > I have tried both the example in the book as