phpbar.de logo

Mailinglisten-Archive

[php] query ohne fragezeichen ?

[php] query ohne fragezeichen ?

Lutz Zetzsche Lutz.Zetzsche at sea-rescue.de
Mit Aug 25 11:27:49 CEST 2004


Hi Dirk,

Dirk Koritnik schrieb:
> ok, hab befürchtet wieder auf dieses thema zu stoßen.
> was bleibt, wenn man keinen zugang zu den apache conf
> hat ?

schon die Links gelesen, die ich Dir genannt habe? :-D

http://httpd.apache.org/docs/mod/mod_rewrite.html
-> " Unbelievably mod_rewrite provides URL manipulations in per-directory
context, i.e., within .htaccess files, although these are reached a very
long time after the URLs have been translated to filenames. It has to be
this way because .htaccess files live in the filesystem, so processing has
already reached this stage. In other words: According to the API phases at
this time it is too late for any URL manipulations. To overcome this
chicken and egg problem mod_rewrite uses a trick: When you manipulate a
URL/filename in per-directory context mod_rewrite first rewrites the
filename back to its corresponding URL (which is usually impossible, but
see the RewriteBase directive below for the trick to achieve this) and
then initiates a new internal sub-request with the new URL. This restarts
processing of the API phases."

Weitere Infos:

http://www.google.de/search?hl=de&ie=UTF-8&q=htaccess+mod_rewrite&btnG=Google-Suche&meta=

:-)

Die Frage ist nun, ob Du auf dem Server in htaccess mod_rewrite nutzen
darfst. Vielleicht unterbindet die vom Admin vorgenommene Konfiguration
das.



Viele Gruesse

Lutz


php::bar PHP Wiki   -   Listenarchive