Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51553 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86549 invoked from network); 3 Mar 2011 06:35:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Mar 2011 06:35:21 -0000 Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 209.85.214.170 mail-iw0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:41077] helo=mail-iw0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B4/60-17389-6A63F6D4 for ; Thu, 03 Mar 2011 01:35:19 -0500 Received: by iwn3 with SMTP id 3so721379iwn.29 for ; Wed, 02 Mar 2011 22:35:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=FpIUCIzLOK3iL/hD2lTe1CosQu30sc7zNtYkSRyZW+4=; b=qv6Npln9baqRqAUuRlIkqGOT35YTpz12wyZ+Qvtq2cv3nU3Zdvzr8iDyYtju9U3eML hlhZ/7e9rMuzvbKcuDqLdUGw3ZujmNuKPEkZ9oeN3tyBC7kmyjPtkrWbprj2mz/AAyDM StZhpBrV1S2bJzvesjElTHdvmAoD2M4052P/s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=vvVAMmaU0Ht8Q+HTxfjpGUj4FeZrXoJWm6s31mQr7XmIUlugzGFd6VqBqT2sV7KI2y W940I1yKuGtgrXP++bOYABC8HPBO3r0fo/cacJuOTw1hWQq6yaHDHmgChZR84b16CAHw WleecDhoxlaC3KG3xwQ0s/Zl/VbkBrM0GJYME= MIME-Version: 1.0 Received: by 10.42.141.7 with SMTP id m7mr1076147icu.289.1299134116179; Wed, 02 Mar 2011 22:35:16 -0800 (PST) Received: by 10.231.17.133 with HTTP; Wed, 2 Mar 2011 22:35:16 -0800 (PST) In-Reply-To: References: Date: Thu, 3 Mar 2011 09:35:16 +0300 Message-ID: To: Moriyoshi Koizumi Cc: internals Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] RFC: built-in web server in CLI. From: indeyets@gmail.com (Alexey Zakhlestin) On Wed, Mar 2, 2011 at 11:55 PM, Moriyoshi Koizumi wrote: > Hi, > > Just to let you know that I wrote a RFC about built-in web server > feature with which PHP can serve contents without a help of web > servers. =C2=A0That would be handy for development purpose. > > If interested, have a look at http://wiki.php.net/rfc/builtinwebserver . Interesting, indeed. I noticed, that you hardcode mimetypes and index_files. Mimetypes can probably be obtained from the system =E2=80=94 we even had so= me extension doing that. And index_files should be configurable, because there are some situations when people don't want any mime-types at all. Also, it would be good to be able to configure which files are actually parsed by php, not just served. Currently, these are only ".php" files --=20 Alexey Zakhlestin, http://twitter.com/jimi_dini http://www.milkfarmsoft.com/