Recent Articles:

1-Mar-2009- Cheyenne 0.9.19 released [0019] 9 Cmts
5-Jun-2008- The indian has moved to a new tipi! [0018] 3 Cmts
19-Feb-2008- Binaries for v0.9.18 [0017] 10 Cmts
19-Feb-2008- Cheyenne v0.9.18 released [0016]
21-Dec-2007- HOW-TO make Cheyenne work with PHP for non-Windows OS [0015] 1 Cmt
Contents- Index of all articles

1-Mar-2009 - Cheyenne 0.9.19 released [0019]

Finally the new version is out! It took a lot of time to finish and polish this one before public release. A lot of issue and bugs have been fixed in this release.

Download here the source package.

ChangeLog (main points only, see all details in %changelog.txt in the source archive)

  • General
    • Now compatible with REBOL 2.7.6
    • Port numbers can now be specified for virtual host definition in config file.
    • PHP support greatly improved, it's now stable
    • New 'alias config keyword : alias "/path/target" %script
    • New 'disable-log config keyword to disable HTTP log per domain or webapp
    • READ-CGI standard mezzanine now fully supported in CGI
    • It's now possible to reset all worker processes without restarting the server
    • New -w command line option to set the worker processes number
  • RSP
    • Sandboxing now forced on webapps.
    • DO redefined to bind to webapp's context
    • Production mode now by default (no error logging on screen)
    • Webapps can now be called without the trailing slash in URL
    • RSP output is now compressed using deflate algorithm if client supports it
    • Debugging improved : several new functions now allow logging into a trace file
    • New 'error-page keyword to define a custom error page in webapps
    • New 'worker-libs config keyword for defining default library to load for RSP/CGI
    • RSP API documentation updated

A big thank to Will and Oldes for providing patches included in this release.

The Roadmap has also been updated. Still a lot of work until v1.0, having a web-based admin panel and enough documentation are the main missing points. I hope to reach this milestone before the end of the year.

5-Jun-2008 - The indian has moved to a new tipi! [0018]

The migration is now almost completed. Cheyenne's blog is here, the bugtracker will be integrated soon too, a wiki (Mediawiki) will be added also to let the community help me write a good online documentation.

Finally, Cheyenne has its own web site! \o/

About next Cheyenne release (0.9.19), it's delayed for a few more days to give me some time to make the PHP FastCGI link more robust and able to resist to various automated online attacks without freezing as in current version.

Cheers!

19-Feb-2008 - Binaries for v0.9.18 [0017]

You can find the binaries for Cheyenne v0.9.18 here.

19-Feb-2008 - Cheyenne v0.9.18 released [0016]

Download here the source package.

  • FastCGI: enhanced implementation to support POSTed data larger than 64K.
  • 'do-events now wrapped in a loop. (improves uptime)
  • Fix for lower/uppercase log files issues.
  • Fix PHP-fastcgi idle connection timeout issue.
  • Client connection will now be closed after sending a 405 response. (avoids processing useless data)
  • Log files access errors are now trapped. (improves uptime)
  • Fix for premature event loop exiting (was introduced in previous release).
  • RSP: bug fixed in accessing ressources in /public sub-folders.
  • RSP: fix for databases connection URL loading from config file, now attempting to load from disk first, then if failed, from memory cache.
  • Fix for bad URLs like /path/file.ext/ crashing Cheyenne. (by fixing the buggy 'info? mezz)
  • UniServe: Added -q to slave processes command-line.
  • Enhanced 'on-status-code support, can now be declared at domain or webapp level.
  • Fix for a security issue on Windows: /..%5C.. URL forms are now catched preventing an attacker from getting files out of the www root directory.

21-Dec-2007 - HOW-TO make Cheyenne work with PHP for non-Windows OS [0015]

The purpose of the following patch is to make FastCGI in PHP work the same on all OSes.

1) If you have PHP v5.2.1 or higher with sources, you can skip 2) & 3) else :
2) Download latest PHP sources from http://www.php.net/downloads.php
3) Untar the archive anywhere you want
4) Go to PHP install folder
5) Patching PHP source :

Open a REBOL console, then :
;---- cut'n paste the following code in REBOL's console ----

patch-php: has [buffer pos][
	target: %sapi/cgi/fastcgi.c
	if none? attempt [buffer: read target][
		print "unable to find the file to patch!!"
		exit
	]
	either parse buffer [
		thru "int fcgi_accept_request("
		to "if (req->fd >= 0) {"
		pos: to end
	][
		insert pos "^/^-^-^-^-break;^/^-^-^-^-"
		write target buffer
		print "patch applied."
	][
		print "failed to locate the line to patch!!"
	]
]

patch-php
;---- end of code ----
6) Once the patch is applied :
	> ./configure --enable-fastcgi
	> make
	> sudo make install
7) Check if everything is ok :
	> php-cgi -h
	...
	you should see a -b option listed meaning you got proper
	FastCGI support.
	
	If it fails (occured on OSX), try with a full path instead :
	
	> /usr/local/bin/php-cgi -h
8) Edit Cheyenne's config file (httpd.cfg) to set the correct option in the PHP section. Non-Windows users have to also set the new 'delay option.
9) Test if all works well with : http://localhost/test.php
Powered by Cheyenne Web Server - © Softinnov