From: Tim Payne <tpayne@ma...> - 2002-01-13 15:57:48
I've been moving some of my old web content into my webware site.
Everything has gone well, but I'm not sure why.
My original site was designed like this in the file system:
So when I went to make the contexts in webkit, I tried making the
context 'path_to/site' and 'path_to/site/downloads' but I would just get
errors. Then I tried just site and downloads as seperate contexts.
Worked great. But I can't figure out how the AppServer knows where
everything goes. Since I listed site and downloads as different
contexts, I figured I would only be able to access them both from the
webkit default context. Such as mysite.com/downloads and
mysite.com/site. But somehow it seems to know that the downloads
context should only be displayed after the site context. I was also
worried that you might be able to place another context after another,
like mysite.com/site/Examples, and get around some of the security, but
that was also prevented.
So I guess my question is, how much of the contexts is actually based on
the file system? I originally thought that it was completely
independent, but this doesn't appear to be the case.
I was also wondering if there is any way to get webkit to list the
contains of the directory/context if there is no default page? In
apache, it will list all the files, along with file sizes and icons. Of
course, you wouldn't always want this, but its useful in certain
Get latest updates about Open Source Projects, Conferences and News.