|
List Info
Thread: mod_compress problem
|
|
| mod_compress problem |

|
2006-05-11 11:54:26 |
|
mod_compress seems not to work for me when used for virtual domains.
Here the relevant snippets of my lighttpd.conf file:
...
server.document-root = "/var/www/" compress.filetype = ( "text/plain", "text/html", "text/javascript", "text/css", "text/xml" )
compress.cache-dir = "/var/www/cache/"
$HTTP["host"] =~ "(^|\.)mydomain\.com" { server.document-root = "/home/user/me/sites/mydomain/current/" cml.power-magnet
= "/home/user/me/sites/mydomain/current/config/power-magnet.cml" compress.cache-dir = "/var/www/cache/mydomain/" compress.filetype = ( "text/plain", "text/html", "text/javascript", "text/css", "text/xml" )
proxy.balance = "fair" proxy.server = ( "/" => ( ( "host" => "10.0.0.1", "port" => 3000 ),
( "host" => "10.0.0.1", "port" => 3001 ) ) ) }
....
I observer the following behaviour. If I go to the IP address of my
server, then I get the content form "/var/www/" and cache-files are
written to "/var/www/cache/". If I go to a domain I have configured
(and which otherwise works perfectly, including proxying dynamic
request to an app server) then nothing gets written to
"/var/www/cache/mydomain/". Unix permisssions are ok. I am just talking
about static files.
Anybody an idea what is causing the problem ?
-- Roberto Saccon
|
[1]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|