Installing Habari on Lighttpd
Just a small post about Habari installation over Lighttpd, since it is not really documented anywhere that I could find.
I will assume that you know how to run php scripts on your server, and start from there. So once you have unpacked Habari files in say /home/seld/domain.com/, all you need to do is add the following to your lighttpd.conf file :
$HTTP["host"] =~ "^(www\.)?domain\.com$" {
server.document-root = "/home/seld/domain.com"
url.rewrite-once = (
"^/(?!scripts/|3rdparty/|system/|doc/|user/(?:themes/|files/|plugins/|locales/|sites/))[^?]*(\?(.*))?" => "/index.php/$1"
)
}
Update: See also the Habari wiki on how to set that up, they have since then added docs on Lighttpd support
With this setup, your blog must lie in the top level directory ( http://domain.com/ ), should you want to install it in a subdirectory, you need to add it to the url rewrite, for example to install in http://domain.com/blog/ you would need to replace line 4 with:
"^/blog/(?!scripts/|3rdparty/|system/|doc/|user/(?:themes/|files/|plugins/|locales/|sites/))[^?]*(\?(.*))?" => "/blog/index.php/$1"
August 02, 2008 // Web
Post a comment:
Formatting: you may use [code php] [/code] (or other languages) for code blocks, links are automatically linked. <strong>, <em> and <blockquote> html tags are allowed without nesting, the rest will be escaped.


2011-01-07 05:28:42
Art
Hi Jordi, I am trying to set up Habari blog, here's excerpt of my config http://pastebin.com/raw.php?i=BjfEAZNg however none of the links, say /blog/ajax/check_pgsql_credentials (which is used during installation) work.Could you have a quick look at the config just to see if something is glaringly wrong with it?
Thanks!
2011-01-07 13:54:13
Seldaek
@Art: Looks alright to me but I haven't really been using Habari much in the past years, so you might want to check with them on irc.freenode.org #habari, or at least read their wiki (linked below the code block)
2012-01-18 20:31:49
fetabbriay
klirrtfme, <a href="http://www.dkdnzxvpbo.com">yikfbaiutv</a>2012-01-18 21:44:15
qjjndjusma
czhnatfme, http://www.zpskqhfvei.com zbdjbtwtms2012-01-25 01:02:41
pHLMEZJ7
oIsAYw http://www.RUWE5gOde94HqsfDYIh3uBfJfSMdiDSG.com2012-01-25 01:29:33
Bvxymqqj
Get a job <a href=" http://fyruygafomi.webs.com/apps/blog/ ">pay lolitas no nude</a> %( <a href=" http://eanutofodyg.webs.com/apps/blog/ ">hairy pussies teen porn</a> >:-DDD <a href=" http://ofiriroira.webs.com/apps/blog/ ">Met Preteen Art</a> zsnht2012-01-25 14:50:00
Alfbbufx
A financial advisor <a href=" http://BuyZolpidem.blog.cz/ ">Buy Zolpidem</a> :-DD
2012-01-25 17:09:11
Zizuxgbo
I'd like to cancel this standing order <a href=" http://AmbienCr.blog.cz/ ">Ambien Cr</a> gtz
2012-01-25 21:36:59
Rhqokoyq
We need someone with experience <a href=" http://XanaxNoPrescription.blog.cz/ ">Xanax No Prescription</a> 034225
2012-01-25 22:00:37
Gtubgfwf
A few months2012-01-25 22:43:45
Ekrsxjkt
What company are you calling from? <a href=" http://AdipexWithoutPrescription.blog.cz/ ">Adipex Without Prescription</a> %-(
2012-01-25 23:50:57
Bznawamw
An estate agents <a href=" http://CheapClonazepamy.blog.cz/ ">Cheap Clonazepam</a> 478063
2012-01-26 00:57:53
Puupcvpw
I study here <a href=" http://BuyClonazepamyt.blog.cz/ ">Buy Clonazepam</a> sjkafy
2012-01-26 02:04:53
Klyrwaic
Hello good day <a href=" http://BuyTopamax.blog.cz/ ">Buy Topamax</a> =)
2012-01-26 02:04:59
Klyrwaic
Hello good day <a href=" http://BuyTopamax.blog.cz/ ">Buy Topamax</a> =)
2012-01-26 04:18:57
Nhdkkxbj
Very Good Site <a href=" http://LorazepamNoPrescriptioniky.blog.cz/ ">Lorazepam No Prescription</a> >:)
2012-01-26 05:25:29
Iotdvbpd
Your account's overdrawn <a href=" http://BuyAmbien.blog.cz/ ">Buy Ambien</a> 822
2012-01-26 14:25:42
Xacnpsgq
What's the interest rate on this account? <a href=" http://PhentermineForums.blog.cz/ ">Phentermine Forums</a> >:PP
2012-01-26 16:47:01
Sesnazty
On another call <a href=" http://BuyRivotrilek.blog.cz/ ">Buy Rivotril</a> 618
2012-01-26 17:55:58
Nruhyyhr
Whereabouts are you from? <a href=" http://BuyLunesta.blog.cz/ ">Buy Lunesta</a> >:DDD
2012-01-28 03:44:20
Stvtzsqx
Could you tell me the number for ? <a href=" http://BuyStilnox.blog.cz/ ">Buy Stilnox</a> 8PP
2012-01-28 04:54:30
Zefkryax
Free medical insurance <a href=" http://BuyTemazepam.blog.cz/ ">Buy Temazepam</a> bmvtvh
2012-01-28 10:57:39
Ueyonelo
I'd like to change some money <a href=" http://SleepingPills.blog.cz/ ">Sleeping Pills</a> >:D
2012-01-28 13:24:54
Nnecvxls
Would you like a receipt? <a href=" http://BuyCymbalta.blog.cz/ ">Buy Cymbalta</a> imx
2012-01-28 14:39:55
Dxzozvlt
Please wait <a href=" http://Lunesta.blog.cz/ ">Lunesta</a> =]]]
2012-01-28 15:55:14
Uoyrmwwv
Languages <a href=" http://ZolpidemWithoutPrescription.blog.cz/ ">Zolpidem Without Prescription</a> 4786
2012-01-28 17:10:12
Myfdocpl
I'm doing a phd in chemistry <a href=" http://ClonazepamOnlineyri.blog.cz/ ">Clonazepam Online</a> :DD
2012-01-28 19:36:36
Xpxmzrnn
I sing in a choir <a href=" http://CheapAmbien.blog.cz/ ">Cheap Ambien</a> 533104
2012-01-28 20:46:25
Tbqkqqiv
No, I'm not particularly sporty <a href=" http://BuyStrattera.blog.cz/ ">Buy Strattera</a> =-PPP
2012-01-29 01:21:33
Mzpqrlfv
I'm not interested in football <a href=" http://UltramNoPrescriptiondu.blog.cz/ ">Ultram No Prescription</a> cxna
[1] - 2 Next Last page