Project

General

Profile

Redirection/Rewriting with Lighttpd

Added by Seb DUBOIS about 12 years ago

I'm using Alfresco with Lighttpd. The url that I must use is http://192.168.1.1:8080/share and I want users just type http://alfresco . I'm using Lighttpd v1.4.26 and this works fine :

$HTTP["host"] == "alfresco" {

proxy.server = (
    "" => ( (
        "host" => "192.168.1.1",
        "port" => 8080
    ) )
)
}

Here, users can type http://alfresco/share .

But I don't know how I can do just for http://alfresco for the same result. A rewrite? A redirection? But how?

Can somebody help me? Thanks!