mod_rewrite example? Does anyone have an was RE: [ic] Modifying link program and links to get rid of ?s and &'s in URL

Chris Chaney interchange-users@icdevgroup.org
Sat Jul 6 21:19:01 2002


Thank you for your e-mail.

I've been struggling to understand RewriteRule for hours and cant get
past simple rewrites eg. no wildcards.  But you have saved me hours
investigating other means.

Do you have a mod_rewrite example for Interchange?  I'm basicly using a
Foundation page and directory structure.  But cant figure it out.

I realized I don't need to turn = into ~...it doesn't really matter
search engine wise...Amazon.com does it.

My base URL for interchange is http://www.fashionfantasies.net/shop/ff
shop is a ScriptAlias for cgi-bin (which is below the DocumentRoot) ff
is the Interchange link program in the cgi-bin.

Thanks for your help so far,

Chris




-----Original Message-----
From: interchange-users-admin@icdevgroup.org
[mailto:interchange-users-admin@icdevgroup.org] On Behalf Of Dan
Browning
Sent: Saturday, July 06, 2002 12:41 PM
To: interchange-users@icdevgroup.org
Subject: Re: [ic] Modifying link program and links to get rid of ?s and
&'s in URL

At 12:18 PM 7/6/2002 -1000, you wrote:

>Most people don't realize but most search engines won't index a page if
>it has &s or ?s in the URL.  Has anyone discovered a way to modify
>interchange so it'll use slashes instead? (and ~ instead of =)to make
>the pages browser friendly.

Here are three suggestions:

  * Generate a static version of the site (not currently working, see
URL)
         http://interchange.redhat.com/bugs/show_bug.cgi?id=419

  * Generate your own static "entry" page for submission and remove
?,&,=
         with a script (this is what I'm currently doing).

  * (Best solution, IMHO)
         - Build a complex Apache rewrite code to translate
         ?a=123&b=456 into /a/eq/123/and/b/eq/456 and back.
         - Or, mod Interchange to have an option to do the same.

Also please note:

<interchange-users guidelines>
-- Contextual quoting is preferred, i.e.

                 Quoting user1 (<user1@somedomain.redhat.com>):
                 > Some limited text that will give context.
                 >

                 Your reply.

     versus

                 Your reply, lazily put at the top.

                 Quoting user1 (<user1@somedomain.redhat.com>):
                 > The whole big blob of the previous posts, including
                 > signatures and all

         In fact, the author of the program stops following a thread
         the moment this lazy quoting method is used. He figures that
         if you can't take half a minute of your time to save multiple
         minutes of the readers time, the heck with ya.
</interchange-users guidelines>

+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Dan Browning, Kavod Technologies <db@kavod.com>
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A day for firm decisions!!!!!  Or is it?

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