At 3:04 pm +0100 18/10/99, Ian Clarke wrote:
Hi, sorry about the undescriptive title, but I couldn't think of a consise way to describe what I want to do, although I am sure that it is a simple thing.
Basically I have a SquishDot site within a folder on my zope installation, but I want users to go straight to that site when they look at http://www.mymachine.com/. I (or think I know) how to make zServer run from port 80, but I can't figure out how to make a "shortcut" between the root of the site and the SquishDot folder. I don't want people to have to look at http://www.mymachine.com/squishfldr to see the site, which is the case at present.
Any suggestions are most welcome,
try creating a method called index_html at the top level of your site with the contents <dtml-var call "RESPONSE.redirect('/squishfldr')"> I do this all the time and it works ok (they'll still *see* the squishfldr part of the URL however). If you want them to be blind to that as well then you need to use Rewrite rules and run ZServer behind Apache. Possibly something like this (massively untested!) RewriteEngine on RewriteRule ^/(.*) /squishfldr/$1 There's some experimental Zope rewrite engines around, but I've not used them. Why not take a look at the Zope site for more pointers? hth tone ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5888 Fingerprint: 3450 876D FA41 B926 D3DD F8C3 F2D0 C3B9 8B38 18A2