<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.web.lighttpd">
    <title>gmane.comp.web.lighttpd</title>
    <link>http://blog.gmane.org/gmane.comp.web.lighttpd</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.lighttpd/5339"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.lighttpd/5336"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.lighttpd/5331"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.lighttpd/5330"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.lighttpd/5328"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.lighttpd/5327"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.lighttpd/5324"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.lighttpd/5323"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.lighttpd/5320"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.lighttpd/5316"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.lighttpd/5314"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.lighttpd/5313"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.lighttpd/5312"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.lighttpd/5311"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.lighttpd/5309"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.lighttpd/5307"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.lighttpd/5305"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.lighttpd/5304"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.lighttpd/5298"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.lighttpd/5294"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.lighttpd/5339">
    <title>(unknown)</title>
    <link>http://comments.gmane.org/gmane.comp.web.lighttpd/5339</link>
    <description>&lt;pre&gt;


&lt;/pre&gt;</description>
    <dc:creator>James Marcus</dc:creator>
    <dc:date>2012-04-22T14:22:45</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.lighttpd/5336">
    <title>lighttpd + php_cgi = 100% cpu usage</title>
    <link>http://comments.gmane.org/gmane.comp.web.lighttpd/5336</link>
    <description>&lt;pre&gt;Hi,

I just installed a lighttpd server with fast cgi running media wiki on an AWS EC2 Instance.
The wiki is running fine while only one person is connected, if 3 simultaneous access occurs it's impossible to use the Wiki.
2 instances of php_cgi consuming a total of 100% of cpu.
Using alone the application, each page access raises the cpu usage of the server to 35%.

I would like to know what could I do to have the server working properly.

Follow some information about my configuration:

Linux: 2.6.35.14-107.1.36.amzn1.i686

php_cgi:

php-cgi -v
PHP 5.3.10 (cgi-fcgi) (built: Feb  2 2012 23:45:39)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

lighttpd:

ighttpd -v
lighttpd/1.4.29 (ssl) - a light and fast webserver
Build-Date: Jul 16 2011 04:55:02


lighttpd.conf


$SERVER["socket"] == ":80" {
        $HTTP["host"] =~ "example\.com\.br$" {
        url.redirect = ( "^/(.*)" =&amp;gt; "https://example.com.br/$1" )
    server.name                 = "example.com.br"
  }
}

$SERVER["socket"] == "example.com.br:443" {
ssl.engine = "enable"
ssl.pemfile = "/etc/lighttpd/ssl/example.com.br/example.com.br.pem"
ssl.ca-file = "/etc/lighttpd/ssl/example.com.br/root.crt"
server.name = "example.com.br"

server.document-root = "/var/www/lighttpd/example.com.br"
server.errorlog = "/var/log/lighttpd/wiki/error.log"
accesslog.filename = "/var/log/lighttpd/wiki/access.log"
server.error-handler-404 = "/e404.php"

url.rewrite-if-not-file = (
    "^/wiki/(mw-)?config/?" =&amp;gt; "$0",
    "^/wiki/([^?]*)(?:\?(.*))?" =&amp;gt; "/wiki/index.php?title=$1&amp;amp;$2",
    "^/wiki/([^?]*)" =&amp;gt; "/wiki/index.php?title=$1"
)



fastcgi.server = ( ".php" =&amp;gt;
                   ( "php-local" =&amp;gt;
                     (
                       "socket" =&amp;gt; socket_dir + "/php-fastcgi-1.socket",
                       "bin-path" =&amp;gt; "/usr/bin/php-cgi",

                       "broken-scriptfilename" =&amp;gt; "enable",
                     )
                  ),)

The rest is the default.

I even tried some options inside fastcgi.server vector, found in google, but didn't change anything:
                       "max-procs" =&amp;gt; 1,
                                   "max-procs"         =&amp;gt; 4,
                                   "min-procs"         =&amp;gt; 1,
                                   "max-load-per-proc" =&amp;gt; 10,
                                   "idle-timeout"      =&amp;gt; 20,
                                   "bin-environment" =&amp;gt; (
                                                "PHP_FCGI_CHILDREN" =&amp;gt; "2",
                                                "PHP_FCGI_MAX_REQUESTS" =&amp;gt; "500"
                                                        ),
                                   "bin-copy-environment" =&amp;gt; (""),

Thank you in advance.

Att.

Paulo

&lt;/pre&gt;</description>
    <dc:creator>Paulo Roberto Vieira Brandao</dc:creator>
    <dc:date>2012-03-12T21:56:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.lighttpd/5331">
    <title>CGI - carriage-return for new lines?</title>
    <link>http://comments.gmane.org/gmane.comp.web.lighttpd/5331</link>
    <description>&lt;pre&gt;I'm writing Bash script to process a stdin caming from lighttpd's CGI. I
noticed that the caming lines carry a trailing carriage-return for
breaking lines, instead of the expected line-feed, and obviously bash
fails to recognize new lines.

The MIME type is "multipart/form-data";
lighttpd -v
lighttpd/1.4.28 (ssl) - a light and fast webserver
Build-Date: Dec 20 2011 22:59:43


&lt;/pre&gt;</description>
    <dc:creator>Davide Baldini</dc:creator>
    <dc:date>2012-02-28T04:52:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.lighttpd/5330">
    <title>(unknown)</title>
    <link>http://comments.gmane.org/gmane.comp.web.lighttpd/5330</link>
    <description>&lt;pre&gt;



&lt;/pre&gt;</description>
    <dc:creator>GASPARD Kévin</dc:creator>
    <dc:date>2012-01-13T01:10:41</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.lighttpd/5328">
    <title>ssl.ciphers vs. ssl.cipher-list</title>
    <link>http://comments.gmane.org/gmane.comp.web.lighttpd/5328</link>
    <description>&lt;pre&gt;Hi,

the config example added in r2814 (for the lighttpd-1.4.x branch) 
mentioned that "ssl.ciphers" could be used to specify allowed ciphers. But 
when configured, error.log says:

 2011-12-15 10:03:32: (server.c.968) WARNING: unknown config-key: 
 ssl.ciphers (ignored)

The documented[0] "ssl.cipher-list" works though. Is "ssl.ciphers" the 
new "ssl.cipher-list", even in lighttpd-1.4 and soon to be supported? Or 
is the config example wrong?

Thanks,
Christian.

[0] http://redmine.lighttpd.net/wiki/1/Docs:SSL
&lt;/pre&gt;</description>
    <dc:creator>Christian Kujau</dc:creator>
    <dc:date>2011-12-15T11:12:53</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.lighttpd/5327">
    <title>How to log specifed cookie value in access log?</title>
    <link>http://comments.gmane.org/gmane.comp.web.lighttpd/5327</link>
    <description>&lt;pre&gt;Hello list members,

I read accesslog.txt and verified that lightty yet supports %C for
logging specified cookie. I chance read the lua module mod_magnet,
http://redmine.lighttpd.net/wiki/lighttpd/Docs:ModMagnet, and tried to
extract specified cookie and append to uri:

&lt;/pre&gt;</description>
    <dc:creator>Kaiwang Chen</dc:creator>
    <dc:date>2011-10-18T13:02:36</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.lighttpd/5324">
    <title>[Q] Comparative Apache directives in Lighttpd</title>
    <link>http://comments.gmane.org/gmane.comp.web.lighttpd/5324</link>
    <description>&lt;pre&gt;Hi there,

I am migrating a server from Apache to Lighttpd.  I have an SSL question.

What it the comparative Lighttpd line for each of  these in Apache?

   SSLEngine on
   SSLProtocol all -SSLv2
   SSLCipherSuite HIGH:MEDIUM
   SSLCertificateFile /etc/ssl/private/example.ssl.crt
   SSLCertificateKeyFile /etc/ssl/private/example.ssl.key
   SSLCertificateChainFile /etc/ssl/certs/startcomIntermediateCA.pem
   SSLCACertificateFile /etc/ssl/certs/startcomCA.pem


Best regards, Simon.

&lt;/pre&gt;</description>
    <dc:creator>Simon Loewenthal</dc:creator>
    <dc:date>2011-10-17T14:09:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.lighttpd/5323">
    <title>(unknown)</title>
    <link>http://comments.gmane.org/gmane.comp.web.lighttpd/5323</link>
    <description>&lt;pre&gt;

&lt;/pre&gt;</description>
    <dc:creator>david</dc:creator>
    <dc:date>2011-09-05T07:15:57</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.lighttpd/5320">
    <title>DOS boxes in Windows 7</title>
    <link>http://comments.gmane.org/gmane.comp.web.lighttpd/5320</link>
    <description>&lt;pre&gt;Hello list,

I have a project with a web based application, distributed
on a USB-stick. The basic configuration I got from light2go.

It works nicely from Windows 2000 through Vista.

But on Windows 7 I get a console-window ("DOS box") with 
every request. It appears and vanishes quickly, but it is
annoying nevertheless.

I tried some tricks with "start as administrator" and "start
in compatibility mode", but nothing helps.

Do you have any hint for me?

Thanks in advance

Emil


&lt;/pre&gt;</description>
    <dc:creator>Emil Obermayr</dc:creator>
    <dc:date>2011-08-08T13:28:08</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.lighttpd/5316">
    <title>Tudo para seu Bebê, pelo menor preço, só aqui! Roupinhas, Cercados, Berços e muito mais!</title>
    <link>http://comments.gmane.org/gmane.comp.web.lighttpd/5316</link>
    <description>&lt;pre&gt;Seu cliente de e-mail não pode ler este e-mail.
Para visualizá-lo on-line, por favor, clique aqui:
http://www.mkt3000.com.br/envio/display.php?M=11474082&amp;amp;C=69614b70c1d582fa5bc9e51445d91cc5&amp;amp;S=534&amp;amp;L=116&amp;amp;N=7


Para parar de receber nossos
Emails:http://www.mkt3000.com.br/envio/unsubscribe.php?M=11474082&amp;amp;C=69614b70c1d582fa5bc9e51445d91cc5&amp;amp;L=116&amp;amp;N=534
Email Marketing
&lt;/pre&gt;</description>
    <dc:creator>Walmart.com.br - Parceiro Computer Hobby</dc:creator>
    <dc:date>2011-03-11T20:52:34</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.lighttpd/5314">
    <title>Aparelho de Jantar 99,90 reais.GPS LCD Touchscreen por 338 reais.Aproveite.</title>
    <link>http://comments.gmane.org/gmane.comp.web.lighttpd/5314</link>
    <description>&lt;pre&gt;Seu cliente de e-mail não pode ler este e-mail.
Para visualizá-lo on-line, por favor, clique aqui:
http://www.mkt3000.com.br/envio/display.php?M=11474082&amp;amp;C=69614b70c1d582fa5bc9e51445d91cc5&amp;amp;S=528&amp;amp;L=116&amp;amp;N=7


Para parar de receber nossos
Emails:http://www.mkt3000.com.br/envio/unsubscribe.php?M=11474082&amp;amp;C=69614b70c1d582fa5bc9e51445d91cc5&amp;amp;L=116&amp;amp;N=528
Email Marketing
&lt;/pre&gt;</description>
    <dc:creator>walmart - Parceiro Computerhobby</dc:creator>
    <dc:date>2011-03-10T02:10:11</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.lighttpd/5313">
    <title>Seguro de Vida, Comodidade a Você e Sua Familia no Momento em que mais Precisa.</title>
    <link>http://comments.gmane.org/gmane.comp.web.lighttpd/5313</link>
    <description>&lt;pre&gt;Seu cliente de e-mail não pode ler este e-mail.
Para visualizá-lo on-line, por favor, clique aqui:
http://www.mkt3000.com.br/envio/display.php?M=11493361&amp;amp;C=6ff1d9cd3aa9eafb863cf29a640decf3&amp;amp;S=485&amp;amp;L=170&amp;amp;N=46


Para parar de receber nossos
Emails:http://www.mkt3000.com.br/envio/unsubscribe.php?M=11493361&amp;amp;C=6ff1d9cd3aa9eafb863cf29a640decf3&amp;amp;L=170&amp;amp;N=485
Email Marketing
&lt;/pre&gt;</description>
    <dc:creator>Paulo Leal</dc:creator>
    <dc:date>2011-03-04T16:19:55</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.lighttpd/5312">
    <title>Ganhe Cupons e Compre com Descontos...</title>
    <link>http://comments.gmane.org/gmane.comp.web.lighttpd/5312</link>
    <description>&lt;pre&gt;Seu cliente de e-mail não pode ler este e-mail.
Para visualizá-lo on-line, por favor, clique aqui:
http://www.mkt3000.com.br/envio/display.php?M=7332320&amp;amp;C=0e648cc199b058170be8e51e2468d95d&amp;amp;S=474&amp;amp;L=207&amp;amp;N=45


Para parar de receber nossos
Emails:http://www.mkt3000.com.br/envio/unsubscribe.php?M=7332320&amp;amp;C=0e648cc199b058170be8e51e2468d95d&amp;amp;L=207&amp;amp;N=474
Email Marketing
&lt;/pre&gt;</description>
    <dc:creator>Paulo Leal</dc:creator>
    <dc:date>2011-03-04T02:39:57</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.lighttpd/5311">
    <title>Ganhe Cupons e Compre com Descontos...</title>
    <link>http://comments.gmane.org/gmane.comp.web.lighttpd/5311</link>
    <description>&lt;pre&gt;Seu cliente de e-mail não pode ler este e-mail.
Para visualizá-lo on-line, por favor, clique aqui:
http://www.mkt3000.com.br/envio/display.php?M=11493361&amp;amp;C=6ff1d9cd3aa9eafb863cf29a640decf3&amp;amp;S=470&amp;amp;L=170&amp;amp;N=45


Para parar de receber nossos
Emails:http://www.mkt3000.com.br/envio/unsubscribe.php?M=11493361&amp;amp;C=6ff1d9cd3aa9eafb863cf29a640decf3&amp;amp;L=170&amp;amp;N=470
Email Marketing
&lt;/pre&gt;</description>
    <dc:creator>Paulo Leal</dc:creator>
    <dc:date>2011-03-03T21:17:04</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.lighttpd/5309">
    <title>Cuidados Pessoais e Beleza...</title>
    <link>http://comments.gmane.org/gmane.comp.web.lighttpd/5309</link>
    <description>&lt;pre&gt;Seu cliente de e-mail não pode ler este e-mail.
Para visualizá-lo on-line, por favor, clique aqui:
http://www.mkt3000.com.br/envio/display.php?M=7332320&amp;amp;C=0e648cc199b058170be8e51e2468d95d&amp;amp;S=423&amp;amp;L=207&amp;amp;N=35


Para parar de receber nossos
Emails:http://www.mkt3000.com.br/envio/unsubscribe.php?M=7332320&amp;amp;C=0e648cc199b058170be8e51e2468d95d&amp;amp;L=207&amp;amp;N=423
Email Marketing
&lt;/pre&gt;</description>
    <dc:creator>Paulo Leal</dc:creator>
    <dc:date>2011-02-26T17:02:36</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.lighttpd/5307">
    <title>Ganhe Cupons de Descontos...</title>
    <link>http://comments.gmane.org/gmane.comp.web.lighttpd/5307</link>
    <description>&lt;pre&gt;Seu cliente de e-mail não pode ler este e-mail.
Para visualizá-lo on-line, por favor, clique aqui:
http://www.mkt3000.com.br/envio/display.php?M=7332320&amp;amp;C=0e648cc199b058170be8e51e2468d95d&amp;amp;S=392&amp;amp;L=207&amp;amp;N=29


Para parar de receber nossos
Emails:http://www.mkt3000.com.br/envio/unsubscribe.php?M=7332320&amp;amp;C=0e648cc199b058170be8e51e2468d95d&amp;amp;L=207&amp;amp;N=392
Email Marketing
&lt;/pre&gt;</description>
    <dc:creator>Paulo Leal</dc:creator>
    <dc:date>2011-02-24T16:01:36</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.lighttpd/5305">
    <title>Cuidados Pessoais e Beleza...</title>
    <link>http://comments.gmane.org/gmane.comp.web.lighttpd/5305</link>
    <description>&lt;pre&gt;Seu cliente de e-mail não pode ler este e-mail.
Para visualizá-lo on-line, por favor, clique aqui:
http://www.mkt3000.com.br/envio/display.php?M=7332320&amp;amp;C=0e648cc199b058170be8e51e2468d95d&amp;amp;S=347&amp;amp;L=207&amp;amp;N=35


Para parar de receber nossos
Emails:http://www.mkt3000.com.br/envio/unsubscribe.php?M=7332320&amp;amp;C=0e648cc199b058170be8e51e2468d95d&amp;amp;L=207&amp;amp;N=347
Email Marketing
&lt;/pre&gt;</description>
    <dc:creator>Paulo Leal</dc:creator>
    <dc:date>2011-02-16T19:11:20</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.lighttpd/5304">
    <title>Ganhe Cupons de Descontos...</title>
    <link>http://comments.gmane.org/gmane.comp.web.lighttpd/5304</link>
    <description>&lt;pre&gt;Seu cliente de e-mail não pode ler este e-mail.
Para visualizá-lo on-line, por favor, clique aqui:
http://www.mkt3000.com.br/envio/display.php?M=7332320&amp;amp;C=0e648cc199b058170be8e51e2468d95d&amp;amp;S=335&amp;amp;L=207&amp;amp;N=29


Para parar de receber nossos
Emails:http://www.mkt3000.com.br/envio/unsubscribe.php?M=7332320&amp;amp;C=0e648cc199b058170be8e51e2468d95d&amp;amp;L=207&amp;amp;N=335
Email Marketing
&lt;/pre&gt;</description>
    <dc:creator>Paulo Leal</dc:creator>
    <dc:date>2011-02-16T04:07:16</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.lighttpd/5298">
    <title>how to show hostname in browser's address b</title>
    <link>http://comments.gmane.org/gmane.comp.web.lighttpd/5298</link>
    <description>&lt;pre&gt;What can I do to make browser to show the hostname (not IP number) in
address bar? ar
&lt;/pre&gt;</description>
    <dc:creator>Sérgio Luiz Oliveira Farias</dc:creator>
    <dc:date>2011-02-08T13:28:28</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.lighttpd/5294">
    <title>lighttpd-announce&lt; at &gt;lists.lighttpd.net</title>
    <link>http://comments.gmane.org/gmane.comp.web.lighttpd/5294</link>
    <description>&lt;pre&gt;
Hello,
I would like to install lighttpd on MIPS64 via a cross-compile environment. When configure (--build=i686-linux-gnu --host=mips64-octeon-linux-gnu), it is OK. But when compile (make), it failed.So how can do it? thanks a lot
shawn       &lt;/pre&gt;</description>
    <dc:creator>liu shawn</dc:creator>
    <dc:date>2010-12-11T03:42:15</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.lighttpd/5292">
    <title>cannot get rewrite rule to function properly</title>
    <link>http://comments.gmane.org/gmane.comp.web.lighttpd/5292</link>
    <description>&lt;pre&gt;A customer is replacing their old perl based site with a newly written php
based (using codeigniter framework). They would very much like the old page
accessible for google indexing/rank/seo. The old sites index.cgi redirect to
/se/index.cgi, so this means that all request for the old site will have
/se/*.cgi (plus additionally /cmn/ for static content).

 

I have setup both sites in lighttpd, and they do work individually. In the
config of the new site, I have created aliases for index.cgi|/se/|/cmn. The
new site requires rewriting of: * to index.php?\*, this can be done with 

"^(\.*)$" =&amp;gt; "/index.php?/$1".

 

Using the first version of test.example.com, the new page behaves as
expected.

The request against /search works (which rewrites to /index.php?search).

However, accessing .cgi|/cmn|/se does not work - instead I get a codeIgniter
generated 404.

 

Using the second version of test.example.com, the old site is accessible
through test.example.com/se/index.cgi, and the new page's /index.php - BUT
/search is not rewritten to /index.php?search. In fact, the 404 is the
standard lighttpd 404 so this leads me to believe that it's
old.example.com's 404..

 

Seems very simple to solve if one knows his regexp, which I obviously do
not. Can anyone spot the problem?

 

$HTTP["host"] =~ "old\.example\.com$" {

        server.document-root = "/home/example/perl/web"

        server.errorlog = "/var/log/lighttpd/lgold_error.log"

        accesslog.filename = "/var/log/lighttpd/lgold_access.log"

}

 

 

 

# new page works, old page through rewrite does not.

$HTTP["host"] =~ "(^www|^test)\.example\.com$" {

        server.document-root = "/home/example/php"

        server.errorlog = "/var/log/example/example_error.log"

        accesslog.filename = "/var/log/lighttpd/example_access.log"

        alias.url += (

         "/index.cgi" =&amp;gt; "/home/example/perl/web/index.cgi",

         "/se" =&amp;gt; "/home/example/perl/web/se",

         "/cmn/" =&amp;gt; "/home/example/perl/web/cmn/",

        )

        url.rewrite-once = (

                                ".*\.(js|ico|gif|jpg|png|swf|css|html)$" =&amp;gt;
"$0",

                                "^(.*)$" =&amp;gt; "/index.php?/$1",

                        )

}

 

# Old page works through test.somehost.com/se/index.cgi, only /index.php
works on new page, and not /some-url-here

# (which really is /index.php?some-url-here)

$HTTP["host"] =~ "(^www|^test)\.example\.com$" {

        server.document-root = "/home/example/php"

        server.errorlog = "/var/log/example/example_error.log"

        accesslog.filename = "/var/log/lighttpd/example_access.log"

        alias.url += (

         "/index.cgi" =&amp;gt; "/home/example/perl/web/index.cgi",

         "/se" =&amp;gt; "/home/example/perl/web/se",

         "/cmn/" =&amp;gt; "/home/example/perl/web/cmn/",

        )

        url.rewrite-once = (

                                ".*\.(js|ico|gif|jpg|png|swf|css|html)$" =&amp;gt;
"$0",

                                # rewrite all requests BUT ^/cmn/, ^/se/ and
^\*.cgi to index.php?$1

                               "!(^/cmn|^/se|*\.cgi)"  =&amp;gt; "/index.php/$1",

                        )

}

 

&lt;/pre&gt;</description>
    <dc:creator>mb</dc:creator>
    <dc:date>2010-11-25T10:48:32</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.web.lighttpd">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.web.lighttpd</link>
  </textinput>
</rdf:RDF>

