|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
<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 |
|
![]() |
| Outils de la discussion | |
|
|