[Zope] newbie question - start page configuration
Dave Banning
sky_tracker@yahoo.com
Mon, 29 Jul 2002 18:01:32 -0700 (PDT)
> object. Something like:
>
> container.REQUEST.RESPONSE.redirect("/Examples/mynewpage")
>
> or
>
> container.REQUEST.RESPONSE.redirect(container.Examples.mynewpage.absolute_ur
> l())
Is this put in the z2.py configuration file?
> 2) Put it behind apache and use VirtualHostMonster. This is more
> complicated, but it can make "/Examples" appear and act as your site root.
Do you mean in httpd.conf where the virtual hosts are configured,
say in my case, like;
<VirtualHost *>
DocumentRoot /usr/local/www/data
ServerName skytrackercanada.com
</VirtualHost>
if so, this is not an http address.
Can I direct DocumentRoot to a specific directory like with
apache, and Zope will execute it? If so what directory would
./Examples/myprograms fall under?
>
> > -----Original Message-----
> > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Dave
> > Banning
> > Sent: Monday, July 29, 2002 5:02 PM
> > To: zope@zope.org
> > Subject: [Zope] newbie question - start page configuration
> >
> >
> > I am new to zope and have gone through the tutorial
> > and
> > now what I wonder is how to change the address of my
> > page
> > from;
> >
> > http://mypage.com:8080/Examples/mynewpage
> >
> > to simply
> >
> > http://mypage.com:8080
> >
> > I know I can lose the 8080 part in the configuration
> > file by changing
> > the port to 80.
> > What about the subdirectory part?
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Health - Feel better, live better
> > http://health.yahoo.com
> >
> > _______________________________________________
> > Zope maillist - Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > ** No cross posts or HTML encoding! **
> > (Related lists -
> > http://lists.zope.org/mailman/listinfo/zope-announce
> > http://lists.zope.org/mailman/listinfo/zope-dev )
> >
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com