Public feed #601798

Jason

public text v1 · immutable
Raw Edit
·published 2007-07-03 18:48 UTC
rendered paste body
<VirtualHost *:80>
    ServerAdmin shadowvyce@yahoo.com
    RewriteEngine on
    RewriteLog /var/log/rewrite.log
    RewriteLogLevel 9
    RewriteCond %{QUERY_STRING} ^(p_l_id=PUB.1013.*) [NC]
    RewriteRule ^/c/portal/layout /c/portal/layout/%1 [PT]
</VirtualHost>
I've been tailing my rewrite log while grep for PUB.  I wasnt getting anything until I changed the query_string to .*(^(p_l_id=PUB.1013.*)

Here's what showed up
whatever.com - - [03/Jul/2007:12:47:31 --0600] [128.128.2.11/sid#8b06470][rid#8dbef98/initial] (4) RewriteCond: input='p_l_id=PUB.1013.1' pattern='.*(p_l_id=PUB.1013.*)' [NC] => matched
whatever.com - - [03/Jul/2007:12:47:31 --0600] [128.128.2.11/sid#8b06470][rid#8dbef98/initial] (2) rewrite '/c/portal/layout' -> '/c/portal/layout/p_l_id=PUB.1013.1'
whatever.com - - [03/Jul/2007:12:47:31 --0600] [128.128.2.11/sid#8b06470][rid#8dbef98/initial] (2) forcing '/c/portal/layout/p_l_id=PUB.1013.1' to get passed through to next API URI-to-filename handler