httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcin 'Rambo' Roguski <ra...@id.uw.edu.pl>
Subject [users@httpd] "translation" of address to one with GET varialble
Date Mon, 05 Sep 2005 10:35:46 GMT
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?

Regards,

Rambo

-- 
A man of genius makes no mistakes.
His errors are volitional and are the portals of discovery.
		-- James Joyce, "Ulysses"

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message