So I would just use something like the code below in my httpd.conf
file? Would this work if I'm using a local IP address instead of a
domain as well?

NameVirtualHost *

<VirtualHost *>
  ServerName www.domain.com
  DocumentRoot /home/web2py
</VirtualHost>

<VirtualHost *>
  ServerName subdomain.domain.com
  DocumentRoot /home/www
</VirtualHost>

On Jun 22, 2:25 pm, Kenneth Lundström <[email protected]>
wrote:
>  > Is there any way to run a standard PHP web app like vBulletin along
> side web2py?
>
> Yes
>
>  > i.e.www.domain.comwould load the web2py site 
> andwww.domain.com/vbulletinwould load the separate web app without web2py
> being involved?
>
> If you are using Apache then the easiest solution is to usewww.domain.comfor 
> web2py and vbulletin.domain.com for php. That way you
> define two virtual hosts in Apache and Apache takes care of everything.
>
> Kenneth

Reply via email to