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

S. Wong interchange-users@icdevgroup.org
Sun Jul 7 02:07:02 2002


I'm not quite sure what you want done ... if you could give me an 
example of what you want goes to where, I might be of help.

I've made mine such that a request for /foundation goes to 
/cgi-bin/foundation by using the ff:

RewriteRule    ^/foundation/(.*)    /cgi-bin/foundation/$1    [R,L]

You could also do Redirect /foundation/    /cgi-bin/foundation/        
<- this does pretty much what the RewriteRule does, too.

HTH.

Dan Browning wrote:

> At 03:16 PM 7/6/2002 -1000, you wrote:
>
>> 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
>
>
> I don't personally know of any examples, but I know it has been done 
> before (by someone who wasn't willing to share the regex).  And it 
> doesn't itch enough for my to try and scratch right now.
>
>
> +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> | Dan Browning, Kavod Technologies <db@kavod.com>
> +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> A bird in the hand makes it awfully hard to blow your nose.
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users


-- 
Ciao ?:-)
Shirlyn, the WebPrincess