for i in *.html; do mv $i {$i%.html}.php; done
Und schon sind alle HTML-Dateien PHP-Dateien. Ich mag Shell.
for i in *.html; do mv $i {$i%.html}.php; done
Und schon sind alle HTML-Dateien PHP-Dateien. Ich mag Shell.
Dank everflux gelöst. Wenn man PHP mit fhcgid fährt und dann dabei auch noch http authentication machen möchte, muss man in der Konfigurations-Datei von apache einen Eintrag ergänzen. Bei uns steht jetzt in der Section <ifmodule mod_fcgid.c>noch Passheader Authorization.