一个竟然存在了四年的博客
lighttpd rewrite for joomla sh404sef
I switch apache to lighttpd on my VPS with Kloxo, everything are running well except one Joomla based site. It mainly because the Joomla site has SH404SEF installed.
I find “How do i configure my lighttpd server” on FAQ of SH404SEF site, now everything of this Joomla site runs well.
Here is how to configure the Kloxo sever:
1, log in Kloxo panel, switch apache to lighttpd on “Switch Program”
2, go to enable FastCGI:
1) Domain home–Domain Features–set Number Of Fastcgi and enable FASTcgi.
very important: if you enable Xcache, please must set the number to 1, otherwise your RAM will be eaten by many zombie.
To check this, run “netstat -anpo|grep “php-cgi”|wc -l”, if the result is “0″, it means you should change your number of fastcgi process mumber.
2) Domain home–domain–Fcgi Configuration–enable
3, add this to etc/lighttpd/lighttpd.conf
server.error-handler-404 = “/index.php”
4) Configure Joomla
on Joomla administrator panel, Global Configuration–SEO Settings–enable “Use Apache mod_rewrite” and “Search Engine Friendly URLs”, and in SH404SEF Configuration, select “with .htaccess(mod_rewrite)”.
5) done.
If you enable Joomla cache, you may can not delete the cache files on “Clean Cache”. In this case, go to Kloxo File Manager, deleted all cache files.
| Print article | This entry was posted by admin on 08/12/2009 at 2:56 pm, and is filed under Website. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |


about 7 months ago
u r niubility