[Pmwiki-users] Major change to layout code likely (again!)

Tom Hoover l-pmwiki-users
Sun Feb 22 15:06:41 CST 2004


On Mon, Feb 23, 2004 at 10:04:38AM +1300, Robin Sheat wrote:
> A tangental question: I'm thinking of wiki-fying my whole webserver
> setup, for ease of updating (and was waiting for 0.6.1 (always teething
> problems in a .0) and free time). However, assuming I pop pmwiki.php
> into $WEBROOT, and alias / to $WEBROOT/pmwiki.php in httpd.conf, how can
> I ensure that other URLs, such as www.kallisti.net.nz/pbem aren't
> interpreted as part of the wiki? Will I have to alias each of them? (I'm
> not too averse to that, I rarely add directories). Is there a nicer way?

Add this to httpd.conf:

    AliasMatch ^/([A-Z].*) /full/path/to/pmwiki.php/$1

Now, uppercase "directories" will be processed by pmwiki.php, and
lowercase "directories" will be treated normally.  With this method, you
don't have to put pmwiki.php in $WEBROOT...it can live anywhere.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://contra.vosn.net/pipermail/pmwiki-users_pmichaud.com/attachments/20040222/e421bb0f/attachment-0001.bin


More information about the pmwiki-users mailing list