Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [Andy] i Don't get the mod_rewrite

Quote Reply
Re: [Andy] i Don't get the mod_rewrite In reply to
I have two languages (en, ru) only, and two templates (english, russian),
and I am calling them from the following URL:
...page.cgi?d=1&lang=ru&t=russian
or
...page.cgi?d=1&lang=en&t=english

and I feel something wrong here in g=$3...etc... I do not know really what it means...
I hope you can correct this script for me....
truely appricaitated...
Mark
Code:

RewriteEngine On
RewriteRule (.*)\.css $1.css [L]
RewriteRule ^images/(.*) images/$1 [L]
RewriteRule ^AddImages/(.*) AddImages/$1 [L]
RewriteRule ^Images/(.*) Images/$1 [L]
RewriteRule ^([english|russian])/([en|ru])/p/(.*) /cgi-bin/linkssql/page.cgi?g=$3;lang=$2;t=$1 [L]
RewriteRule ^([english|russian])/([en|ru])/info/(.*) /cgi-bin/linkssql/page.cgi?p=$3;lang=$2;t=$1 [L]
RewriteRule ^([english|russian])/([en|ru])/(.*).php /cgi-bin/linkssql/page.cgi?g=$3.php;lang=$2;t=$1 [L]
RewriteRule ^([english|russian])/([en|ru])/?$ /cgi-bin/page.cgi?lang=$2;t=$1 [L]
RewriteRule ^([english|russian])/([en|ru])/$ /cgi-bin/linkssql/page.cgi?lang=$2;t=$1 [L]
Subject Author Views Date
Thread i Don't get the mod_rewrite Dorette 9966 Nov 3, 2004, 10:39 PM
Thread Re: [Abusaki] i Don't get the mod_rewrite
Andy 9797 Nov 4, 2004, 2:11 AM
Thread Re: [Andy] i Don't get the mod_rewrite
Dorette 9773 Nov 4, 2004, 10:51 AM
Thread Re: [Abusaki] i Don't get the mod_rewrite
Andy 9797 Nov 4, 2004, 11:03 AM
Thread Re: [Andy] i Don't get the mod_rewrite
Dorette 9760 Nov 4, 2004, 11:18 AM
Thread Re: [Abusaki] i Don't get the mod_rewrite
Andy 9726 Nov 5, 2004, 12:15 AM
Thread Re: [Andy] i Don't get the mod_rewrite
Dorette 9764 Nov 5, 2004, 7:57 AM
Thread Re: [Abusaki] i Don't get the mod_rewrite
Andy 9717 Nov 5, 2004, 9:14 AM
Thread Re: [Andy] i Don't get the mod_rewrite
fabio 9702 Nov 9, 2004, 9:57 AM
Thread Re: [fabio] i Don't get the mod_rewrite
Andy 9710 Nov 9, 2004, 10:00 AM
Thread Re: [Andy] i Don't get the mod_rewrite
Dorette 9626 Dec 11, 2004, 2:30 PM
Thread Re: [Abusaki] i Don't get the mod_rewrite
Andy 9648 Dec 12, 2004, 2:21 AM
Thread Re: [Andy] i Don't get the mod_rewrite
Dorette 9605 Dec 12, 2004, 10:33 AM
Thread Re: [Abusaki] i Don't get the mod_rewrite
Andy 9601 Dec 13, 2004, 12:03 AM
Thread Re: [Andy] i Don't get the mod_rewrite
Dorette 9596 Dec 26, 2004, 6:42 AM
Thread Re: [Abusaki] i Don't get the mod_rewrite
Andy 9587 Dec 27, 2004, 1:03 AM
Thread Re: [Andy] i Don't get the mod_rewrite
Dorette 9566 Dec 27, 2004, 8:57 AM
Thread Re: [Abusaki] i Don't get the mod_rewrite
Andy 9564 Dec 27, 2004, 9:04 AM
Thread Re: [Andy] i Don't get the mod_rewrite
Dorette 9593 Dec 27, 2004, 9:14 AM
Post Re: [Abusaki] i Don't get the mod_rewrite
Dorette 9523 Jan 24, 2005, 8:42 AM
Thread Re: [Andy] i Don't get the mod_rewrite
Mark2 9249 Jul 6, 2006, 6:14 AM
Thread Re: [Mark2] i Don't get the mod_rewrite
Andy 9250 Jul 6, 2006, 5:28 PM
Post Re: [Andy] i Don't get the mod_rewrite
Mark2 9210 Jul 16, 2006, 8:28 PM