httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Mearns <>
Subject Re: [users@httpd] Example of URL-to-URL in mod_rewrite
Date Wed, 15 Apr 2009 18:23:05 GMT
On Wed, Apr 15, 2009 at 1:21 PM, ricardo13 <> wrote:
> Hi,
> Thank you
> I was reading this link. I will read again.
> But, where can I find an example URL-to-URL?
> Please
> Ricardo
> awarnier wrote:
>> ricardo13 wrote:
>>> hi all,
>>> Somebody has a example about "How rewrite URL to URL ???" Or tutorial
>>> about.
>>> I achieved to run some example about URL-to-filename
>> How about starting here ?


I don't mean to be too harsh, but it sounds like you don't have a very
clear idea of how the server works. At the point of a rewrite rule, it
really doesn't matter whether the thing you're trying to refer to is a
file or not...the target for a rewrite rule is always a URL. Whether
or not that maps to a file depends on how you've set up your server
else where, through aliases, handlers, other rewrite rules, etc. But
the rewrite rule is the same no matter what the URL is actually going

In addition to rereading the Mod-rewrite doc that Warnier pointed you
to, I suggest you also take a careful read through, which explains how
URLs actually get mapped to different resources.


Feel free to contact me using PGP Encryption:
Key Id: 0x3AA70848
Available from:

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message