From 06a4de26e05b74e3ed5493cef205af91462678a1 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sun, 23 Sep 2012 20:57:43 +0200 Subject: Making the list creation method. --- README | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'README') diff --git a/README b/README index 892fdf4..35d1689 100644 --- a/README +++ b/README @@ -14,7 +14,7 @@ Read installation file INSTALL and follow those instructions. ** LDAP The panel, or rather the Fripost::Schema library itself, requires -Fripost's LDAP schema, and base directory. See our other repository +Fripost's LDAP schema, and base directory. See our other repository git clone gitolite@git.fripost.org:fripost-admin.git @@ -28,15 +28,27 @@ custom modifications. Both files are equal separated (e.g., key=value) configuration file. Comments (prefixed with a hash #) and blank/empty lines are ignored. -** Web server +** Web server (nginx) -TODO: instructions for Apache and Nginx. + location = / { + rewrite ^ /cgi-bin/ permanent; + } + location ^~ /cgi-bin/ { + fastcgi_split_path_info ^(/cgi-bin)(/.*)$; + include fastcgi/params; + fastcgi_pass unix:/var/run/fcgi/fripost-panel.socket; + } + location ^~ /img/ { } + location ^~ /css/ { } + location ^~ / { return 404; } + +Start the FastCGI process with './bin/fripost-panel start'. ** Development For testing purposes, the developers may want to install HTTP::Server::Simple and use our custom clone of -CGI::Application::Server. +CGI::Application::Server. ./dev/server.pl will start a server listening to localhost:8080. Visit http://127.0.0.1:8080/cgi-bin/ to log in and browse the panel. -- cgit v1.2.3