note 37090 deleted from ref.apache by tomsommer

From: Date: Tue, 03 Aug 2004 16:45:20 +0000
Subject: note 37090 deleted from ref.apache by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-73850@lists.php.net to get a copy of this message
Note Submitter: lp@orangecoder.dk (no fruits!) ---- You could do that with a simple: <?php if (strlen($_SERVER['PATH_INFO']) > 0) { header("location: $_SERVER[SCRIPT_NAME]?$_SERVER[QUERY_STRING]"); } ?> Also, in Apache2 you can set AcceptPathInfo to off (it might even be off as default)... However, you should give full URIs to your stylesheets etc ;)

« previous php.notes (#73850) next »