On Sep 14, 6:31 pm, Kenneth Lundström <[email protected]> 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, there are no problems hosting two web applications like that under different sub URLs of the same site. Graham > The reason is that the part after http:// (hostname) decides where to > go. If you have example.com/phpsite and example.com/web2py your going to > the same place. The part after / is part of the hostname so > NameVirtualHost doesn t use it. > > Kenneth > > > > > 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 likehttp://example.com/web2py does not > > work. While web2py is the only enabled site, I can reach it with > >http://example.combut what if I havehttp://example.com/phpsite and > >http://example.com/web2py? > > > Regards > > Johann

