Yes! a little guide how to install php fast cgi or something similar would be
awesome!
/Viktor
> From: [EMAIL PROTECTED]> Subject: Cherokee Digest, Vol 4, Issue 3> To:
> [email protected]> Date: Mon, 6 Oct 2008 12:00:02 +0200> > Send
> Cherokee mailing list submissions to> [email protected]> > To
> subscribe or unsubscribe via the World Wide Web, visit>
> http://lists.octality.com/listinfo/cherokee> or, via email, send a message
> with subject or body 'help' to> [EMAIL PROTECTED]> > You can reach the person
> managing the list at> [EMAIL PROTECTED]> > When replying, please edit your
> Subject line so it is more specific> than "Re: Contents of Cherokee
> digest..."> > > Today's Topics:> > 1. Setting up PHP in Cherokee 0.9.1
> (Marcos)> 2. Elgg on Cherokee - rewrite help. ([EMAIL PROTECTED])> > >
> ----------------------------------------------------------------------> >
> Message: 1> Date: Sun, 5 Oct 2008 18:34:08 +0200> From: Marcos <[EMAIL
> PROTECTED]>> Subject: [Cherokee] Setting up PHP in Cherokee 0.9.1> To:
> [email protected]> Message-ID: <[EMAIL PROTECTED]>> Content-Type:
> text/plain; charset="us-ascii"> > Hi,> > I've just installed Cherokee and I'm
> now trying to setup PHP on it. I've found > the documentation part of the
> cookbook that explains how to set PHP, and it > seems that it should be
> configured by default. I think it is, because I see the > 'php' information
> source there.> > I have installed the php5-cgi package (running Debian
> stable), but no > /tmp/cherokee-php.sock file is created after restarting the
> server.> > If anyone can guide me through the process I'll really appreciate
> it :)> > Thanks in advance,> -- > Marcos> http://tenak.net> > > >
> ------------------------------> > Message: 2> Date: Fri, 3 Oct 2008 22:52:14
> -0700 (PDT)> From: [EMAIL PROTECTED]> Subject: [Cherokee] Elgg on Cherokee -
> rewrite help.> To: [email protected]> Message-ID:> <[EMAIL
> PROTECTED]>> Content-Type: text/plain; charset=ISO-8859-1> > I'm trying to
> get Elgg running on Cherokee, but I think I need some> help with the rewrite
> rules it wants to create.> > Here is its .htaccess file.> > # Elgg htaccess
> directives> # Copyright Curverider Ltd 2008> # License
> http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU> Public License
> version 2> # Link http://elgg.org/> > <IfModule !mod_rewrite.c>> # ugly ugly
> hack to detect missing mod_rewrite> # RedirectMatch must be to an absolute
> destination, so forces 500> error...> ErrorDocument 500 "Elgg error: Apache
> does not have mod_rewrite> loaded. Please check your Apache setup.">
> RedirectMatch 302 .* index.php> </IfModule>> > <Files "htaccess-dist">> order
> allow,deny> deny from all> </Files>> > # Don't listing directory> Options
> -Indexes> > # Follow symbolic links> Options +FollowSymLinks> > # Default
> handler> DirectoryIndex index.php> > # php 4, apache 1.x> <IfModule
> mod_php4.c>> ErrorDocument 500 "Elgg error: Elgg does not support PHP 4.">
> RedirectMatch 302 .* index.php> </IfModule>> > # php 4, apache 2> <IfModule
> sapi_apache2.c>> ErrorDocument 500 "Elgg error: Elgg does not support PHP
> 4."> RedirectMatch 302 .* index.php> </IfModule>> > # php 5, apache 1 and 2>
> <IfModule mod_php5.c>> # default memory limit to 64Mb> php_value memory_limit
> 64M> # to make sure register global is off> php_value register_globals 0> #
> max post size to 8Mb> php_value post_max_size 8388608> # upload size limit to
> 5Mb> php_value upload_max_filesize 5242880> # hide errors, enable only if
> debug enabled> php_value display_errors 0> </IfModule>> > <IfModule
> mod_rewrite.c>> > RewriteEngine on> > # If Elgg is in a subdirectory on your
> site, you might need to add a> RewriteBase line> # containing the path from
> your site root to elgg's root. e.g. If your> site is> # http://example.com/
> and Elgg is in http://example.com/sites/elgg/,> you might need> #>
> #RewriteBase /sites/elgg/> #> # here, only without the # in front.> #> # If
> you're not running Elgg in a subdirectory on your site, but still> getting
> lots> # of 404 errors beyond the front page, you could instead try:> #>
> #RewriteBase /> > RewriteRule ^cron\/$ engine/handlers/cron_handler.php> >
> RewriteRule ^action\/([A-Za-z\_\-\/]+)$ engine/handlers/>
> action_handler.php?action=$1> RewriteRule ^actions\/([A-Za-z\_\-\/]+)$
> engine/handlers/> action_handler.php?action=$1> > RewriteRule
> ^export\/([A-Za-z]+)\/([0-9]+)$ services/export/>
> handler.php?view=$1&guid=$2> RewriteRule ^export\/([A-Za-z]+)\/([0-9]+)\/$
> services/export/> handler.php?view=$1&guid=$2> RewriteRule
> ^export\/([A-Za-z]+)\/([0-9]+)\/([A-Za-z]+)\/([A-Za-z0-9\_]> +)\/$
> services/export/handler.php?view=$1&guid=$2&type=$3&idname=$4> > RewriteRule
> ^\_css\/css\.css$ _css/css.php> RewriteRule ^pg\/([A-Za-z\_\-]+)\/(.*)$
> engine/handlers/> pagehandler.php?handler=$1&page=$2> RewriteRule
> ^pg\/([A-Za-z\_\-]+)$ engine/handlers/pagehandler.php?> handler=$1> >
> RewriteRule xml-rpc.php engine/handlers/xml-rpc_handler.php> RewriteRule
> mt/mt-xmlrpc.cgi engine/handlers/xml-rpc_handler.php> > </IfModule>> > Any
> idea how to apply all those? I got the . file redirect working by> setting:>
> > Target Type Handler> Default Default Redirection> > Then Handler
> Redirection and adding:> Type Regular Expression Substitution> External ^(.*)
> index.php> > But for some reason the other rules seem not to work correctly
> for it.> > > ------------------------------> >
> _______________________________________________> Cherokee mailing list>
> [email protected]> http://lists.octality.com/listinfo/cherokee> > >
> End of Cherokee Digest, Vol 4, Issue 3> **************************************
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee