Re: [users@httpd] "translation" of address to one with GET varialble

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

 



On 9/5/05, Marcin 'Rambo' Roguski <rambo@xxxxxxxxxxxx> wrote:
> Hi, I have an interesting problem to crack, and to be honest- for now it's
> beyond my abilities.
> 
> Backstory: I have nice page with my computer collection with pictures,
> earlier they were downloaded as oridinary pictures, like
> http://rambo.id.uw.edu.pl/komputery/1_big.jpg , but since they have been
> used on some other sites, I'm now using PHP script to generate pictures with
> submission of "number" parameter.
> 
> My problem is now that bots indexed old address and aren't eager to change
> that. I, therefore, need a rule to redirect people from old address to new, BUT
> with passing parameter that normally would look in browser like:
> "http://rambo.id.uw.edu.pl/komputery.htm?nr=1";,
> RedirectMatch won't work- I tried:it translates question mark as part of
> absolute address.
> 
> Is there a way to make either this, or RewriteRule, work?

RewriteEngine On
RewriteRule ^/1_big.jpg$ /komputer.htm?nr=1

Joshua.

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