mod_rewrite question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alex79
    Confirmed User
    • Jun 2002
    • 996

    #1

    mod_rewrite question

    i do have problems in using special characters (umlauts) with mod_rewrite ... two script urls for example:

    PHP Code:
    [url]http://www.domain.com/cgi-bin/script.pl?article=Briefmarken%20%26%20M%FCnzen[/url] 
    
    How do i get those to:
    PHP Code:
    http://www.domain.com/Briefmarken_&_Münzen.html 
    
    i've tryed next mod_rewrite code:

    PHP Code:
    <IfModule mod_rewrite.c>
            RewriteEngine On
            RewriteRule (.*).html /cgi-bin/script.pl?article=$1 
    </IfModule> 
    
    but is only take the Briefmarken_ from Briefmarken_&_Münzen

    also, i've tryed to encode the url but i get same result


    anybody know how can this be done?

    thanks
  • drctfiesta
    Confirmed User
    • Sep 2004
    • 1821

    #2
    Trust Allah
    He will give you the answer
    Allah Ouakbar
    *

    Comment

    Working...