[prev in list] [next in list] [prev in thread] [next in thread]
List: cherokee
Subject: Re: [Cherokee]
From: Stefan de Konink <stefan () konink ! de>
Date: 2009-10-14 13:02:09
Message-ID: 4AD5CBD1.2040300 () konink ! de
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
creadoo - Sven Rißmann schreef:
> OK, for understanding we take this line from .htaccess:
>
> RewriteRule ^Content([1-9][0-9]*).* artikel.php\?id=$1
>
> I've tried the following:
> Add a new Rule in default server:
> Rule Type: Regular Expression
> Regular Expression: ^artikel.php\?$
>
> Then add a Handler for that rule:
> Handler: Redirection
> Type: Internal | Regular Expression: ^Content$ | Substitution:
> artikel.php\?id=$1
>
> So this wont work for me. What is the mistake?
Use the following scheme:
php - extention => fastcgi
fileexist => list&send
default => redirection
At the redirection you do:
^/Content([1-9][0-9]*).* => /artikel.php\?id=$1
I think that should do the trick.
Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREKAAYFAkrVy9EACgkQYH1+F2Rqwn17ewCfbvIeiS1im/zVUjq+o5ZyCC9f
0fAAn0H2F3Ttj4/FaXFYJndmqmgfXUSf
=re93
-----END PGP SIGNATURE-----
_______________________________________________
Cherokee mailing list
Cherokee@lists.octality.com
http://lists.octality.com/listinfo/cherokee
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic