diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 20 |
1 files changed, 16 insertions, 4 deletions
@@ -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. |