in addition... this one doesn't work:
vserver!20!rule!300!disabled = 0 vserver!20!rule!300!encoder!deflate = 0 vserver!20!rule!300!encoder!gzip = 0 vserver!20!rule!300!handler = redir vserver!20!rule!300!handler!rewrite!2!regex = ^/facebook/api/flash/profileDisplay.php$ vserver!20!rule!300!handler!rewrite!2!show = 0 vserver!20!rule!300!handler!rewrite!2!substring = /api/flash/profileDisplay.php vserver!20!rule!300!match = request vserver!20!rule!300!match!final = 1 vserver!20!rule!300!match!request = ^/facebook/api/flash/profileDisplay.php$ vserver!20!rule!300!no_log = 0 vserver!20!rule!300!only_secure = 0 but this one work: vserver!20!rule!200!disabled = 0 vserver!20!rule!200!encoder!deflate = 0 vserver!20!rule!200!encoder!gzip = 0 vserver!20!rule!200!handler = redir vserver!20!rule!200!handler!rewrite!1!regex = ^/test$ vserver!20!rule!200!handler!rewrite!1!show = 0 vserver!20!rule!200!handler!rewrite!1!substring = /test.php vserver!20!rule!200!match = request vserver!20!rule!200!match!final = 0 vserver!20!rule!200!match!request = ^/test$ vserver!20!rule!200!no_log = 0 vserver!20!rule!200!only_secure = 1 It's the similar expressions :( On Mon, Feb 22, 2010 at 4:28 PM, buddist <[email protected]> wrote: > Hi to all! > > It doesn't work... > > Apache: > RewriteRule ^facebook/api/flash/profileDisplay.php$ > /facebook/api/flash/profileDisplay [L,QSA] > > Cherokee: > vserver!20!rule!700!encoder!deflate = 0 > vserver!20!rule!700!encoder!gzip = 0 > vserver!20!rule!700!handler = redir > vserver!20!rule!700!handler!rewrite!2!show = 0 > vserver!20!rule!700!handler!rewrite!2!substring = > /facebook/api/flash/profileDisplay > vserver!20!rule!700!match = request > vserver!20!rule!700!match!request = ^facebook/api/flash/profileDisplay.php$ > vserver!20!rule!700!no_log = 0 > vserver!20!rule!700!only_secure = 0 > > > P.S. How make [L,QSA] in cherokee redirection? > > On Fri, Feb 19, 2010 at 6:49 PM, <[email protected]> wrote: >> On Fri, 19 Feb 2010 15:41:10 +0800, "秋爱" <[email protected]> wrote: >>> <IfModule mod_rewrite.c> >>> RewriteEngine On >>> RewriteRule "^html/([^./]*)[/|]$" "/?f=$1" >>> RewriteRule "^html/([^./]*)/([0-9]+).html" "/?f=$1&c=$2" >>> RewriteRule "^html/([^./]*)/(view)_([0-9]+).html" "/?f=$1&a=$2&r=$3" >>> RewriteRule "^html/([^./]*)/(view)_([0-9]+)_([0-9]+).html" >>> "/?f=$1&a=$2&c=$3&r=$4" >>> RewriteRule "^html/([^./]*)/(send)_([0-9]+).html" "/?f=$1&a=$2&r=$3" >>> </IfModule> >>> >>> >>> Who can help me to use it on cheroee? >>> it's so hard for me.. >>> thanks! >> Send ssh password and I'll help you. (And possibly send a gazillion of >> mails through that box) >> _______________________________________________ >> Cherokee mailing list >> [email protected] >> http://lists.octality.com/listinfo/cherokee >> > > > > -- > buddist > -- buddist _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
