×
Create a new article
Write your page title here:
We currently have 3185 articles on s23. Type your article name above or click on one of the titles below and start writing!



s23
3185Articles

Apache/Mod Rewrite

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]