Posted this over on their forum but not sure how active it is and this place is my new hot spot I have a tube script that at this point seems to be a major PITA to use. All the script really tells me is:
The script writer is suggesting I use an old version:
http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Lighttpd-Version2
I would prefer to use the one that works with FreeBSD ports so it updates with new releases/fixes.
My server is running FreeBSD 9.1
lighttpd-1.4.32_1
lighttpd-mod_h264_streaming-1.4.32_1
The server uses apache as it's main httpd. What I would like to do is configure lightptd to point to media.mydomain.com. This folder is at /home/username/domains/mydomain.com/public_html/media/. I know people are going to say it will double as apache will have it open to http://www.mydomain.com/media but the script is setup this way and I believe prevents it.
I want to point out not only am I new to lighttpd, but also FreeBSD. I'd post my config file, but at this point I'd rather just make a new smaller one with only the stuff I am using. Here are some of the main things I added:
I commented out the listening socket which might not of been right. It won't work on port 80 because apache is using it and if I set it to 81, how will lightpd know when someone goes to media.domain.com?
IPv4 listening socket
Again want to point out I am new to FreeBSD and lighttpd, so if you don't mind, if you could explain your answers a little, that would make things a little easier on me. Any help would be great!
Thanks again,
Brian
Code:
lighttpd running media.domain.com pointed at /home/user/domain.com/media/ + mod_h264_streaming
http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Lighttpd-Version2
I would prefer to use the one that works with FreeBSD ports so it updates with new releases/fixes.
My server is running FreeBSD 9.1
lighttpd-1.4.32_1
lighttpd-mod_h264_streaming-1.4.32_1
The server uses apache as it's main httpd. What I would like to do is configure lightptd to point to media.mydomain.com. This folder is at /home/username/domains/mydomain.com/public_html/media/. I know people are going to say it will double as apache will have it open to http://www.mydomain.com/media but the script is setup this way and I believe prevents it.
I want to point out not only am I new to lighttpd, but also FreeBSD. I'd post my config file, but at this point I'd rather just make a new smaller one with only the stuff I am using. Here are some of the main things I added:
Code:
server.modules = (
"mod_access",
"mod_h264_streaming",
"mod_flv_streaming", I think this is built into the newest version of lighttpd??? I know I don't have a port for it like H264
)
flv-streaming.extensions = ( ".flv" )
h264-streaming.extensions = ( ".mp4" )
$HTTP["host"] =~ "media.DOMAIN.com" {
server.document-root = "/home/USER/domains/DOMAIN.com/public_html/media/"
accesslog.filename = "/home/USER/domains/DOMAIN.com/logs/"
}
IPv4 listening socket
Code:
$SERVER["socket"] == "0.0.0.0:80" { }
Thanks again,
Brian