Afficher un message
Vieux 20/01/2008, 22h17   #8
Kees Nuyt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to use the RewriteRule ?

On Sun, 20 Jan 2008 12:33:24 -0800 (PST), "Tschuß"
<fleguen@gmail.com> wrote:

>On Jan 20, 8:19 pm, "HansH" <ha...@invalid.invalid> wrote:
>> "Tschuß" <fleg...@gmail.com> schreef in berichtnews:e00a850b-db56-476a-b526-e88e28722a98@v67g2000hse.googlegroups.com...>> ... not quite sure what you are after too
>>
>> > I try what you have said but it doesn't work.

>>
>> Explain your needs in English,.
>>

>Ok,
>I have created this website www.excel-exercice.com
>For each item, I have 2 parameters, the language (0 or 1) and the
>criteria for the item (1-1-1 ; 3-2-1 ; ......)
>So, when you select one item, you have for instance the following URL
>http://www.excel-exercice.com/index....g=0&var1=2-1-1 and I would
>like to have something like http://www.excel-exercice.com/border-and-pattern.html
>
>I have 155 items for the French language and 46 in English but it
>doesn't disturb me to write as many URL in my .htaccess as necessary.
>
>Does these explanations are enough or you need further info ?


Though it might work with rewrites, I would handle it in
PHP, with a database behind it for the mapping of logical
names (border-and-pattern.html) which are in
$_SERVER['PATH_INFO'] to IDs (lang=0&var1=2-1-1).

These articles describe a suitable technique, although it
is applied to different problems:

http://richardlynch.blogspot.com/200...sposition.html

http://www.sitearticles.com/index.ph...rintable&id=18

Of course there are many ways to Rome, I just wanted to
show you this one.
--
( Kees
)
c[_] Life is what happens while you are busy
making other plans..... (John Lennon) (#452)
  Réponse avec citation
 
Page generated in 0,05908 seconds with 9 queries