Apache/Mod Rewrite

From s23
Jump to navigation Jump to search

How to get rid of the "index.php" part in the Wiki URLs:

(internal, for future reference)

#LoadModule rewrite_module modules/mod_rewrite.so
#AddModule mod_rewrite.c

<-uncomment in httpd.conf

michael: RewriteEngine on
michael: RewriteRule ^/wiki/index\.php/(.*)  /wiki/$1    [NC,QSA,L]