Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: How to install lighttpd

  1. #1
    Join Date
    Feb 2008
    Location
    Greece
    Posts
    235

    Default How to install lighttpd

    Dose someone know how to install lighttpd? I found this interesting article about lighttpd.
    http://jan.kneschke.de/projects/flv-streaming

    If someone know how, it will be grate to share with others.

  2. #2
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: How to install lighttpd

    Yes. That's what I currently use for FLV streaming now. It's fairly simple to install. I would, however, suggest that you do not replace Apache with lighttpd for the current version of vShare as not all of the rewrite rules that you use in Apache work in lighttpd. For me, I run both Apache and lighttpd.

    In order to tell you how to install it, I need to know what OS your servers are running.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  3. #3

    Default Re: How to install lighttpd

    question.... What changes in vshare needs to be changed to take advance of this? my storage server is running lighttpd already and I have made the changes to the lighttpd.config file.

  4. #4
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: How to install lighttpd

    No changes really need to be made to vShare. Your player just needs to support it.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  5. #5

    Default Re: How to install lighttpd

    Okay, I'm using jw flv version 4.2.

  6. #6
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: How to install lighttpd

    Then all you need to add is the "streamer=lighttpd" flag to your flashvars in your player.inc.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  7. #7
    Join Date
    Dec 2008
    Posts
    156

    Default Re: How to install lighttpd

    Is the videodownload faster? I am running CentOS with Apache (Configpanel=Plesk).

  8. #8
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: How to install lighttpd

    No, the video download is no faster than what you get with Apache. The benefits to lighttpd is that you can stream your videos (pseudo streaming) allowing for a person to fast forward or rewind a video before the video has finished downloading.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  9. #9

    Default

    Quote Originally Posted by bplex View Post
    Then all you need to add is the "streamer=lighttpd" flag to your flashvars in your player.inc.
    Where am I supposed to add the streamer=lighttpd in the player.inc? Below is my code from my player.inc file...

    Code:
    <?php
    
    $displayheight = $config['player_height'] - 20;
    
    $vshare_player = <<<EOT
    
    <script type="text/javascript" src="{$config['baseurl']}/player/swfobject_1.5.js"></script>
    
    <p id="vshare_player">
        <a href="http://www.adobe.com/go/getflashplayer">
            <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
        </a>
    </p>
    
    <script type="text/javascript">
    var so = new SWFObject("{$config['baseurl']}/player/player.swf","vshare_player","$config[player_width]","$config[player_height]","8");
    so.addParam("allowfullscreen","true");
    so.addVariable("file","{$file}");
    so.addVariable("image","{$video_thumb_url}/thumb/{$video_folder}{$video_id}.jpg");
    so.addVariable("logo","{$config['baseurl']}/templates/images/watermark.gif");
    so.addVariable("link","{$config["watermark_url"]}");
    so.addVariable("linktarget","_blank");
    so.addVariable("width","{$config['player_width']}");
    so.addVariable("height","{$config['player_height']}");
    so.addVariable("displayheight","$displayheight");
    so.addVariable("overstretch", "true");
    so.addVariable("autostart", "{$config['player_autostart']}");
    so.addVariable("bufferlength", "{$config['player_bufferlength']}");
    so.write('vshare_player');
    </script>
    
    EOT;

  10. #10

    Default

    Ooopps... I just downloaded JW Player 5 today... So, any help getting lighttpd going would be great, or some other pseudo-streaming program.
    Thanks
    Tim

Page 1 of 2 12 LastLast

Similar Threads

  1. Is there a way to make apache and lighttpd work together
    By RAMMSTEIN in forum General Discussions
    Replies: 1
    Last Post: 05-14-2009, 09:22 AM
  2. lighttpd and hotlinking
    By pyrorain in forum Bug Reports
    Replies: 4
    Last Post: 04-14-2009, 11:30 PM
  3. Lighttpd problem
    By gergokee in forum General Discussions
    Replies: 8
    Last Post: 10-19-2008, 05:16 PM
  4. rewrite rules for Lighttpd
    By dealspiggy in forum Feature Requests
    Replies: 0
    Last Post: 10-13-2008, 03:37 PM
  5. Using lighttpd(lightty) instead of apache with vShare
    By brianatthebeach in forum General Discussions
    Replies: 12
    Last Post: 02-05-2008, 12:25 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •