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

[ic] Mod_rewrite & mod_interchange & short urls


Hi,

I'm trying to find a way to make some urls as short as possible (for google). I think some people have tried to do something similar too, but i can't find my answer yet. :(

I'm currently using Apache 1.3.x and mod_interchange 1.33.

mod_interchange configuration :
<Location /store>
   SetHandler interchange-handler
   InterchangeServer /usr/local/interchange/etc/socket
   DropRequestList /default.ida /x.ida /cmd.exe /root.exe
   OrdinaryFileList /interchange-5/ /robots.txt /blog/
</Location>

mod_rewrite configuration :
RewriteEngine On
RewriteRule ^$ /store/index.html [PT,L]
RewriteRule ^/$ /store/index.html [PT,L]

Interchange is up and running here :
http://www.testadaz.com

I'm trying to modify urls like :
http://www.testadaz.com/store/scan/co=yes/sf=prod_group/se=confitures/tf=category/va=categorie=confitures/va=ss_categorie=/st=db.html

to :
http://www.testadaz.com/categorie/confitures.html

I've found this :
http://www.icdevgroup.org/pipermail/interchange-users/2004-May/039082.html

So i tried and i've got same problem.
Rewrite not working :
RewriteRule ^/categorie/(.*)$ /store/scan/co=yes/sf=prod_group/se=$1/tf=category/va=categorie=$1/va=ss_categorie=/st=db.html [PT,L]

Rewrite working :
RewriteRule ^/categorie/(.*)$ /cgi-bin/store/scan/co=yes/sf=prod_group/se=$1/tf=category/va=categorie=$1/va=ss_categorie=/st=db.html [PT,L]

Did someone find a way to solve this ? I'll also try to make this a 301 redirect, or to keep short url if I can.

Perhaps i'm looking to the wrong place ? Find a way to use flypage / products mechanism for "prodgroup" will be better ? (if possible of course).
(like here http://www.backcountry.com/store/subcat/20/Mens-Jackets.html ?).

Thanks
David

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.