.var type-map not working?

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

.var type-map not working?

Postby ogiesen » 06. April 2005 14:50

I am currently testing some .htaccess stuff for redirecting pages based on language. I have found the documentation on using

AddHandler type-map var

and indeed when I upload this together with my .var-files to my web host it works as expected. However, when testing this with my local XAMPP 1.4.12 installation it simply dumps the contents of the .var file instead of evaluating it (same with 1.4.11 previously).

Apart from changing the DocumentRoot to my own directory I don't remember making any changes to the Apache configuration.

Any ideas on what might be going wrong here?

Cheers,

Oliver
ogiesen
 
Posts: 3
Joined: 06. April 2005 13:39

Ooops...

Postby ogiesen » 06. April 2005 15:16

Sorry, hier nochmal die regionale Fassung... ;)

Ich versuche gerade mittles .htaccess und Type-Maps eine sprachabhängige Seitenumleitung zu realisieren. Wenn ich das ganze bei meinem Hoster hochlade (dort läuft Apache 1.3.33) funktioniert das auch prima, aber mit meinem lokalen XAMPP 1.4.12 wird einfach immer nur der Inhalt der .var-Datei angezeigt, anstatt daß sie ausgewertet wird.

Hat irgendjemand vielleicht ne Ahnung, was da schief läuft? Muß ich noch irgendwelche zusätzlichen Optionen setzen?

Cheers,

Oliver
ogiesen
 
Posts: 3
Joined: 06. April 2005 13:39

Postby Wiedmann » 06. April 2005 17:31

Das dürfte deaktiviert sein.
http://httpd.apache.org/docs-2.0/mod/mo ... ation.html
http://httpd.apache.org/docs-2.0/conten ... ation.html

In der "httpd.conf" siehst du unterer dem Alias für das Manual und Errorpages auch Beispiele wie sowas aussehen kann.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby ogiesen » 07. April 2005 09:23



Jou, danke. Das wars.

Code: Select all
LoadModule negotiation_module modules/mod_negotiation.so
war auskommentiert. Jetzt klappert's. :)

Oliver
ogiesen
 
Posts: 3
Joined: 06. April 2005 13:39


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 54 guests