Project

General

Profile

How to Serve Up LuCi Using cgi on Port 88 and Website on Port 80? (Solved)

Added by robrob almost 14 years ago

I'm running OpenWrt on my RouterStation Pro router and use it as a webserver on port 80 using lighttpd. OpenWrt is administered using LuCi using cgi and uhttpd on port 88. How do I configure lighttpd to run LuCi with cgi on port 88 and my website on port 80? It would be nice to only run one webserver.

I have lighttpd-mod-cgi & luci-mod-admin-full already loaded in OpenWrt. I just need to to know how to configure lighttpd.conf to serve both ports.

Thanks in advance,

Rob


Replies (2)

RE: How to Serve Up LuCi on Port 88 and Website on Port 80? - Added by robrob almost 14 years ago

I was directed to this thread:

http://forum.lighttpd.net/topic/958

Which helps but I need help configuring cgi for LuCi. The normal config is:

  1. CGI module
    cgi.assign = ( "luci" => "/usr/bin/lua" )

How do I change the cgi port for LuCi to 88?

    (1-2/2)