> My point is that you should be making the server _ignore_ the files 
> entirely, as opposed to serving them in any way. If the default is to 
> serve them as plain text, there must be a way to tell the 
> server to not 
> serve the files at all.
> 
> The same goes for dhandler files as well.

Completely agree, I've been using lighttpd since last night now, and my
configuration looks like this: 

fastcgi.map-extensions  = ( ".js" => ".dynamic",
                            "/"   => ".dynamic",
                            ".css" => ".dynamic")
$HTTP["url"] !~ "/webrent3/gfx/" {
        fastcgi.map-extensions  += ( ".gif" => ".dynamic",
                                    ".jpg" => ".dynamic",
                                )
        }

fastcgi.server = ( ".dynamic" =>
                  ( "localhost" =>
                   ( "socket" =>
server.document-root+"server/sockets/mason-fastcgi.socket",
                     "bin-path" =>
server.document-root+"server/mason-handler.fcgi",
                     "check-local" => "disable"
                   )
                  )
                 )

( Images should be handled by mason most of the time, unless they're in
somewhere specific ).


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to