[Mediawiki-l] Re: I just don't get the apache setup
Ira Abramov
lists-MediaWiki-l at ira.abramov.org
Wed Jul 13 20:40:30 UTC 2005
Quoting Brion Vibber, from the post of Wed, 13 Jul:
> Rick DeNatale wrote:
> ><VirtualHost *>
> > ServerAdmin webmaster at mercuryspacecraft.com
> > ServerName www.mercuryspacecraft.com
> > DocumentRoot /var/www
> > AcceptPathInfo on
> >
> > Alias /wiki/stylesheets /var/www/w/stylesheets
> > Alias /wiki/style /var/www/w/style
> > Alias /wiki/images /var/www/w/images
> > Alias /wiki/skins /var/www/w/skins
> > Alias /wiki/redirect.php /var/www/w/redirect.php
> > Alias /wiki/textvc.php /var/www/w/textvc.php
> > Alias /wiki/index.php /var/www/w/index.php
> > Alias /wiki /var/www/w
> >
> ></VirtualHost>
>
> This all seems kind of redundant... take out all the aliases and rename
> the directory from "w" to "wiki".
Not at all. It's actually a very nice way to "clean" the URL without
using the slow and problematic rewrite module. note the last Alias
command that does the trick.
the only drawback is that the wiki pages namespace will have to be under
/wiki and not directly at the root (breaks the Alias mechanism I
think, needs to be figured out)
--
The most powerfull man on Earth
Ira Abramov
http://ira.abramov.org/email/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 245 bytes
Desc: Digital signature
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20050713/51d42451/attachment.pgp
More information about the MediaWiki-l
mailing list