Re: phps and iis

From: Date: Mon, 16 Feb 2004 15:34:46 +0000
Subject: Re: phps and iis
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-177733@lists.php.net to get a copy of this message
Marek Kilimajer wrote:
Anders Gjermshus wrote:
Is it possible to get IIS 6 to show php sources. ( phps files )
Is it possible to set a custom 404 handler in IIS? Than you can set it to a php page, in the php page parse the request URI and highlight_file().
Good catch; never thought of that. It is possible to have a custom 404, although REQUEST_URI isn't created. You end up with a $_SERVER['QUERY_STRING'] value of "404;http://coconut/nosuchfile.php", though, which you could parse for the original file name. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com

« previous php.general (#177733) next »