<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Fly together Forever 比翼恒飞 &#187; eZ Publish</title>
	<atom:link href="http://www.liucougar.net/blog/archives/category/php/ez-publish/feed" rel="self" type="application/rss+xml" />
	<link>http://www.liucougar.net/blog</link>
	<description></description>
	<lastBuildDate>Fri, 19 Feb 2010 21:27:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9-rare</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>eZ publish with fastcgi (lighttpd)</title>
		<link>http://www.liucougar.net/blog/archives/69</link>
		<comments>http://www.liucougar.net/blog/archives/69#comments</comments>
		<pubDate>Tue, 26 Dec 2006 22:17:36 +0000</pubDate>
		<dc:creator>liucougar</dc:creator>
				<category><![CDATA[eZ Publish]]></category>

		<guid isPermaLink="false">http://www.liucougar.net/blog/archives/69</guid>
		<description><![CDATA[
Sometime ago I talked about
making eZ publish 3.x happy with fastcgi. The original approach is to patch eZ Publish so that it works with fastcgi correctly. However, Xavier Dutoit pointed out that, given some special treatment in lighttpd config files, no modification is required to eZ publish.
The trick is the following block:
url.rewrite-once = (
"^/.*\.(css&#124;html&#124;htm&#124;pdf&#124;js&#124;png&#124;gif&#124;jpe?g)$" => [...]]]></description>
			<content:encoded><![CDATA[
<p>Sometime ago I talked about
<a href="post:setup-ez-publish-with-lighttpd">making eZ publish 3.x happy with fastcgi</a>. The original approach is to patch eZ Publish so that it works with fastcgi correctly. However, Xavier Dutoit pointed out that, given some special treatment in lighttpd config files, no modification is required to eZ publish.</p>
<p>The trick is the following block:</p>
<pre>url.rewrite-once = (
"^/.*\.(css|html|htm|pdf|js|png|gif|jpe?g)$" => "$0",
"^/.*?(\?.*)?$" => "/index.php$1"
)</pre>
<p>For more about lighttpd and php4/php5 config instructions, please consult  
<a href="http://forum.lighttpd.net/topic/1189">this thread</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.liucougar.net/blog/archives/69/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FCKeditor 2.3 was released</title>
		<link>http://www.liucougar.net/blog/archives/33</link>
		<comments>http://www.liucougar.net/blog/archives/33#comments</comments>
		<pubDate>Wed, 21 Jun 2006 23:19:06 +0000</pubDate>
		<dc:creator>liucougar</dc:creator>
				<category><![CDATA[SJSD]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[eZ Publish]]></category>

		<guid isPermaLink="false">http://liucougar.scim-im.org/blog/archives/33</guid>
		<description><![CDATA[
I have been really busy lately, so I hadn&#8217;t noticed that   
FCKeditor 2.3 finaly was released a week ago until yesterday.
It seems it is now the time for a new release of SJSD which supports the latest FCKeditor: The svn trunk of SJSD supports 2.3 already, but no public release yet. I will [...]]]></description>
			<content:encoded><![CDATA[
<p>I have been really busy lately, so I hadn&#8217;t noticed that   
<a href="http://sourceforge.net/forum/forum.php?forum_id=580251">FCKeditor 2.3 finaly was released</a> a week ago until yesterday.</p>
<p>It seems it is now the time for a new release of SJSD which supports the latest FCKeditor: The svn trunk of SJSD supports 2.3 already, but no public release yet. I will try to make a release if I can find some time to sort it out.</p>
<p>In addition, a new patched EditMonkey would be nice as well, but as I haven&#8217;t ported the FCKeditor plugin for wordpress to FCKeditor 2.3 yet, it requires much more time, which I probably won&#8217;t do until some time later when I am not so occupied.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.liucougar.net/blog/archives/33/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Anonymous users can not access anything in eZ!</title>
		<link>http://www.liucougar.net/blog/archives/27</link>
		<comments>http://www.liucougar.net/blog/archives/27#comments</comments>
		<pubDate>Mon, 29 May 2006 19:00:58 +0000</pubDate>
		<dc:creator>liucougar</dc:creator>
				<category><![CDATA[eZ Publish]]></category>

		<guid isPermaLink="false">http://liucougar.scim-im.org/blog/archives/27</guid>
		<description><![CDATA[
After update the database in the local testing mirror of SCIM project website, anonymous users can not access any pages, even the frontpage. However, any registered users can access it as usual after login. I encountered the exact behavior when I upgraded the SCIM project website from eZ 3.5 to 3.8 by uploading the local [...]]]></description>
			<content:encoded><![CDATA[
<p>After update the database in the local testing mirror of SCIM project website, anonymous users can not access any pages, even the frontpage. However, any registered users can access it as usual after login. I encountered the exact behavior when I upgraded the SCIM project website from eZ 3.5 to 3.8 by uploading the local testing files to the server. I fixed it but I can not remember how!?? I am forced to re-investigate and fix it again in my local server. This time I write it down here in case I forget it once more</p><span id="more-27"></span>
<p>Go to admin interface -&gt; User accounts -&gt; Roles and policies, click into Role Anonymous. Everything seems fine, except this line:</p>
<table width="" cellspacing="0" cellpadding="" border="1" align="" class="list" summary="">
<tbody>
<tr class="bgdark">
<td>                     user             </td>
<td>                     login             </td>
<td>                                     SiteAccess()</td>
</tr>
</tbody>
</table>
<p>SiteAccess is empty! Uhm, after adding the default siteaccess home to it, anonymous users can access public areas normally.</p>
<p>The empty                                      SiteAccess is caused by the different default siteaccess name in the two installation: in the SCIM server, the default one is home, while in my locale copy it is eng.</p>
<p>I must say this is a bit counter-intuitive: as anonymous already has this rule:</p>
<table width="" cellspacing="0" cellpadding="" border="1" align="" class="list" summary="">
<tbody>
<tr class="bglight">
<td>                     content             </td>
<td>                     read             </td>
<td>                                     Section(                                     Standard                                     ,                     Media                                     ,                     Wiki                                     )</td>
</tr>
</tbody>
</table>
<p>It should have enough privilege to at least read the files in these sections. It turned out that granting of user/login is necessary for content/read!</p>
<p>Although, in this particular case, I want anonymous users to have the grant of user/login function, I don&#8217;t think content/read should depend on user/login!</p>
<p>Is this a bug? Is it worth to report to eZ?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.liucougar.net/blog/archives/27/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>eZ rewrite rules in apache</title>
		<link>http://www.liucougar.net/blog/archives/26</link>
		<comments>http://www.liucougar.net/blog/archives/26#comments</comments>
		<pubDate>Mon, 29 May 2006 06:24:16 +0000</pubDate>
		<dc:creator>liucougar</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[eZ Publish]]></category>

		<guid isPermaLink="false">http://liucougar.scim-im.org/blog/archives/26</guid>
		<description><![CDATA[
After fixing a SJSD svn trunk regression bug reported in the bug tracking system, I tried to make eZ installed in a subdir work with rewrite rules in apache 1.3 (not virtual host setup), as I already    
achieved it in lighttpd, it must be feasible in apache as well: the mod_rewrite can [...]]]></description>
			<content:encoded><![CDATA[
<p>After fixing a SJSD svn trunk regression bug reported in the bug tracking system, I tried to make eZ installed in a subdir work with rewrite rules in apache 1.3 (not virtual host setup), as I already    
<a href="post:ez-rewrite-rule-with-lighttpd">achieved it in lighttpd</a>, it must be feasible in apache as well: the mod_rewrite can achieve almost anything as long as you can come up with. (PHP-CGI is used in the apache)</p><span id="more-26"></span>
<p>This is the .htaccess (I have eZ installed in /ez38, so this .htaccess is under /ez38) required to have eZ work with apache rewrite properly in a subdir:</p>
<pre>RewriteEngine On
RewriteRule !\.(gif|jpe?g|png|css|js|html|xml|ico)|var(.+)storage.pdf(.+)\.pdf$ index.php

DirectoryIndex index.php</pre>
<p>In order for apache to read .htaccess in each dir, something like this has to be set in the httpd.conf file for apache:</p>
<pre>&lt;Directory /&gt;
    Options FollowSymLinks
    AllowOverride All
&lt;/Directory&gt;</pre>
<p>UPDATE (29/May/2006): *.ico should not be rewriten to index.php</p>
]]></content:encoded>
			<wfw:commentRss>http://www.liucougar.net/blog/archives/26/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>eZ rewrite rule with lighttpd</title>
		<link>http://www.liucougar.net/blog/archives/23</link>
		<comments>http://www.liucougar.net/blog/archives/23#comments</comments>
		<pubDate>Tue, 23 May 2006 23:22:04 +0000</pubDate>
		<dc:creator>liucougar</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[eZ Publish]]></category>

		<guid isPermaLink="false">http://liucougar.scim-im.org/blog/archives/23</guid>
		<description><![CDATA[Since setup of lighttpd in my test server, it seems working pretty fine. However, without the index.php specified in the url, it does not work. Lighttpd definitely supports rewrite rules, as I see an module named mod_rewrite in lighttpd config file.
After a bit of searching around and failure and trial, I finally got it working.
The [...]]]></description>
			<content:encoded><![CDATA[Since setup of lighttpd in my test server, it seems working pretty fine. However, without the index.php specified in the url, it does not work. Lighttpd definitely supports rewrite rules, as I see an module named mod_rewrite in lighttpd config file.
<p>After a bit of searching around and failure and trial, I finally got it working.</p><span id="more-23"></span>
<p>The key point is that rewrite rules in lighttpd does not work under $HTTP[&quot;url&quot;], so this is what I got working finally:</p>
<pre>url.rewrite-once = (
&quot;^/ez38/.*\.(css|html|htm|pdf|js|png|gif|jpe?g|ico)(\?.*)?&quot; =&gt; &quot;$0&quot;,
&quot;^/ez38/.*&quot; =&gt; &quot;/ez38/index.php&quot;
)</pre>
<p>Note: the ez publish is installed under /ez38/ of the document root, and you may want to change it. If you install ez under your root, just replace &quot;/ez38/&quot; with &quot;/&quot;.</p>
<p>if you want to use SJSD with lighttpd, then you should have something like this:</p>
<pre>url.rewrite-once = (
&quot;^/ez38/.*\.(css|html|htm|pdf|js|png|gif|jpe?g|ico|xml)(\?.*)?&quot; =&gt; &quot;$0&quot;,
&quot;^/ez38/.*&quot; =&gt; &quot;/ez38/index.php&quot;
)</pre>
<p>UPDATE (29/May/2006): *.ico should not be rewriten to index.php</p>
]]></content:encoded>
			<wfw:commentRss>http://www.liucougar.net/blog/archives/23/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>FCKeditor 2.3 support in SJSD</title>
		<link>http://www.liucougar.net/blog/archives/19</link>
		<comments>http://www.liucougar.net/blog/archives/19#comments</comments>
		<pubDate>Thu, 18 May 2006 02:24:52 +0000</pubDate>
		<dc:creator>liucougar</dc:creator>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[SJSD]]></category>
		<category><![CDATA[eZ Publish]]></category>

		<guid isPermaLink="false">http://liucougar.scim-im.org/blog/archives/19</guid>
		<description><![CDATA[
FCKeditor has released its beta version for upcoming 2.3 one day ago. It introduced       
several advanced features, most notably        
Extremely Fast Loading,       
FitWindow/AutoGrow plugin and       
improved context menu/toolbar, which seems [...]]]></description>
			<content:encoded><![CDATA[
<p>FCKeditor has released its beta version for upcoming 2.3 one day ago. It introduced       
<a href="http://www.fckeditor.net/whatsnew/default.html">several advanced features</a>, most notably        
<strong>Extremely Fast Loading</strong>,       
<strong>FitWindow/AutoGrow plugin</strong> and       
<strong>improved context menu/toolbar</strong>, which seems to me very promising, thus today I tried to port SJSD trunk to it.</p>
<p>As a result, the trunk of SJSD svn now only works with FCKeditor 2.3 beta or its svn, and a branch was created to host the old FCKeditor 2.2 version on which future SJSD 0.3.x releases will be based. SJSD trunk will be released as 0.4.0.   </p><span id="more-19"></span>
<p>If you want to stick with FCKeditor 2.2 and currently you are using SJSD svn, then you should issue this command under your checked out copy:   </p>
<pre>svn switch https://svn.sourceforge.net/svnroot/sjsd/sjsd/branches/fckeditor_2_2</pre>
<p>after this, svn up will not update your copy to trunk.</p>
<p>On the other hand if you want to adventure, you may want to give SJSD trunk and FCKeditor 2.3 beta (its SVN is       
<strong>highly recommanded</strong>) a try.</p>
<p>The porting did take some time, due to the new framework of toolbar and context menu, and some other API modification. However with the help of       
<a href="http://addons.mozilla.org/firefox/1843/">Firebug</a> and       
<a href="http://addons.mozilla.org/firefox/60/">Web Developer</a>, I can pin down the problem really quickly.   </p>
<p>The current status about the SJSD trunk is that it is working reasonably well (at least in Firefox) now with FCKeditor svn, except some known minor issues.</p>
<p>One of the issues I&#8217;d like to mention is       
<a href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1490610&amp;group_id=75348&amp;atid=543653">this reported bug</a>. If you use the default eZ admin css style sheets, you have to modify one line in       
<code>design/admin/stylesheets/site.css</code>:</p>
<pre>div.content-edit div.box-content {
   position: relative; 
}</pre>
<p>Remove the line begining with position or comment this line out. Otherwise the FitWindow new feature introduced in FCKeditor 2.3 will not function properly.</p>
<p>Another update about SJSD is that I finally decided to rewrite the XML input handler based on the new simplified xml input handler in eZ 3.8. However, as keeping in mind of EditMonkey, I will ensure that the DOM processor is extensible and as standalone as possible so that it can be incorporated in other project easily, such as future release of EditMonkey.   </p>
]]></content:encoded>
			<wfw:commentRss>http://www.liucougar.net/blog/archives/19/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade eZ publish 3.5 to 3.8</title>
		<link>http://www.liucougar.net/blog/archives/12</link>
		<comments>http://www.liucougar.net/blog/archives/12#comments</comments>
		<pubDate>Sat, 13 May 2006 20:45:07 +0000</pubDate>
		<dc:creator>liucougar</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[eZ Publish]]></category>

		<guid isPermaLink="false">http://liucougar.scim-im.org/blog/archives/12</guid>
		<description><![CDATA[
Yesterday, I      
upgraded the eZ publish setup in SCIM project website from 3.5 to latest stable version 3.8. For your references, here I will present the details about how to achieve this.
Before anything else, first make your eZ offline in case users want to access it. You can achieve this [...]]]></description>
			<content:encoded><![CDATA[
<p>Yesterday, I      
<a href="http://www.scim-im.org/news/other_news/upgrade_to_ez_publish_3_8">upgraded the eZ publish setup in SCIM project website</a> from 3.5 to latest stable version 3.8. For your references, here I will present the details about how to achieve this.</p>
<p>Before anything else, first make your eZ offline in case users want to access it. You can achieve this easily by just replace the eZ index.php with a file stating that &#8220;the site is undergoing an upgrade and will back online soon&#8221; or similar.</p><span id="more-12"></span>
<p>First, update the database. The sql update files I applied include:</p>
<pre>update/database/mysql/3.6/dbupdate-3.5.2-to-3.6.0.sql    
update/database/mysql/3.8/dbupdate-3.6.0-to-3.8.0.sql    
update/database/mysql/3.8/dbupdate-3.8.0-to-3.8.1.sql</pre>
<p>Second, run the provided update scripts under           
<code>update/common/scripts/</code>. I figured these are required for my particular needs:</p>
<pre>update/common/scripts/convertxmllinks.php    
update/common/scripts/updateattributefilter.php      
update/common/scripts/updatemultilingual.php    
update/common/scripts/updatesearchindex.php    
update/common/scripts/updatesession.php    
update/common/scripts/updatetoplevel.php    
update/common/scripts/updatetranslations.php    
update/common/scripts/updatexmltext.php    
update/common/scripts/updatecontentobjectname.php    
update/common/scripts/updatetranslations.php</pre>
<p>You may need to run other scripts if you use the online shop support in eZ. Some of these script may require siteaccess to be specified explicitly, please see the help (-h option, as usual) for details. If you have several siteaccess using one database, just run a script using one of the them is enough.</p>
<p>Then I went though/review the custom template files and updated them accordingly.</p>
<p>In eZ 3.5, I used to have a modified version of object.tpl which renders an object inline if its view attribute equals text_linked. As in eZ 3.8, a new tag embed-inline is introduced, I have to update all the xml attribute. Luckily, it is trivial to modify one of the update script to achieve this. Here is the patch:</p>
<pre>Index: update/common/scripts/updatexmltext.php
===================================================================
--- update/common/scripts/updatexmltext.php     (revision 16004)
+++ update/common/scripts/updatexmltext.php     (working copy)
@@ -198,8 +198,24 @@
                     $foundLinks = true;
                 }
             }
-        }
-        if ( findAndReplaceLinks( $doc, $child ) )
+        } else if ( $child->name() == 'embed' || $child->name() == 'object')
+        {
+            echo $child->toString()." Original\n";
+            $objectid = $child->attributeValue('id');
+            unset($mchild);
+            $mchild =&#038; $child;
+            $mchild->removeNamedAttribute( 'id' );
+            if($mchild->attributeValue('view') == 'text_linked')
+                $mchild->setName('embed-inline');
+            else
+                $mchild->setName('embed');
+
+            if(is_numeric($objectid))
+                $mchild->set_attribute('object_id',$objectid);
+            echo $mchild->toString()." Converted\n";
+            //$child->removeAttribute();
+       }
+        else if ( findAndReplaceLinks( $doc, $child ) )
             $foundLinks = true;
         unset( $child );
     }</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.liucougar.net/blog/archives/12/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>eZ Publish with Apache CGI</title>
		<link>http://www.liucougar.net/blog/archives/8</link>
		<comments>http://www.liucougar.net/blog/archives/8#comments</comments>
		<pubDate>Thu, 11 May 2006 23:43:33 +0000</pubDate>
		<dc:creator>liucougar</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[eZ Publish]]></category>

		<guid isPermaLink="false">http://liucougar.scim-im.org/blog/archives/8</guid>
		<description><![CDATA[After making a patch for eZ to work with lighttpd/fastcgi, I thought it should be also possible to make eZ publish work with Apache CGI mode (I am still using apache1.3.34).

&#160;
I have to re-emerge php with added cgi use flag to get cgi binary. The configuration necessary for apache to use PHP as CGI is [...]]]></description>
			<content:encoded><![CDATA[<p>After making a patch for eZ to work with lighttpd/fastcgi, I thought it should be also possible to make eZ publish work with Apache CGI mode (I am still using apache1.3.34).</p>
<span id="more-8"></span>
<p>&nbsp;</p>
<p>I have to re-emerge php with added cgi use flag to get cgi binary. The configuration necessary for apache to use PHP as CGI is stated in  <a href="http://www.gentoo.org/proj/en/php/php4-php5-configuration.xml">gentoo documentation</a>:</p>
<pre>&lt;IfDefine PHP4CGI&gt;
    ScriptAlias /php4-cgi /usr/lib/php4/bin/php-cgi
    Action php4-cgi /php4-cgi
    AddHandler php4-cgi .php4 .php3 .php .phtml
&lt;/IfDefine&gt;</pre>
<p> I save that as file  <code>/etc/apache/modules.d/71_cgi_php.conf</code> and I have to change one option in file  <code>/etc/conf.d/apache</code> from:  <code>APACHE_OPTS=&quot;-D PHP4&quot;</code> to  <code>APACHE_OPTS=&quot;-D PHP4CGI&quot;</code> </p>
<p>One option in php.ini is also required to be set: cgi.fix_pathinfo=1. Without this option enabled, you will receive an error message telling you that &quot; <code>'unexpected T_STRING' in the php binary</code>&quot; (it may appear in log instead/as well).</p>
<p>On the other hand, lighttpd does not require this option to be enabled.</p>]]></content:encoded>
			<wfw:commentRss>http://www.liucougar.net/blog/archives/8/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup eZ Publish with lighttpd</title>
		<link>http://www.liucougar.net/blog/archives/6</link>
		<comments>http://www.liucougar.net/blog/archives/6#comments</comments>
		<pubDate>Thu, 11 May 2006 22:44:42 +0000</pubDate>
		<dc:creator>liucougar</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[eZ Publish]]></category>

		<guid isPermaLink="false">http://liucougar.scim-im.org/blog/archives/6</guid>
		<description><![CDATA[
It is well known that eZ publish does not play well with CGI, thus it can not work properly with some minority web servers, such as 
lighttpd and 
nignx (and I managed to google out an English blog about 
how to configure nignx) which only support php in CGI mode. However after reading 
a thread [...]]]></description>
			<content:encoded><![CDATA[
<p>It is well known that eZ publish does not play well with CGI, thus it can not work properly with some minority web servers, such as 
<a href="http://www.lighttpd.net/">lighttpd</a> and 
<a href="http://sysoev.ru/en/">nignx</a> (and I managed to google out an English blog about 
<a href="http://blog.kovyrin.net/2006/04/17/typical-nginx-configurations/">how to configure nignx</a>) which only support php in CGI mode. However after reading 
<a href="http://ez.no/community/forum/suggestions/memcache#msg100238">a thread</a> in 
<a href="http://ez.no/community/forum">eZ forum</a>, I wanted to give it a shoot.</p>
<p>First, I have to decid which of the two minority web server I&#8217;d like to try. Although personally I prefer the cool name of nignx (pronounced as engine X), it does not support php directly: instead it depends on lighttpd to handle php request. It is obvious I have to go with lighttpd to run eZ.</p>
<p>After some painful googling about howto make lighttpd work with fastcgi/php etc, I finnally managed to work out a way to get through the mess, and make eZ Publish work with CGI as smoothly as in php apache mod.</p><span id="more-6"></span>
<h3>Install Lighttpd</h3>
<p>First, install lighttpd. As a 
<a href="http://www.gentoo.org">gentoo</a>er, this is pretty straightforward:</p>
<pre>emerge lighttpd</pre>
<p>Of course, in order to install the latest version available in portage, I use ~x86 keyword for the package&nbsp; www-servers/lighttpd (In fact, latest version for lighttpd is 1.4.11, while the newest one in portage is 1.4.10, but I think 1.4.10 is reasonable new and stick with it). And do remember to enable the php use.
<br />
</p>
<p>The configure for PHP is in /etc/lighttpd/mod_fastcgi.conf, and it should be ok out of the box, . However for those not in the hand of gentoo, you can find the config file in the 
<a href="content:/2006/05/mod_fastcgi.zip">attachment</a>.</p>
<p>In /etc/lighttpd/lighttpd.conf, the main config file for lighttpd, I enabed these modules: mod_rewrite, mod_redirect, mod_alias, mod_access and mod_accesslog.</p>
<p>That&#8217;s pretty all of configuration it requires, now we can stop apache (I use 1.3.34 now) and start our brand new lighttpd.</p>
<h3>Work with eZ publish
<br />
</h3>
<p>The setup of the eZ I test is not a virtual host one: it is a url based. I can access the homepage of it with lighttpd successfully, but all the urls are something like index.php?/siteaccess/bla/bla, which is not nice and it does not compatible with eZ working in none CGI mode.</p>
<p>I tried to access index.php/siteaccess/bla/bla directly (without a question mark after index.php), and it did not complain about no input file or similar, instead eZ loaded but eZ complained that ez38 is not a recongized module (the eZ is installed in /ez38 subdir).</p>
<p>After checking the phpinfo() output, I figured that even in CGI mode, it is possible to obtain the path info (the string appending after index.php) without using query string. In fact, just modifying one file in eZ core is enough to make it work with CGI: lib/ezutils/classes/ezsys.php.
<br />
</p>
<p>I will definitely release the patch after I tidy it up and make sure it can still work in none CGI mode.</p>
<p>Ah, in case you wonder, yes, it is possible to use 
<a href="http://eaccelerator.net/">eaccelerator</a> or similar with lighttpd/fastcgi/php. I am using it in my test server without any problems.
<br /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.liucougar.net/blog/archives/6/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>SJSD 0.3.1 is released</title>
		<link>http://www.liucougar.net/blog/archives/4</link>
		<comments>http://www.liucougar.net/blog/archives/4#comments</comments>
		<pubDate>Thu, 11 May 2006 21:29:31 +0000</pubDate>
		<dc:creator>liucougar</dc:creator>
				<category><![CDATA[SJSD]]></category>
		<category><![CDATA[eZ Publish]]></category>

		<guid isPermaLink="false">http://liucougar.scim-im.org/blog/archives/4</guid>
		<description><![CDATA[
As the first post in my blog, I am delighted to announce the availability of  
SJSD 0.3.1.
In case you do not know what SJSD is, here is a short description copied from its website in SF: SJSD provides a fully integrated, feature complete and extensible WYSIWYG open source online editor for eZ publish. It [...]]]></description>
			<content:encoded><![CDATA[
<p>As the first post in my blog, I am delighted to announce the availability of  
<a href="http://sf.net/projects/sjsd">SJSD</a> 0.3.1.</p>
<p>In case you do not know what SJSD is, here is a short description copied from its website in SF: SJSD provides a fully integrated, feature complete and extensible WYSIWYG open source online editor for eZ publish. It is implemented in the form of a FCKeditor plugin and an eZ publish extension and requires no modification to FCKeditor/eZ publish core.</p><span id="more-4"></span>
<p>This is mainly a bug fix release, changeLog since 0.3.0:</p>
<ul>
<li>Inline tag support in header tag</li>
<li>added support for embed-inline (fixed bug #1480810)</li>
<li>fixed issues to support other languages (such as CJK)</li>
<li>do not transfer unnecessary characters to xhtml entities</li>
<li>fixed the custom attribute dialog compatibility issue with IE</li>
<li>various other bug fixes 

 </li>
</ul>
<p>Grab it from  
<a href="http://sourceforge.net/project/showfiles.php?group_id=164632">Sourceforge</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.liucougar.net/blog/archives/4/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
