Posted by mikeytown2 on November 28, 2009 at 6:30am
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
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!
The Boise Drupal Guy!
Lighttpd rewrite urls
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.
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)
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
Check this out first
http://groups.drupal.org/node/22787
Thanks.Sure. I will check the
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.
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
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