Real this: http://redmine.lighttpd.net/projects/li … erformance and then decide what to do. If you are using lighttpd for traffic only, you probably dont need to change these settings.
This is a very great tutorial, thanks admin! But i allowed people embed my videos, the URL changing every 2 hours will cause the problem. How to modify the code to allow embed but also prevent hotlinking?
The embedding will never cause any problems, because the embed code uses a config file where the secure url is always re-generated.
Thanks for your replied. Regarding this:
"There are 2 scenarios, one is apache on port 80 for PHP and lighttpd on port 81 for streaming/leeching protection and lighttpd on port 80 for both php (fcgi) and streaming/leeching protection. In both cases the same things apply."
Which mean i can choose either one to configure?
Sorry in advance if my question is stupid but Can I change in secdownload.conf my secdownload.secret = "ASdG45asd" or can I add one more without crash anything ?
Can I also add second secdownload.document-root ?
You can change the secdownload secret, but make sure you also change it in Admin. You need to use a per vhost or per url based secdownload configuration, it wont work with second secdownload config options. See this: http://redmine.lighttpd.net/boards/2/topics/4395