For those of you not needing Apache and the whole kitchen sink, [insert reason here], Lighttpd is a very attractive contender. For me, it has a small memory footprint, which is highly appealing. However, getting SEO urls to work (i.e. utilizing rewrite), isn't too straightforward.
Tada! A little research yields two helpful links: one at lighttpd.net regarding how to use ModRewrite and another showing how to slightly modify the .htaccess file used by OpenSEF and Apache.
So...
1) Flush/clear any caches available
2) Make sure site is listed in OpenSEFs manager inside Joomla
3) Make sure SEO is Enabled insided the Joomla 'Site Configuration'
4) Change your host conditional statement so it matches this:
$HTTP[\"host\"] =~ \"(^|\\.)yourdomainname\\.com$\" {
server.document-root = \"/var/www/your/domainlocation/\"
url.rewrite-once = (
\"^images*\\.(jpg|jpeg|gif|png)\" => \"$0\",
\"^/administrator.*$\" => \"$0\",
\"^/mambots.*$\" => \"$0\",
\"(/|\\.htm|\\.php|\\.html|/[^.]*)$\" => \"/index.php\"
)
}
Clear your browser cache, and check it out. If it doesn't work, you can try to "Delete All" URLs inside OpenSEF, and then your site will rebuild as necessary. Another note, as you can maybe tell by the above ruleset: you can have rewrite ignore directories. Just include:
\"^/directory.*$\" => \"$0\",
nevermind. i think i got it up and running
calvin:
From the look of it the error would be in MySQL, not actually between lighttpd/joomla. But, I'm glad to hear you got it up and running!
Cheers!
This entry is from my tutorial section and was written on Oct. 14, 2006. There have been 3 comments so far.
@depping Tweeting while flying, that's almost ironic. (about 5 hours ago)
can you give me the steps to setup joomla and lighttpd please. after it told me to remove the installation dir, i get this:
Template File Not Found! Looking for template:
and when i refresh i get:
DB function failed with error number 1146
Table 'tildentobreakers.jos_session' doesn't exist SQL=SELECT session_id FROM jos_session WHERE session_id = 'd7c6aa863d35c9e34172bf012cee7508'
SQL =
SELECT session_id
FROM jos_session
WHERE session_id = 'd7c6aa863d35c9e34172bf012cee7508'
please help out. thanks