lighttpd & static contents
Hi,
I've configured lighttpd as a webserver and a reverse proxy for apache, with virtual hosts support on both, on one of the virtual hosts when I request any static content (css, html,javascript, jpg) I recieve 403 forbidden, although on the other hosts everything is working properly.
$HTTP["host"] =~ "XXXXXXXX" {
url.rewrite = ("^/$" => "/index.php","^/\?(.*)"=> "/index.php?$1" )
server.document-root = "/XXXXX/"
debug.log-request-handling = "enable"
server.errorlog = "/var/log/lighttpd/XXXX_error_log"
accesslog.filename = "/var/log/lighttpd/XXXX_access.log"
proxy.server = (
".php" => (("host" => "127.0.0.1", "port" => 8082)),
)
}
even the error log file is not created unlike the other hosts,
and it doesnt log request handling.
Thanks in advance.
|