PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > mod speling Funktionalität für per Map definierte Rewrites
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

mod speling Funktionalität für per Map definierte Rewrites

Réponse
 
LinkBack Outils de la discussion
Vieux 01/02/2008, 12h24   #1
holger.norden@interone.de
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut mod speling Funktionalität für per Map definierte Rewrites

Hi *,

hat jemand bereits versucht, eine Rewrite Map mit einer
Fehlerbehandlung zu kombinieren?
Beispiel: Die map enthaelt eine Zeile wie
googlegroup http://groups.google.com

Der User nutzt einen Shortcut Aufruf wie
www.myscserver.de/googlegroup und wird weitergeleitet
Aber folgende SCs sollten ebenfalls und ohne separate Anlage in der
Map weitergeleitet werden:
/google groups
/google group
/goglegroups
/GogleGroup

Gleiches auch für Fälle wie coupe und z.B. coupé oder coupee.
mod_speling kann das leisten, aber leider wohl nicht in maps.

Danke, Holger

  Réponse avec citation
Vieux 01/02/2008, 12h30   #2
holger.norden@interone.de
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: mod speling Funktionalität für per Map definierte Rewrites

Sorry, her comes the english version:

Did anyone try to combine a rewrite map with spelling?
Examle: The map contains a rewrite like
googlegrouphttp://groups.google.com

If the user enters a url like www.myscserver.de/googlegroupund this
will be mapped.
Following shortcuts needed to be mappe too without adding them to the
map ...
/google groups
/google group
/goglegroups
/GogleGroup

Same to other, missing or additional characters like with
SC 'coupe' requested as 'coupé' or 'coupee'.
mod_speling will do so but not when using maps.

Thanks, Holger
  Réponse avec citation
Vieux 01/02/2008, 15h08   #3
HansH
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: mod speling Funktionalität für per Map definierte Rewrites

<holger.norden@interone.de> schreef in bericht
news:b96235f6-2352-4ed0-93cb-48b9d316a49c@q77g2000hsh.googlegroups.com...
> Did anyone try to combine a rewrite map with spelling?
> Example: The map contains a rewrite like
> googlegroup http://groups.google.com
>
> If the user enters a url like www.myscserver.de/googlegroupund this
> will be mapped.
> Following shortcuts needed to be mappe too without adding them to the
> map ...
> /google groups
> /google group
> /goglegroups
> /GogleGroup


Mod_speling -with a single l indeed- will try to match an url to a local
file or folder.
While googlegroup is not a physical folder on your system it'll do nothing
for you.

Case insensitivety can be achived by nesting two maps
RewriteMap map txt:keywords
RewriteMap lc int:tolower
rewriterule (.*) %{map:%{lc:$1}}

> 'coupe' requested as 'coupé' or 'coupee'.

Diacriticals ... a ball game I dislike ...


Hans


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 20h17.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08105 seconds with 11 queries