Christian Seiler: Mod Rewrite - Rewrite MAP geht nur beim 1, mal ...

Beitrag lesen

Hallo Chrisi,

#!/usr/local/php5/bin/php -q
<?php

while($input = trim(fgets(STDIN, 256))) {
     fputs(STDOUT, str_replace(array('-',','),array('=','&'),$input));
  exit(0);

Dieses exit(0); ist Dein Problem. Das Programm muss weiterlaufen, siehe auch die Apache-Doku. Mach stattdessen ein flush(); - dann sollte es gehen.

Viele Grüße,
Christian

--
"I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone." - Bjarne Stroustrup