I'm starting to read mod_rewrite doc [1]; but in my current state of not
knowing, my mind starts popping questions like:

Does this URL to URL mapping will leave original URI visible somewhere or
somehow to PHP (ie. $_SERVER['REQUEST_URI'])?

Does it leave the original PATH_TRANSLATED visible to PHP?

    These Q are very important; if the answer is No, then I would have
    to make some tricks to obtain the original URI and PATH_TRANSLATED.
    My code would rely on this.

Does it do its job by sub-requesting the mapped URL? (I think this a thumb
question; otherwise mod_rewrite would work like a redirect, but let's keep
this Q)

The 404 solution doesn't fit my needs. I want EVERYTHING (even if the URI is
resolved to an existing file) to get though the PHP Script Handler.

Besides: "While URL manipulations in per-server context are really fast and
efficient, per-directory rewrites are slow and inefficient due to this
chicken and egg problem. But on the other hand this is the only way
mod_rewrite can provide (locally restricted) URL manipulations to the
average user." [1]

Others questions are now coming to my mind, so I think the time has come for
me to finish reading the mod_rewrite doc.

Thanks, (New stuff is always welcome)
Manuel.


[1] http://httpd.apache.org/docs/mod/mod_rewrite.html

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to