please give me some advice on setting the apache in the case!

Discussion in 'Apache' started by sibad_sh, Apr 28, 2011.

  1. #1
    Requirements:
    To establish a online video website similar to YouTube.

    [​IMG]

    Server A:
    (1) Receives the requests from the clients;
    (2) Judge if the client is our customer;
    (3) If it's our customer, redirect the link to Server B with the customer's information;

    Server B: The server providing video files
    (1) Once receive the request, verify the information;
    (2) If it passed, provide the online play to the client.


    In this case, how to set the Apache parameters of the Server B ?
     
    sibad_sh, Apr 28, 2011 IP
  2. Intermg

    Intermg Active Member

    Messages:
    1,282
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    65
    #2
    I think this job is not for Apache. I would do this on script level instead.
     
    Intermg, Apr 29, 2011 IP
  3. sibad_sh

    sibad_sh Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Could you give me some advices?
     
    sibad_sh, Apr 30, 2011 IP
  4. Intermg

    Intermg Active Member

    Messages:
    1,282
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    65
    #4
    Why wouldn't you just set up a tube script? This would be the best solution.
     
    Intermg, Apr 30, 2011 IP
  5. Matix

    Matix Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I Think what you need is mod_proxy running as a reverse proxy and maybe lighttpd serving your videos, while checking the db information
     
    Matix, May 1, 2011 IP