[SAC] Re: [OSGeo] #165: Wiki LDAP integration
OSGeo
trac_osgeo at osgeo.org
Thu Feb 21 17:44:00 EST 2008
#165: Wiki LDAP integration
------------------------+---------------------------------------------------
Reporter: crschmidt | Owner: sac at lists.osgeo.org
Type: task | Status: new
Priority: normal | Component: SAC
Resolution: | Keywords:
------------------------+---------------------------------------------------
Comment (by martin):
Replying to [comment:3 martin]:
> While we are at it, I'd like to make our Wiki a bit nicer by eliminating
the "index.php" string in the URL's.
Changes in {{{ /var/www/wiki/LocalSettings.php }}}
Replace:
{{{
$wgArticlePath = "$wgScript/$1";
}}}
with:
{{{
$wgArticlePath = "/wiki/$1";
}}}
Changes in {{{ /etc/httpd/conf.d/hosts/wiki.conf }}}
Add to each <VirtualHost [...]>
{{{
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /wiki/(.*)$ /index.php?title=$1 [PT,L,QSA]
RedirectMatch permanent ^/index.php/(.*)$ /wiki/$1
}}}
Martin.
--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/165#comment:7>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Sac
mailing list