Allows you to search a variety of questions and answers
This is a fairly short how-to as I will assume that you know how to install lighttpd and get it running with a single mod_secdownload entry.
In order to run multiple entries, you will need to
1. Create a new, separate secdownload.conf file for the new site (can name it secdownload1.conf) and put it in the conf.d folder with the proper permissions. The contents of the new secdownload file should be as follows (if your site is sub.mysite.com):
Code:
$HTTP["host"] =~ "sub\.mysite\.com:81$"{ server.document-root = "/home/mysite/public_html" secdownload.timeout = 3600 secdownload.secret = "secret" secdownload.uri-prefix = "/videos/" secdownload.document-root = "/home/mysite/public_html/videos" }
Of course replace the secret, doc root and prefix with your details.
2. In the modules.conf file add the path to the new secdownload1.conf file we just created like so:
Code:
## ## mod_secdownload ## include "conf.d/secdownload.conf" include "conf.d/secdownload1.conf"
3. In the lighttpd.conf file, ensure to have the following:
Code:
## Load the modules. include "modules.conf"
You can replicate this as many times as you need for streaming.
Alternatively, you can simply add the following to your lighttpd.conf where you have the first HOST setup:
$HTTP["host"] =~ "newdomain\.com" {
server.document-root = "/home/newdomainusername/public_html/"
}
Then save and restart.
Change the newdomain to your actual domain and the document-root to where ever the files are.
Great response time and excellent service. I've been with AYK for nearly a year now and I couldn't be happier. If you're ready to make the step up from budget hosting to someone that can still work with you to spec out a server for your needs at an extremely competitive price, shoot these guys an email and see what they have available. You will not regret it. With datacenters located all ove r the globe they're certain to have something for you.. or they'll just build it
We're Happy with our 1 Gigabit Server AYK Solutions! AYK Solutions provides all our back-end server infrastructure for our video streaming sites which burn up about 200 GB of data every day. I have had nothing less then 1 MB/second downloads from all the servers that I have had from them. Their technical support saved me several times, and their tech support is 24/7 and responsive. I currently have a Quad Xeon on a 1 gigE port for WAY LESS then any other dedicated server provider
Hi guys, I am pretty satisfied with your service. Yes, I have experienced some downtime issues with my boxes, but you guys have always been right there for me, at my beck and call whenever I need you. Additionally, you guys are always more than fair when it comes to helping me configure my boxes with my DirectAdmin control panel. Overall, I am very pleased with the service, both in terms of the hardware I receive from you as well as the customer service. Prices seem to be quite fair too. Thanks, Ephi