Welcome to Squishdot Websites Squishdot How-To Newbies
 post article
 Mailing Lists
 Bug Tracking


Squishdot at the Root?
How-To Posted by Chad Fowler on Friday January 25, 01:03AM, 2002
from the dept.
How can you make a Squishdot site be the document root for a Zope server?

I'm showing my ignorance, so feel free to delete this post if it's too basic, but: I'd like to make my Squishdot site (like this one) be the document root for my web site. If I add a Squishdot site via the Zope admin tool, it adds it as a subfolder under the document root. I'm not sure how to get the Squishdot site's index_html to be the main index_html for my Zope server. Can anyone lead me from my ignorance?

<  |  >


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

    Re: Squishdot at the Root?
    by Shane on Tuesday January 29, 09:12PM, 2002
    I changed my root index_html document to:

    <dtml-var standard_html_header>
    <dtml-call "RESPONSE.redirect('newfolder')">
    <dtml-var standard_html_footer>

    where newfolder is the name of the subfolder you created. The single quotes are necessary. I'm not certain if this is the "correct" way to do this, but it has always worked flawlessly for me.
    [ Reply to this ]
    Re: Squishdot at the Root?
    by Ismet_the_Turk on Wednesday January 30, 05:43AM, 2002
    on RedHat Linux 7.2 - with zope 2.5 squishdot 1.4

    i have a www.mydomain.com that is directly squishdot like this site.

    my apache /etc/httpd/conf/httpd.conf file is this

    ServerAdmin my_email@mydomain.com
    ServerName www.mydomain.com
    DirectoryIndex index_html
    RewriteEngine on
    RewriteRule /(.*) http://localhost:8080/VirtualHostBase/http/www.mydomain.com:80/squishdot/VirtualHostRoot/$1 [e=HTTP_CGI_AUTHORIZATION:%1,P]

    replace www.mydomain.com with your domain name and ip address( with your machine ip address

    and create a VirtualHostRoot in the Zope root folder with id "VirtualHostRoot"
    and also create Squishdot with id "squishdot" in the Zope root folder.

    that's all, it works fine.

    good luck :)
    [ 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.