[SAC] Re: [OSGeo] #165: Wiki LDAP integration

#165: Wiki LDAP integration
  Reporter: crschmidt | Owner: sac@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 }}}


$wgArticlePath = "$wgScript/$1";


$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


Ticket URL: <http://trac.osgeo.org/osgeo/ticket/165#comment:7&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.