On Wed, Dec 25, 2002 at 08:39:44PM -0800, Brion Vibber wrote:
Actually, Brion, because mod_wiki is a module in it's own right, the
URL can be in any format we like; it doesn't need to be ?foo=bar&x=y
format. In fact, I had no intention of going through mod_rewrite at
all. My intention was that you could tell mod_wiki to handle all URL's
that start with a certain prefix. Because of this, the Apache module
could be distributed separately, without patching Apache at all.
Like so:
<Location /w>
SetHandler mod-wiki-handler
</Location>
mark to start building a query string. (And remember
Apache's
mod-rewrite de-URL-encodes the path components before you get to them;
Maybe we could use an alternate minilanguage. For instance, I'm also
thinking that the namespace should be a variable instead of a part of
the title:
http://foo/w/Whatlinkshere
Then the following would get passed in as POST data:
namespace=Special&target=A%26W+Root+Beer&limit=500
It would be nice to keep compatibility with mod_rewrite though.
How about the following?
http://foo/w/Whatlinkshere#ns=Special&target=A%26W+Root+Beer&limit=…
I also would like language to be a variable, so the URL would become:
http://foo/w/Whatlinkshere#ns=Special&lang=en&target=A%26W+Root+Bee…
Any objections? You did tell me earlier that the # character was not
allowed in page titles, and is mod_rewrite likely to escape it? With
mod_wiki, mod_rewrite shouldn't be needed, but one never knows when one
will want to redirect one URL to another.
Check the ownerhsip/permissions on your upload
directory. If it can't
create the log file, you may not be able to upload files either. The dir
should be writable by the webserver's process.
Ah. Thanks for the tip. I changed the permissions after I tried to do
my first upload, so upload has been working.
Jonathan
--
Geek House Productions, Ltd.
Providing Unix & Internet Contracting and Consulting,
QA Testing, Technical Documentation, Systems Design & Implementation,
General Programming, E-commerce, Web & Mail Services since 1998
Phone: 604-435-1205
Email: djw(a)reactor-core.org
Webpage:
http://reactor-core.org
Address: 2459 E 41st Ave, Vancouver, BC V5R2W2