Re: Example of URL-to-URL in mod_rewrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 15, 2009 at 1:21 PM, ricardo13 <ricardoogrande@xxxxxxxxx> 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 ?
>> http://httpd.apache.org/docs/2.2/rewrite/
>>
>>

Ricardo:

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
to.

In addition to rereading the Mod-rewrite doc that Warnier pointed you
to, I suggest you also take a careful read through
http://httpd.apache.org/docs/2.2/urlmapping.html, which explains how
URLs actually get mapped to different resources.

-Brian

-- 
Feel free to contact me using PGP Encryption:
Key Id: 0x3AA70848
Available from: http://keys.gnupg.net

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux