[pLog-svn] resserver usage

Jon Daley plogworld at jon.limedaley.com
Wed Oct 4 10:33:10 GMT 2006


On Wed, 4 Oct 2006, Oscar Renalias wrote:
> This could be used as an alternative and it doesn't look too difficult
> to implement.
>
> I understand you've already used this for one of your projects, right?
 	Can we implement this multiple ways - ie. Debian doesn't appear to 
support x-sendfile by default, which means that Debian users will have to 
compile it themselves.

>From http://blog.craz8.com/articles/tag/lighttpd
> For each of the servers, the x-sendfile header is disabled by default, 
> since a bad app can send any file on the file system.
 	It doesn't sound like even halfway restrictive hosts will enable 
this.

> I was going to ask the same thing. How well does this scale? How fast
> can Apache handle a 3-4mb .htaccess file with tens of thousands of
> rules? How fast could the plugin add the 12332nd rule to a big
> .htaccess file?

The internal rewrite method does work, and the file name is not visible to 
the user.

However:
>From http://httpd.apache.org/docs/2.0/rewrite/rewrite_tech.html
> While URL manipulations in per-server context are really fast and 
> efficient, per-directory rewrites are slow and inefficient due to this
> chicken and egg problem



-- 
Jon Daley
http://jon.limedaley.com/

Right now I'm having amnesia and deja vu at the same time.
   I think I've forgotten this before.
-- Steven Wright


More information about the pLog-svn mailing list