> I'd like to set up WebSTAR to serve as a portal for several swikis. I 
> can run ComSwiki through port 8888, and WebSTAR through port 80.

I'm not sure what this means. Do you want to serve everything through 
WebStar? I'm sure there's some kind of rerouting you can do to make 
WebStar act as a proxy server, but this would seem a pretty useless 
activity. If instead, you mean for files and uploads to be served with 
WebStar instead of Comanche to increase throughput/reliability, that is 
not hard to do. There is extended documentation for that in the AdminTool 
help files.

> If I create a duplicate of the (one) files folder from the 
> /swiki/default/files/ folder in the WebSTAR folder, it will serve 
> that fine as long as I set up the admin pages for the swikis to point 
> at the URL http://my.webstar.server.com/swikiFiles/filesCopy/. As far 
> as I can tell, the path to files is meaningless, since all the files 
> are served from this URL.
> 
> Q1: Is that correct? When is the filePath vs. fileURL used by ComSwiki?

filePath is the computer directory where the file is located. So, you 
could change file path from "files" to "My Hard Drive:WebStar 
directory:swikiFiles:filesCopy." After doing that you could delete the 
original files directory. As your set-up is right now, Squeak is parsing 
the standard files directory to find out how big the files are, etc., but 
the URL is pointing to the duplicate directory. Thus, any changes that 
make the two no longer be the same could be problematic.

> BUT there are several swikis, and all of them already have upload 
> folders chock full of stuff. If I create an alias of these on my 
> WebSTAR machine, I can set up the admin page for each swiki 
> individually to point to 
> http://my.webstar.server.com/swikiFiles/uploadsAlias/thisSwikisUploads/. 
> But when users upload new files, they don't go there.

Hmm. Unless you change uploadPath, new uploads should go to the old 
directory. If the alias is to the directory, they should show up in the 
aliased space.

Peace and Luck!

Je77

Reply via email to