Hello Aegis,
First of all thanks for sharing this topic which made me to work on this. I got this working with below setup:
OS Name: Linux (Fedora - Laughlin)
OS Version: 2.6.35.6-45.fc14.i686
Architecture: i386
JVM Version:1.6.0_29-b11
Alfresco Version : 3.2 r [Enterprise]
Tomcat : Apache Tomcat/6.0.18
Lighttpd : v 1.7
Installed lighttpd by using - yum install lighttpd
Make the below change in lighttpd.conf [/etc/lighttpd/lighttpd.conf] {this is default path for my case} —
"mod_proxy" module should be enabled in server.modules section
Add the below rule -
$HTTP["host"] =~ "192.168.2.10|localhost" {
proxy.server = ( "" =>
(
"Alfresco" => ("host"=>"127.0.0.1","port"=>"8080","fix-redirects"=>1)
)
)
}
This proxy directive makes lighttpd connect to Tomcat on the localhost on port 8080 whenever a request comes in on port 80 to lighttpd on the IP 192.168.2.10 OR localhost.
* 192.168.2.10 is the IP of the machine where Alfresco [Tomcat] & lighttpd is running.
** Mine Alfersco server is running on a VMware setup which has DHCP configuration and so this IP is going to change everytime.
Make sure that you have port 80 [lighttpd] & 8080 [Tomcat] as "Trusted Services" in Firewall configuration.
If you want httpd to connect to httpd/ftp ports you need to turn on the httpd_can_network_relay boolean and this can be done using the below command:
"setsebool -P httpd_can_network_relay=1"
Make sure you are looking into access.log & error.log at /var/log/lighttpd to get more info about your error to debug.
Let me know how that works on your end.
Thanks,