[pmwiki-users] Rewrite Rule Question

Tom celok at gmx.net
Mon Aug 14 10:47:43 CDT 2006


Patrick R. Michaud schrieb am 14.08.2006 17:34 Uhr:
> Ouch.  You may need to eliminate more than just the cgi-bin/
> directory from processing -- otherwise, how will browsers ever
> access skin files and other items in pub/ ?

Actually everything else works like a charm (having the NotSoSimple Skin

>     RewriteEngine On
>     RewriteBase /
>     RewriteCond ${REQUEST_URI}  !^cgi-bin
>     RewriteRule ^$           /pmwiki/pmwiki.php  [L]
>     RewriteRule ^([a-z].*) /pmwiki/pmwiki.php?n=$1  [NC,QSA,L]
> The RewriteCond line says to exclude any urls that begin with 
> cgi-bin from being rewritten.  

While this reads very good, and after reading about RewriteCond, this
should work, but it doesn't :(

> Hope this helps,
> Pm

More ideas?


More information about the pmwiki-users mailing list