i have a thing like that in my lighttpd.conf that makes multibple vhosts as
easy as making a directory or setting a link:
-------------------8<-----------------
simple-vhost.server-root = "/usr/local/www/hosts/"
simple-vhost.default-host = "domain.com"
simple-vhost.document-root = "/"
------------------->8-----------------

and for drupal the rewrite thing (.htaccess will not work :-) )

-------------------8<-----------------
 url.rewrite-once = (
"^/system/test/(.*)$" => "/index.php?q=system/test/$1",
"^/search/node/(.*)$" => "/index.php?q=search/node/$1",
"^/([^.?]*)\?(.*)$" => "/index.php?q=$1&$2",
"^/([^.?]*)$" => "/index.php?q=$1"
)
------------------->8-----------------


On Thu, Sep 25, 2008 at 1:33 PM, Brenda Wallace <[EMAIL PROTECTED]>wrote:

>
> in regards to lighttpd + fastcgi flavoured php, the biggest gotcha is
> that ini_set() does nothing.. Many opensource projects put all there
> settings into the code so the end user (aka installer) doesn't need to
> find about hard things like whether register_global is on.  you need
> to wrangle your php.ini into the settings that your application needs.
>
> Otherwise, much the same as apache -- though with a completely
> different configuration syntax.
>
> there were a few security updates in a row (coming to me via debian)
> and i got a bit of pressure to get off this wierd unknown lighttpd
> thing and back to nice normal apache2, which is a fair argument. But i
> stuck with it and lighttpd seems to be maturing into a grown up
> project now.
>
> On Tue, Sep 23, 2008 at 9:27 PM, James McGlinn
> <[EMAIL PROTECTED]> wrote:
> > Hey Brenda (offlist),
> >
> >> Anyone here not using apache?
> >> I did some benchmarks of lighttpd, and found, for the identical
> >> (drupal) docroot, that it did 10x better.
> >
> > I've heard of a few quirks still to be ironed out, check out Evert
> > Pot's blog - http://www.rooftopsolutions.nl/article/201.  I'd be
> > really interested to hear your experience with Lighttpd/PHP if you end
> > up deploying it anywhere under high load though...
> >
> >
> > Kind regards,
> > James McGlinn
> > __________________________________
> > CTO
> > Eventfinder Limited
> > Suite 106, Heards Building
> > 2 Ruskin Street, Parnell, Auckland 1052
> > Phone: +649 365 2342
> > Mobile: +6421 633 234
> >
> > [EMAIL PROTECTED]  |  www.eventfinder.co.nz
> >
> >
> >
> > >
> >
> >
> >
> >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to