[Moin-devel] Re: [Moin-user] 0.11 and IIS
Brian Dorsey
brian at dorseys.org
Wed Mar 6 23:24:05 EST 2002
On Wed, Mar 06, 2002 at 06:45:24PM -0500, Charles Medcoff wrote:
> Brian,
>
> I've gone throught the instructions and they work. A few comments.
Thanks!
>
> To your comment "TODO: Does it need more permissions?". I believe the
> answer is no. I accepted the default and it worked fine. Afterward I
> looked at the web app properties and the "Execute Permissions" property was
> set to "Scripts only". This appears to be the default.
Yeah, I ran into NTFS permissions not being set right on one box... I'll just take the note out for now. Until i can reproduce it....
>
> You instruct the user to go to "http://127.0.0.1/mywiki/" but this didn't
> actually work for me. I had to append index.html or you'll get an error
> "Directory Listing Denied". I believe that directory browsing it turned off
> by default althought I might have changed this on the root web at some point
> in the past. Alternatively there should be additional instructions for
> specifying "install.html" as the default document.
Ouch! This makes sense - in a perverse sort of way. index.html isn't a default document for IIS, So it won't get found automatically on a default install. (I always add it, so I didn't notice...) So... we should change the copy command to copy it to default.htm or make a note that people will need to add index.html to the default document list in the properties for IIS.
>
> Thus far I've only had time to read the IIS section of the document, but
> upgrading does not appear to be addressed.
It isn't yet in the IIS section... I think there is some general info on the wiki... I haven't tested this exact scenario, but I think it should be possible to d/l a new version and run setup.py with the same arguments to overwrite the MoinMoin dir and the new version should almost always just work... (I've been working out of my CVS checkout dir... and updating whenever I feel like it. Seems to be working so far. ;)
In any case, updating should be mentioned somewhere.
>
> One other thing. While this installation works I'm personally not crazy
> about the dir layout. I don't like the idea of mixing the wiki pages data
> inside the moin package folder. I can't give you any specific reasons at
> the moment but it doesn't feel right; perhaps user data should be outside of
> the python path. I wonder if there are issues here in the case of an
> upgrade. I also am not crazy about the idea of having to require two
> virtual directories for one web app. I know that this is required thought
> due to the way the paths are used within the moinmoin code.
I copied the Apache install docs in this regard... it's not actually how I have my own wikis setup... I think the idea is that this makes it easy to add multiple wikis on the same server and they can all share the same /wiki data.
On one of my boxes, I've got the htdocs stuff and the cgi stuff all in one folder which I've turned into a virtual dir and I keep the data off somewhere else. But, if I were going to be running multiple wikis, this install is probably better.
>
> Let me know what you think or if I can help in any other way.
I'll add a note about WinZip, just in case. ;)
-Brian
More information about the Moin-devel
mailing list