
s.rissmann at creadoo
Oct 14, 2009, 1:26 AM
Post #1 of 3
(508 views)
Permalink
|
|
Problem underständing rewrite rules
|
|
Hello, we just want to switch our Sites from Apache to Cherokee. For some reasons i need to transfer some .htaccess rules to cherokee. I've take a look to the cookbook but i dont understand to make the rules we need. For rewriting the .htaccess looks like this: RewriteRule index.html index.php [L] RewriteRule ^Content([1-9][0-9]*).* artikel.php\?id=$1 RewriteRule ^Rezept([1-9][0-9]*).* rezeptartikel.php\?id=$1 RewriteRule ^Familie([1-9][0-9]*).* familienartikel.php\?id=$1 RewriteRule ^Printcontent([1-9][0-9]*).* print.php\?id=$1 RewriteRule ^Registrieren.* anmelden.php RewriteRule ^AGB.* agb.php RewriteRule ^Impressum.* impressum.php RewriteRule ^Datenschutz.* datenschutz.php RewriteRule ^Bastel-Lexikon.* reviews.php RewriteRule ^blex([0-9]*).* reviews.php?op=showcontent&id=$1 RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1;topic=$2.0 [L,QSA] RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/([0-9]*|msg[0-9]*|new)/?$ ./index.php?pretty;board=$1;topic=$2.$3 [L,QSA] How to make this work in cherokee. Thanks in advance Sven
|