Project

General

Profile

How activate Java with Lighttpd ( need to create Jalbum albums )

Added by lcoulon about 14 years ago

Hello,

I'm novice and installed Lighttpd ( on my NSLU2 Debian )

I would like to host some web albums and i'm using Jalbum to create them.
This software generate HTML files and pictures but requires Java enabled to display the web album properly.

Can someone tell me what i should do to have Lighttpd compliant with Java ?
Later, I will also need PHP running with Lighttpd.

Here is my lighttpd.conf file ( very simplied because i only have 2 virtual hosts )

server.tag                 = "lighttpd/1.4.11 (NSLU2-Debian)" 
server.document-root = "/home/web-sites/default/http/" 

server.port = 80

server.username = "lighttpd" 
server.groupname = "lighttpd" 

mimetype.assign = (
  ".html" => "text/html",
  ".htm" => "text/html",
  ".txt" => "text/plain",
  ".jpg" => "image/jpeg",
  ".png" => "image/png" 
)

static-file.exclude-extensions = ( ".fcgi", ".php", ".rb", "~", ".inc" )
index-file.names = ( "index.html" )

$HTTP["host"] == "xxxx.dyndns.org" {
  server.document-root = "/home/xxxx/http/" 
}

$HTTP["host"] == "yyyy.dyndns.org" {
  server.document-root = "/home/yyyy/http/" 
}

I will appreciate your help about how having Java and PHP running with Lighttpd.
Best Regards,