Welcome
Are you a Lighty fan in an Apache world? It turns out the Lighttpd web server is a great platform for running Drupal too. This group is for discussion of using Drupal in conjunction with Lighty and vice versa.
Must Reads
- Why Lighty instead of Apache?
- Albright's Ultimate Lua script - Allows Clean URLs, "www." addition/removal, Boost support and more
- Protect your files directories
- multi site with lighttpd
Help with the files directory
Hi folks. I trying to configure the files directory in my Debian Server, but the images styles doesn't generate. Anyone know about this? there is a specific permission for this directory?
I hope anyone can help me.
Cheers.
Read moreI need clean urls in D7 with lighttpd 1.4
Hello,
I have a server Debian 6, PHP 5.4 and need deploy Drupal 7 but I can not set clean urls, the documentation I found on the internet is very old. and my question is if any of you have an example or documentation on what I need.
Thank you very much, sorry for my English is not good.
Read moreBasic rewrite issues - lighty newbie!
Hi all
I have an ASUS Transformer T700 running Android 4. I have installed an app called KSWEB which has MySql, php5 and lighttp.
I have downloaded d7 and it installs fine, and i have exported my site database from my laptop and imported to the 'droid ok.
When i go to the localhost via the pad browser, the home page is served but anything else fails with a 404 error. If i use the '?q=' in the url, then the sub page loads. I cannot get it to work with clean urls.
There is only 1 site, no virtual hosts or anything like that.
Any help in working out a rule would be great!
Read moreI gave up on Lighty.
Well, after years of waiting for version 1.5 to come out, I finally decided to give up recently when upgrading between sub-point-releases of 1.4 on my VPS caused my site to go down (again) and I couldn't quickly figure out why. Yep, even though I founded the Lighty GDO group, I'm running nothing but Nginx now, both on my VPS and locally. Here's a few quick thoughts on the switching experience.
Read moreLighttpd config for multisite Drupal
Here is my lighttpd config. It supports shortened URLs for the /files & /themes.
$SERVER["socket"] == ":80" {
###
# drupal specific stuff
###
# Deny access to backup_migrate module dumps
$HTTP["url"] =~ "^(/sites/(.*)/files/backup_migrate/)" {
url.access-deny = ("")
}
$HTTP["url"] =~ "/files/backup_migrate/" {
url.access-deny = ( "" )
}
###
# drupal vhosting
###
$HTTP["host"] =~ "(.*).example.com$" {
### default to drupal 7
server.document-root = "/local/www/drupal-7/"
Read more Multisite on Drupal 7
Hi,
I was wondering if any one could share how they've gotten D7 with clean urls and mutisite working in Lighttpd? Any success with out LUA? The most relevant documentation that I can find is here:
http://benclark.com/archive/201006/how-to-run-multisite-drupal-on-lighttpd
However it's still not working for me, I have custom .conf files for each domain, so I'm not sure if I should just edit the main domain .conf, or create separate .conf's for each multisite?
Thanks!
Read moreD7 Update
Looking at lighty for the first time but wanted to know if/how people are using it with D7. I have a few sites running D6 I'm not concerned about based on everything I've read -- but knowing I can use it for future sites on D7 is quite important ;)
Can anyone weigh in on this?
Read moreNeed lightttpd clean urls
Hi,
I have started using drupal on lighttpd for the few days.. My directory set up goes like this .
1./document-root/site
2./document-root/site/subsite1
3./document-root/site/subsite2
I am able to get the clean urls for the above sites using lua scripts. I have no problem on accessing the pages using both apache and lighttpd
But I got another site,like
4./document-root/site/subsite3/subsite3.1
When I click the pages on the subsite3 and subsite3.1 I am getting page not found errors when I use lighttpd. but it works fine with apache2. I need help on this.
Read moreClean URLs On The Same LIGHTTP Server That Also Serves Static Sites
My lighttpd server is serving both a Drupal based dynamic content website and a static content website. On the dynamic website Garret Albright's LUA script at: http://groups.drupal.org/node/22787 works like a charm.
But on the static website it seems to cause Lighttpd to ignore the configuration file directive:
server.indexfiles = ("index.php", "index.html", "index.htm", "default.htm")
Also tried:
index-file.names = ("/index.php", "/index.html", "/index.htm", "/default.htm")
Issue with multi-site & macports on Snow Leopard
Hi,
I'm having an issue that's really driving me nuts:
I'm on a Mac and moved from Leopard to Snow Leopard. I did a clean install of xcode and macports and installed all necessary ports. After some fiddling mysql (5.1.50), php (5.3.3) and lighttpd (1.4.26) are running fine. Drupal (6.17) runs fine also but I cannot get the multi-site feature to work again (it worked on Leopard). The relevant part (probably...) of the lighttpd.conf is:
Name all drupal hosts such that they have a '.dev' toplevel domain
$HTTP["host"] =~ ".dev" {
url.rewrite-final = (
# imagecache
- 1 of 2
- ››