Archive for March 25, 2009

Joomla in lighttpd

Posted: March 25, 2009 in archlinux, Debian, Joomla, Slackware

Aku tukar configurations dari nginx kepada lighttpd..

ini semua pasal fungkur.org problem dengan spawn-cgi..

mod_rewrite for joomla using lighttpd.

pico /etc/lighttpd/conf-enabled/10-rewrite.conf

——————————-cut here ——————————

url.rewrite-once = ( “^/joomla/component/option,(.*)/$” =>
“/joomla/index.php?option=$1”)

——————————-cut here ——————————

change joomla to your directory.

or if you using server.document-root :  /var/ww/joomla use this config

——————————-cut here ——————————

url.rewrite-once = ( “^/component/option,(.*)/$” =>

“/index.php?option=$1”)

——————————-cut here ——————————

if you compile lighttpd using source file

pico /etc/lighttpd/rewrite.conf

than copy the script and paste into rewrite.conf

pico /etc/lighttpd/lighttpd.conf

Remove comment-mark on
#    “mod_rewrite”,
Add line:
include “rewrite.conf”

And then restart lighttpd

try my best to serve you..

fungkur.org