thanks for answer, but still doesn not working..

my configuration:

$HTTP["host"] =~ "(^|/.)mywebsite/.com$" {
server.document-root = "/home/mywebsite.com/public_html"
server.errorlog = "/var/log/lighttpd/error.log"
accesslog.filename = "/var/log/lighttpd/access.log"
magnet.attract-physical-path-to = ( server.document-root + "/rewrite.lua" )

what have i do? thats the same like your solution..

Very thanks.