RewriteRule ^([[:digit:]]+)(/*)$ /__obj.php\?id\=$1 [QSA]

We use this rule to rewrite


to become


and pass and Query String Arguments (QSA) like ?foo=bar and so on.


"Dennis Gearon" <[EMAIL PROTECTED]> wrote in message
> I seem to be getting closer to finding out how to make all requests for
> html,php,etc go through ONE particular file, and then do content
> management via that file and permissions. It involves 'mod_rewrite' in
> Apache.
> Whoa! What a learning curve for the module, though!
> So, before I start, I want to make sure it is what I want. Does anybody
> have experience in using 'mod_rewrite' and can answer this question?
> Does all the cookie, post, and get varibles plus all headers get
> preserved in a 'mod_rewrite' action?
> --
> If You want to buy computer parts, see the reviews at:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to