Since they use the same ServerName, try combining the two VirtualHosts (but
you only want one ServerName directive).

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Fri, Apr 16, 2010 at 4:55 AM, Madhavi <madhavii.gu...@gmail.com> wrote:

> Here are the config files contents...
> 1. -----------------------------------------------
> <VirtualHost *:9000>
>
>        ServerName pun-madhavi
>
>        DocumentRoot "e:/reviewBoardSites/checksum/htdocs"
>
>
>
>        # Error handlers
>
>        ErrorDocument 500 /errordocs/500.html
>
>
>
>        # Serve django pages
>
>        <Location "/checksum/">
>
>                PythonPath "['e:/reviewBoardSites/checksum/conf'] +
> sys.path"
>
>                SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
>
>                SetEnv PYTHON_EGG_CACHE
> "e:/reviewBoardSites/checksum/tmp/egg_cache"
>
>                SetHandler mod_python
>
>                PythonHandler django.core.handlers.modpython
>
>                PythonAutoReload Off
>
>                PythonDebug Off
>
>                # Used to run multiple mod_python sites in the same apache
>
>                PythonInterpreter reviewboard_checksum
>
>        </Location>
>
>
>
>        # Serve static media without running it through mod_python
>
>        # (overrides the above)
>
>        <Location "/checksum/media">
>
>                SetHandler None
>
>        </Location>
>
>        <Location "/checksum/errordocs">
>
>                SetHandler None
>
>        </Location>
>
>
>
>        <Directory "e:/reviewBoardSites/checksum/htdocs">
>
>                AllowOverride All
>
>        </Directory>
>
>
>
>        # Alias static media requests to filesystem
>
>        Alias /checksum/media "e:/reviewBoardSites/checksum/htdocs/media"
>
>        Alias /checksum/errordocs "e:/reviewBoardSites/checksum/htdocs/
> errordocs"
>
> </VirtualHost>
>
>
> --------------------------------------------------------------------------------------------------------------------------------------------------------
> 2. <VirtualHost *:9000>
>
>        ServerName pun-madhavi
>
>        DocumentRoot "e:/reviewBoardSites/review11/htdocs"
>
>
>
>        # Error handlers
>
>        ErrorDocument 500 /errordocs/500.html
>
>
>
>        # Serve django pages
>
>        <Location "/review11/">
>
>                PythonPath "['e:/reviewBoardSites/review11/conf'] +
> sys.path"
>
>                SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
>
>                SetEnv PYTHON_EGG_CACHE
> "e:/reviewBoardSites/review11/tmp/egg_cache"
>
>                SetHandler mod_python
>
>                PythonHandler django.core.handlers.modpython
>
>                PythonAutoReload Off
>
>                PythonDebug Off
>
>                # Used to run multiple mod_python sites in the same apache
>
>                PythonInterpreter reviewboard_review11
>
>
>        </Location>
>
>
>
>        # Serve static media without running it through mod_python
>
>        # (overrides the above)
>
>        <Location "/review11/media">
>
>                SetHandler None
>
>        </Location>
>
>        <Location "/review11/errordocs">
>
>                SetHandler None
>
>        </Location>
>
>
>
>        <Directory "e:/reviewBoardSites/review11/htdocs">
>
>                AllowOverride All
>
>        </Directory>
>
>
>
>        # Alias static media requests to filesystem
>
>        Alias /review11/media "e:/reviewBoardSites/review11/htdocs/media"
>
>        Alias /review11/errordocs "e:/reviewBoardSites/review11/htdocs/
> errordocs"
>
> </VirtualHost>
>
>
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> On Apr 16, 2:24 pm, Christian Hammond <chip...@chipx86.com> wrote:
> > Is each site on its own virtual host, or in a subdirectory? Can you show
> me
> > what both config files look like?
> >
> > Christian
> >
> > --
> > Christian Hammond - chip...@chipx86.com
> > Review Board -http://www.reviewboard.org
> > VMware, Inc. -http://www.vmware.com
> >
> >
> >
> > On Fri, Apr 16, 2010 at 2:17 AM, Madhavi <madhavii.gu...@gmail.com>
> wrote:
> > > I did that. created two sites. however when I include the config file
> > > in apache conf, the first site is accessible, second is not. and there
> > > is no error in apache log or review board log.
> >
> > > On Apr 16, 12:40 pm, Christian Hammond <chip...@chipx86.com> wrote:
> > > > Hi,
> >
> > > > That post is ancient and was from a time before our rb-site installer
> > > > tool. It's really easy now. Just run the rb-site install script for
> > > > every site. You can look in the docs for details on this.
> >
> > > > Christian
> >
> > > > On Thursday, April 15, 2010, Madhavi <madhavii.gu...@gmail.com>
> wrote:
> > > > > Hi,
> >
> > > > > I was to setup multiple sites on a single server. I went through
> this
> > > > > post (
> > > > >
> http://groups.google.com/group/reviewboard/browse_thread/thread/8d3b3..
> > > .)
> > > > > . However couldn't figure out what exactly to be done.
> >
> > > > > I am setting it up on the windows server.
> >
> > > > > -Madhavi
> >
> > > > > --
> > > > > Want to help the Review Board project? Donate today athttp://
> > >www.reviewboard.org/donate/
> > > > > Happy user? Let us know athttp://www.reviewboard.org/users/
> > > > > -~----------~----~----~----~------~----~------~--~---
> > > > > To unsubscribe from this group, send email to
> > > reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
> <reviewboard%2bunsubscr...@googlegroups.com<reviewboard%252bunsubscr...@googlegroups.com>
> >
> > > > > For more options, visit this group athttp://
> > > groups.google.com/group/reviewboard?hl=en
> >
> > > > --
> > > > --
> > > > Christian Hammond - chip...@chipx86.com
> > > > Review Board -http://www.reviewboard.org
> > > > VMware, Inc. -http://www.vmware.com
> >
> > > > --
> > > > Want to help the Review Board project? Donate today athttp://
> > >www.reviewboard.org/donate/
> > > > Happy user? Let us know athttp://www.reviewboard.org/users/
> > > > -~----------~----~----~----~------~----~------~--~---
> > > > To unsubscribe from this group, send email to
> > > reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
> <reviewboard%2bunsubscr...@googlegroups.com<reviewboard%252bunsubscr...@googlegroups.com>
> >
> > > > For more options, visit this group athttp://
> > > groups.google.com/group/reviewboard?hl=en
> >
> > > --
> > > Want to help the Review Board project? Donate today at
> > >http://www.reviewboard.org/donate/
> > > Happy user? Let us know athttp://www.reviewboard.org/users/
> > > -~----------~----~----~----~------~----~------~--~---
> > > To unsubscribe from this group, send email to
> > > reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
> <reviewboard%2bunsubscr...@googlegroups.com<reviewboard%252bunsubscr...@googlegroups.com>
> >
> > > For more options, visit this group at
> > >http://groups.google.com/group/reviewboard?hl=en
> >
> > --
> > Want to help the Review Board project? Donate today athttp://
> www.reviewboard.org/donate/
> > Happy user? Let us know athttp://www.reviewboard.org/users/
> > -~----------~----~----~----~------~----~------~--~---
> > To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
> > For more options, visit this group athttp://
> groups.google.com/group/reviewboard?hl=en
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com<reviewboard%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to