.. for lighttpd, as you asked
1) mod_alias should be enabled in
===lighttpd.conf===
server.modules = (
...
"mod_alias",
...
)
2) fastcgi must be enabled, php-fastcgi installed and fastcgi server
started
===conf-enabled/10-fastcgi.conf===
server.modules += ( "mod_fastcgi" )
fastcgi.map-extensions = ( ".php4" => ".php" )
fastcgi.server = (
".php" => (
"php4" => (
"bin-path" => "/usr/bin/php-cgi",
"socket" => "/tmp/php4-fastcgi.socket",
"broken-scriptfilename" => "enable",
"min-procs" => 1,
"max-procs" => 1,
"bin-copy-environment"=> ( "PATH", "SHELL", "USER" ),
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "10",
"PHP_FCGI_MAX_REQUESTS" => "1000",
)
)
)
)
3) aliases must be set
===conf-enabled/99-local-sites.conf===
$HTTP["host"] =~ "^noc.xxxx.xxx$" {
...
alias.url += ( "/cacti/" => "/usr/share/cacti/site/" )
...
}
--
Alexander Vlasov
ZULU-UANIC
JID: zulu <at> jabber.kiev.ua
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]