Welcome to Squishdot How-To Newbies Squishdot
 about
 search
 post article
 Documentation
 Mailing Lists
 Bug Tracking
 Development
 Installation
 Upgrading
 Download
 admin
 rdf

 main


Squishdot Newbie Doubt
How-To Posted by Manoj E.G. on Tuesday March 13, 07:26AM, 2001
from the citizens-for-helping-newbies dept.
Manoj has a virtual hosting question, click below to read the details -- Ed

I have signed up for a free Zope account at nipltd.net. My account can be accessed by something like this http://freezope2.nipltd.net/my-account/ How can I add a Squishdot site to my account as say '/my-account/site/' and make http://freezope2.nipltd.net/my-account/ point to it?

Details(just in case): Base URL:http://freezope2.nipltd.net/my-account/ Where I have installed Squishdot: /my-account/site/

I want the Base URL to refer to the Squishdot site i.e., I should be able to use http://freezope2.nipltd.net/my-account/ instead of http://freezope2.nipltd.net/my-account/site/

Thanks in advance Manoj

<  |  >

 

Related Links
  • Articles on How-To
  • Also by Manoj E.G.
  • Contact author
  • The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Virtual Hosting
    by Chris Withers on Tuesday March 13, 09:04AM, 2001
    To do this properly would require Virtual Hosting, and I know for a fact that's nto available on the Free hosting option at NIP. It is available on the Professional one though :-)

    Anyway, for now, so simulate the same thing, add a Python Script in /my-account called index_html and containing the following:


    return redirect(context.site.absolute_url())


    ...where site is the name of your Squishdot Site object.

    cheers,

    Chris
    [ Reply to this ]
    Re: Squishdot Newbie Doubt
    by Patrick Smith on Sunday March 18, 10:38AM, 2001
    There's certainly many ways to do this.
    I think the easiest one is to empty out the
    index_html file from your root directory, and
    replace with with a var pointer to the squishdot
    folder.
    Like so
    -----
    "<"dtml-var squishdot_site_id">"
    -----

    Try that! substituting your squishdot folder id,
    of course, and removing the quotes I added
    so the comment could be posted w/o this site
    trying to find squishdot_site_id :)
    [ Reply to this ]
    • Re: Squishdot Newbie Doubt
      by Manoj E.G. on Wednesday March 21, 06:51AM, 2001
      Hello Patrick,
      I tried doing that on my index_html. Now my index_html file contains just one entry

      (The id is squishdot itself)
      But now the url http://freezope2.nipltd.net/wargames/ is showing something like

      ["<"mybrains instance at 91f45d0">","<"mybrains instance at 902a260">", "<"mybrains instance at 8df53f8">", "<"mybrains instance at 8e87ff8">", "<"mybrains instance at 91c7fa8">", "<"mybrains instance at 92951c8">", "<"mybrains instance at 8c2bf00">", "<"mybrains instance at 92473d8">", "<"mybrains instance at 8dab238">", "<"mybrains instance at 8ee25f0">"]

      (I added the quotes)
      Can you help me figure out what is wrong?

      Thanks
      Manoj

      [ Reply to this ]

     
    The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Powered by Zope  Squishdot Powered
      "Any system that depends on reliability is unreliable." -- Nogg's Postulate
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©1999 Butch Landingin, ©2000-2002 Chris Withers.