aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2012-09-23 20:57:43 +0200
committerGuilhem Moulin <guilhem.moulin@fripost.org>2012-09-23 20:57:43 +0200
commit06a4de26e05b74e3ed5493cef205af91462678a1 (patch)
treea6d6f009b3792f838fb4d9a2ff24d3d866cbf201 /README
parent0a4b5d24845fb86bade3ab3c38a6202862d6caad (diff)
Making the list creation method.
Diffstat (limited to 'README')
-rw-r--r--README20
1 files changed, 16 insertions, 4 deletions
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.