I don't have to use that script of mine any more. However, I hit the wall straight on when I was trying to port the same functionality in lighttpd, and the only thing I found wasRewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d< RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
Only half of the solution, and it somehow stopped working for me after working or 2 weeks, and saysurl.rewrite-[repeat-]if-not-file
gerrr.....WARNING: unknown config-key: url.rewrite-if-not-file (ignored)
That did it ;-) I was determined to find the right solution to finish this for good, and here is what I have found:
Using mod_magnet and a small lua script. For detail, see the following urls.
http://www.akelos.org/wiki/setting-up-akelos-on-lighttpd-in-a-mac
http://redmine.lighttpd.net/projects/lighttpd/wiki/AbsoLUAtion
Oh, if you happen to be on ubuntu, you would probably also need to do this
sudo apt-get install lighttpd-mod-magnet
No comments:
Post a Comment