From 841525a250f0815798a5b60a7f5a09fceb93a58f Mon Sep 17 00:00:00 2001 From: notroot Date: Fri, 23 Jan 2015 22:12:42 +0000 Subject: [PATCH] Issue #50: add lighttpd configurations for seaside and fastcgi --- projects/seaside31/fastCGI/lighttpd/README.md | 10 ++++++++++ .../fastCGI/lighttpd/conf-available/20-seaside.conf | 11 +++++++++++ .../fastCGI/lighttpd/conf-enabled/10-accesslog.conf | 1 + .../fastCGI/lighttpd/conf-enabled/10-fastcgi.conf | 1 + .../fastCGI/lighttpd/conf-enabled/20-seaside.conf | 1 + 5 files changed, 24 insertions(+) create mode 100644 projects/seaside31/fastCGI/lighttpd/README.md create mode 100644 projects/seaside31/fastCGI/lighttpd/conf-available/20-seaside.conf create mode 120000 projects/seaside31/fastCGI/lighttpd/conf-enabled/10-accesslog.conf create mode 120000 projects/seaside31/fastCGI/lighttpd/conf-enabled/10-fastcgi.conf create mode 120000 projects/seaside31/fastCGI/lighttpd/conf-enabled/20-seaside.conf diff --git a/projects/seaside31/fastCGI/lighttpd/README.md b/projects/seaside31/fastCGI/lighttpd/README.md new file mode 100644 index 0000000..e4b444f --- /dev/null +++ b/projects/seaside31/fastCGI/lighttpd/README.md @@ -0,0 +1,10 @@ +```Shell +sudo ln -s $GS_HOME/projects/seaside31/fastCGI/lighttpd/includes /etc/lighttpd +sudo ln -s $GS_HOME/projects/seaside31/fastCGI/lighttpd/conf-available/20-seaside.conf \ + /etc/lighttpd/conf-available/ +sudo ln -s /etc/lighttpd/conf-available/10-accesslog.conf /etc/lighttpd/conf-enabled/ +sudo ln -s /etc/lighttpd/conf-available/10-fastcgi.conf /etc/lighttpd/conf-enabled/ +sudo ln -s /etc/lighttpd/conf-available/20-seaside.conf /etc/lighttpd/conf-enabled/ +sudo /etc/init.d/lighttpd force-reload +``` + diff --git a/projects/seaside31/fastCGI/lighttpd/conf-available/20-seaside.conf b/projects/seaside31/fastCGI/lighttpd/conf-available/20-seaside.conf new file mode 100644 index 0000000..8e7a79e --- /dev/null +++ b/projects/seaside31/fastCGI/lighttpd/conf-available/20-seaside.conf @@ -0,0 +1,11 @@ +fastcgi.debug = 0 + +fastcgi.server = ( + "/" => + ( + ("host" => "127.0.0.1","port" => 9001,"check-local" => "disable","mode" => "responder" ), + ("host" => "127.0.0.1","port" => 9002,"check-local" => "disable","mode" => "responder" ), + ("host" => "127.0.0.1","port" => 9003,"check-local" => "disable","mode" => "responder" ), + ), +) + diff --git a/projects/seaside31/fastCGI/lighttpd/conf-enabled/10-accesslog.conf b/projects/seaside31/fastCGI/lighttpd/conf-enabled/10-accesslog.conf new file mode 120000 index 0000000..733feb0 --- /dev/null +++ b/projects/seaside31/fastCGI/lighttpd/conf-enabled/10-accesslog.conf @@ -0,0 +1 @@ +/etc/lighttpd/conf-available/10-accesslog.conf \ No newline at end of file diff --git a/projects/seaside31/fastCGI/lighttpd/conf-enabled/10-fastcgi.conf b/projects/seaside31/fastCGI/lighttpd/conf-enabled/10-fastcgi.conf new file mode 120000 index 0000000..51a802a --- /dev/null +++ b/projects/seaside31/fastCGI/lighttpd/conf-enabled/10-fastcgi.conf @@ -0,0 +1 @@ +/etc/lighttpd/conf-available/10-fastcgi.conf \ No newline at end of file diff --git a/projects/seaside31/fastCGI/lighttpd/conf-enabled/20-seaside.conf b/projects/seaside31/fastCGI/lighttpd/conf-enabled/20-seaside.conf new file mode 120000 index 0000000..9be94d1 --- /dev/null +++ b/projects/seaside31/fastCGI/lighttpd/conf-enabled/20-seaside.conf @@ -0,0 +1 @@ +/etc/lighttpd/conf-available/20-seaside.conf \ No newline at end of file