Lighttpd & Boost: Report that new rules work with boost now!

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
mikeytown2's picture

Support for html, xml, json, js, css; no gzip ATM.

Testing would be appreciated
http://drupal.org/node/150909#comment-2314310

Tips/code on how to add in support for .gz files would be very helpful!

Comments

For those who are interested

Garrett Albright's picture

For those who are interested but aren't following that issue, go check it out! We've made some pretty good progress - Gzip is definitely supported now, and I've folded in standard Drupal rewriting rules as well. Boost on Lighty is a reality!

Lighttpd rewrite urls

karthick62's picture

Hi,

I am trying to write a clean url of my site. This is the structure of the site

www.example.com
www.example.com/site1
www.example.come/site2
;
;
; www.example.com/siten

site1 ... siten are installed as subdirectories. I tried the following clean url for subdirectory and the main site.

  1. For subdirectory (www.example.com/site1) => "^/([^/])/(?!(misc|themes|modules|files|test|system|sites|.xml|.html|.css|.js))([^?])\??(.*)$" => "/$1/index.php?q=$3&$4" (Tested OK for subdir)

  2. For Main site (www.example.com) => "^/([^.?]*(.xml|.html)?)(\?(.+))?$" => "/index.php?q=$1&$4" (Tested Ok for main site)

I have been facing problems if I use both(main site and subdirectory) clean url rewrite rules under same url.rewrite in lighttpd.conf

Issue 1:

The rewrite url for the subdirectory is working fine and I am able to access all the pages but no pages in the main site.

Issue2:

If I test the main site with the clean url () alone in the rewrite rule, the pages for the main site are getting properly.

Can anyone help in sorting out this issue?

I would need a rewrite url which should satisfy the clean url conditions of both mainsite and subdirectory.

updated rules

Thanks.Sure. I will check the

karthick62's picture

Thanks.Sure. I will check the link !! But i just want to know about the issue in the rewrite rules mentioned above. I have got the clean urls almost but the only thing is I just want to write the combined clean-urls for main site and subdir. Could you help me on that.

Lighttpd clean url rewrite rules wanted.

karthick62's picture

Thanks mikeytown,

I referred this url http://more.zites.net/lighttpd_and_drupal_clean_urls_flexible and implemented this for clean urls . It works fine. I got one more thing to be completed. As of now we have two kind of setups in subdirs. First,we have subdirectory in /documentroot/subdirectories . For this setup http://more.zites.net/lighttpd_and_drupal_clean_urls_flexible this works fine. Second we have the another set of subdir in /documentroot/edu/subdirectories. I need the configuration for this set up in drupal-lua-script. and also I want to rewrite the url to www.example.com/edu/sitename to www.example.com/sitename ? Could you help me on this ?

never used lighttpd

mikeytown2's picture

can't help you here; I've never used lighttpd; just read enough documentation to get it working with boost, and letting the people who actually use it polish up the rules.
Start here & good luck
http://redmine.lighttpd.net/projects/lighttpd/wiki

also ask on IRC. link below works if you have chatzilla
irc://freenode/lighttpd

High performance

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week