ForceType application/x-httpd-php in .htaccess

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

ForceType application/x-httpd-php in .htaccess

Postby jorlla » 22. May 2003 23:13

Hallo Ihr,

ich möchte gerne in einer .htaccess-Datei den ForceType application/x-httpd-php aktivieren, um letztendlich Aufrufe von

www.domain.de/index.php?key=val&key2=val2

über ein PHP-Script in

www.domain.de/index/key/val/key2/val2

umwandeln zu können.

Dazu habe ich eine .htaccess-Datei mit folgendem Inhalt erstellt:

<Files index>
ForceType application/x-httpd-php
</Files>

Auf meinem Webserver klappt das alles wunderbar. Auf meiner Testumgebung leider nicht, obwohl z.B. Passwortzugriffe über .htaccess und .htpasswd funktionieren.

Ich benutze folgende WAMP-Version auf einem Win2k-Rechner:

WAMPP 2.0 (Server API Version)

* WindowsApache + MySQL +PHP + Perl

+ Apache 2.0.43
+ MySQL 3.23.54
+ PHP 4.3.1
+ Perl 5.8.0
+ mod_php 4.3.1
+ mod_perl 1.99
+ mod_ssl 2.0.44
+ openssl 0.9.6h

Tja, also, eine Hilfe, die dann auch klappt ... wär schon super :lol:

Vielen Dank im voraus.

bye

Jorlla
jorlla
 
Posts: 1
Joined: 22. May 2003 22:46

Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 124 guests