summaryrefslogtreecommitdiff
path: root/Readme.md
blob: 0ea3c7f4dc18b28a6b8c210976bb552af8a2ec55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Apache site config example:

    <VirtualHost local.asdf.us>
      DocumentRoot "/home/developer/projects/video_embed"
      ServerName local.asdf.us
  
      <Directory "/home/developer/projects/video_embed">
          Options Indexes MultiViews FollowSymLinks
          AllowOverride All
          Order allow,deny
          Allow from all
          Options ExecCGI
          AddHandler cgi-script .cgi
      </Directory>

    </VirtualHost>


dependencies:

    apache mods:
        - cgi
        - cgid
        
    php:
         curl (sudo apt-get install php5-curl)
         
    application:
         youtube-dl (original) (sudo apt-get install youtube-dl)


bash settings:
  
  - When call youtube-dl from bash should be used original(!) youtube-dl
  

acceess: 

  - rwx-access for /cache dir

Install vendors:

  - git clone https://github.com/pepperpepperpepper/youtube-dl to /protected/vendor/