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

 main


Squishdot Install - at server root?
Squishdot Posted by jimbob on Tuesday August 15, 09:48AM, 2000
from the that-damn-zope-documentation dept.
Congratulations on a great product! It took me about a week from dicovering Squishdot and Zope to taking steps to set up my own dedicated server running it. There's just one problem; i'm a 100% Zope newbie and I'm unsure how to install Squishdot into the site root.


I guess this post is more about Zope than Squishdot specifically, but all the Zope people seem unresponsive, and I can't find any answer in the Zope documentation. Basically, when I add the Squishdot product, it asks for an ID and installs the forum in the /ID folder; but I want to run Squishdot on my site's root directory. How can I install it so visitors access Squishdot by http://my.server/, rather than http://my.server/Forum?

<  |  >

 

Related Links
  • Articles on Squishdot
  • Also by jimbob
  • Contact author
  • The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Re: Squishdot Install - at server root?
    by jp on Wednesday August 16, 06:35AM, 2000
    Alright, now I haven't had a chance to check this for myself yet, but I've been told that a package called SiteAccess (available from zope.org) will allow you to run a Squishdot site at root. Let me know if that works for you.
    [ Reply to this ]
    • Re: Squishdot Install - at server root?
      by Chris Withers on Wednesday August 16, 12:30PM, 2000
      That's right, but I would phrase it differently ;-)

      SiteAccess let you make server.com/squishsite appear as server.com. I use it in combination with Apache's ProxyPass to make http://zope.nipltd.com/squishdot_org appear as http://squishdot.org.

      So, it doesn't actually change where the Squishdot site object is or how it's created, it just enables it to be served up through different URLs. It's also quite fiddly to set up :(

      If you have problems with it, try emailing zope@zope.org. If that fails, try evan@digicool.com (he wrote SiteAccess) but use only as a last resort or he might rightly get pissed off ;-)

      Good luck,

      Chris

      [ Reply to this ]
    Re: Squishdot Install - at server root?
    by David Spencer on Wednesday August 16, 07:55PM, 2000
    I'm still pretty new at this, so there might be an easier way. That said, all I did had to do to accomplish what you're asking for is paste the following text into the index_html method at the site root (do not include the double quotes - they're just in there because code didn't show up when I previewed this reply):

    ""

    This way when they type www.server.com, they're actually taken to www.server.com/your_squish?index_html.

    Hope this helps.

    David
    [ Reply to this ]
    • Re: Squishdot Install - at server root?
      by David Spencer on Wednesday August 16, 07:58PM, 2000
      That wasn't helpful - the code still didn't show up. The code is:

      dtml-call "RESPONSE.redirect('your_squish')"

      [ Reply to this ]
      • Re: Squishdot Install - at server root?
        by Jimbob on Thursday August 17, 05:39AM, 2000
        Yeah I actually did try this myself yesterday before I read your reply, as a stop-gap measure until I work out how to do it properly. It certainly moves people from the root page to the squishdot site, but then all the squishdot URLs are still preceeded by the /SITE/ directory, which looks kind of ugly when you're trying to base an entire site on squishdot. I'll try that site access suggestion someone else made.

        [ Reply to this ]
        • Re: Squishdot Install - at server root?
          by kris on Friday November 07, 05:01PM, 2003
          Here's is what works for me: -Add a Virtual Host Monster (VHM) to the Root Folder of you Zope Installation (call it whatever you like) -Open up the VHM that you just created -Click on the Mappings tab -Add your redirect here as follows: domain_name/folder_name example: www.server.com/your_directory This will redirect everything coming in to "www.server.com" to "your_directory". Notes: -You can add other redirects here if you are hosting multiple websites and you want them each to go to their own directory -You must use a domain name here, VHM will not work with IP Addresses
          [ 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.