https://github.com/ostinelli/bisbino
An Erlang HTTP server with FastCGI as backend.
https://github.com/ostinelli/bisbino
Last synced: about 1 year ago
JSON representation
An Erlang HTTP server with FastCGI as backend.
- Host: GitHub
- URL: https://github.com/ostinelli/bisbino
- Owner: ostinelli
- License: other
- Created: 2010-11-26T17:40:01.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2010-11-26T22:54:41.000Z (over 15 years ago)
- Last Synced: 2025-03-30T08:24:47.645Z (about 1 year ago)
- Language: Erlang
- Homepage:
- Size: 122 KB
- Stars: 18
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
- License: LICENSE.txt
Awesome Lists containing this project
README
==========================================================================================================
BISBINO - An Erlang HTTP server with FastCGI as backend.
FOREWORD
==========================================================================================================
This is a first development release of a HTTP server serving pages with a FastCGI backend. Early stage,
documentation will soon follow.
Just to get you started:
1. Install a FastCGI backend, such as php-fpm . On a UBUNTU 10.04 LTS box, the only
thing you'll need to do is to issue the commands:
. add repository
sudo add-apt-repository ppa:brianmercer/php
. install php and dependencies
sudo apt-get install php5-cli php5-common php5-suhosin python-software-properties php5-fpm php5-cgi
. start php5-fpm
sudo service php5-fpm start
2. Configure your host: open the sites/default.vhost file and set the appropriate absolute path to your
files in the parameters:
{static_files_document_root, "** YOUR HTDOCS DIRECTORY HERE **"}.
{fastcgi_servers, [
{"localhost", [
*SNIP*
{document_root, "** YOUR HTDOCS DIRECTORY HERE **"},
*SNIP*
]}
]}.
3. Start bisbino. In an Erlang shell, type
1> application:start(bisbino).
4. Point your browser to: http://localhost:8080. You should see a phpinfo() page printed out.
CHANGELOG
==========================================================================================================
0.1-dev: - initial release.