SHARE
TWEET

salah

a guest Nov 16th, 2008 253 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [main]
  2. # file : /etc/youtube_cache.conf
  3. #
  4. # Base directory for caching the videos. All other directory paths should
  5. # be relative to base_dir.
  6. base_dir = /var/spool/squid/video_cache/
  7.  
  8. # Directory to store partially downloaded videos. Directory name is relative to base_dir.
  9. # e.g. if you specify temp_dir = tmp, actual path for storing partially downloaded
  10. # videos would be /var/spool/squid/video_cache/tmp/ .
  11. temp_dir = tmp
  12.  
  13. # The maximum number of parallel downloads allowed. If all connections are consumed,
  14. # videos will be queued for download.
  15. max_parallel_downloads = 30
  16.  
  17. # Proxy for http content.
  18. # Example : http_proxy = http://<Proxy_Server_IP_OR_Domain>:<Proxy_port>/
  19. # or http://proxy.example.com:3128/
  20.  proxy = http://192.186.10.1:3128/
  21.  
  22. # If the above proxy requires authentication, please specify the username.
  23. proxy_username =
  24.  
  25. # If the above proxy requires authentication, please specify the password.
  26. proxy_password =
  27.  
  28. # The hostname or IP address of the system on which caching is being done. This is
  29. # used for serving the videos from the cache. Please don't use http:// or slashes (/).
  30. # Just specify the domain name or IP address.
  31. # Example : localhost.localdomain
  32. # or proxy.example.com
  33. # or 192.168.36.204
  34. # or <Proxy_Server_IP_OR_Domain>
  35.  cache_host = 192.186.10.1
  36.  
  37. # XMLRPCServer is used for memory sharing across different instances of
  38. # youtube_cache. Leave these settings as it is if you don't have a fair
  39. # idea of XMLRPCServer. This will be same as cache_host in almost all the cases.
  40. rpc_host = 127.0.0.1
  41.  
  42. # Please make sure this port is not currently in use. If it is in use by some
  43. # other program, change this to some port above 1024 which is not in use by
  44. # any other program.
  45. rpc_port = 9100
  46.  
  47. # File where youtube cache log will be stored.
  48. logfile = /var/log/squid/youtube_cache.log
  49.  
  50. # Maximum size of logfile specified above. The size is in mega bytes.
  51. # Note : Please don't use max_logfile_size = 10MB. Don't append MB.
  52. max_logfile_size = 10
  53.  
  54. # The logfiles are automatically rotated once they have exceeded the max_logfile_size.
  55. # max_logfile_backups is the number of backup files you want to keep.
  56. # e.g. max_logfile_backups = 2 will keep youtube_cache.log and youtube_cache.log.1 and
  57. # youtube_cache.log.2 as logfiles.
  58. max_logfile_backups = 10
  59.  
  60. # This option enables the caching of youtube videos.
  61. # This option's value can be either 0 or 1.
  62. enable_youtube_cache = 1
  63.  
  64. # Directory to cache youtube videos. Directory name is relative to base_dir.
  65. # e.g. if you specify youtube_cache_dir = youtube, actual path for caching
  66. # youtube videos would be /var/spool/squid/video_cache/youtube/ .
  67. youtube_cache_dir = youtube
  68.  
  69. # Maximum total size of youtube caching directory. 0 for unlimited.
  70. # This size is in Mega Bytes.
  71. # e.g. youtube_cache_size = 200 will limit your cache size to 200MB.
  72. # NOTE : Don't use cache_size = 200MB. Don't append MB.
  73. youtube_cache_size = 0
  74.  
  75. # Youtube videos with size more than max_youtube_video_size will not be cached. This
  76. # size is in kilo bytes. Use 0 for unlimited caching.
  77. # e.g. max_youtube_video_size = 10000. Only videos with size less than 10MB (10000KB)
  78. # will be cached.
  79. # NOTE : Don't use max_youtube_video_size = 10000KB. Don't append KB.
  80. max_youtube_video_size = 0
  81.  
  82. # Youtube videos with size less than min_youtube_video_size will not be cached. This
  83. # size is in kilo bytes. Use 0 for no lower limit.
  84. # e.g. min_youtube_video_size = 10. Only videos with size more than 10KB will be cached.
  85. # NOTE : Don't use min_youtube_video_size = 10KB. Don't append KB.
  86. min_youtube_video_size = 0
  87.  
  88. # See description for enable_youtube_cache.
  89. enable_metacafe_cache = 1
  90.  
  91. # See description for youtube_cache_dir.
  92. metacafe_cache_dir = metacafe
  93.  
  94. # See description for youtube_cache_size.
  95. metacafe_cache_size = 0
  96.  
  97. # See description for max_youtube_video_size.
  98. max_metacafe_video_size = 0
  99.  
  100. # See description for min_youtube_video_size.
  101. min_metacafe_video_size = 0
  102.  
  103. # See description for enable_youtube_cache.
  104. enable_dailymotion_cache = 1
  105.  
  106. # See description for youtube_cache_dir.
  107. dailymotion_cache_dir = dailymotion
  108.  
  109. # See description for youtube_cache_size.
  110. dailymotion_cache_size = 0
  111.  
  112. # See description for max_youtube_video_size.
  113. max_dailymotion_video_size = 0
  114.  
  115. # See description for min_youtube_video_size.
  116. min_dailymotion_video_size = 0
  117.  
  118. # See description for enable_youtube_cache.
  119. enable_google_cache = 1
  120.  
  121. # See description for youtube_cache_dir.
  122. google_cache_dir = google
  123.  
  124. # See description for youtube_cache_size.
  125. google_cache_size = 0
  126.  
  127. # See description for max_youtube_video_size.
  128. max_google_video_size = 0
  129.  
  130. # See description for min_youtube_video_size.
  131. min_google_video_size = 0
  132.  
  133. # See description for enable_youtube_cache.
  134. enable_redtube_cache = 1
  135.  
  136. # See description for youtube_cache_dir.
  137. redtube_cache_dir = redtube
  138.  
  139. # See description for youtube_cache_size.
  140. redtube_cache_size = 0
  141.  
  142. # See description for max_youtube_video_size.
  143. max_redtube_video_size = 0
  144.  
  145. # See description for min_youtube_video_size.
  146. min_redtube_video_size = 0
  147.  
  148. # See description for enable_youtube_cache.
  149. enable_xtube_cache = 1
  150.  
  151. # See description for youtube_cache_dir.
  152. xtube_cache_dir = xtube
  153.  
  154. # See description for youtube_cache_size.
  155. xtube_cache_size = 0
  156.  
  157. # See description for max_youtube_video_size.
  158. max_xtube_video_size = 0
  159.  
  160. # See description for min_youtube_video_size.
  161. min_xtube_video_size = 0
  162.  
  163. # See description for enable_youtube_cache.
  164. enable_vimeo_cache = 1
  165.  
  166. # See description for youtube_cache_dir.
  167. vimeo_cache_dir = vimeo
  168.  
  169. # See description for youtube_cache_size.
  170. vimeo_cache_size = 0
  171.  
  172. # See description for max_youtube_video_size.
  173. max_vimeo_video_size = 0
  174.  
  175. # See description for min_youtube_video_size.
  176. min_vimeo_video_size = 0
  177.  
  178. # See description for enable_youtube_cache.
  179. enable_wrzuta_cache = 1
  180.  
  181. # See description for youtube_cache_dir.
  182. wrzuta_cache_dir = wrzuta
  183.  
  184. # See description for youtube_cache_size.
  185. wrzuta_cache_size = 0
  186.  
  187. # See description for max_youtube_video_size.
  188. max_wrzuta_video_size = 0
  189.  
  190. # See description for min_youtube_video_size.
  191. min_wrzuta_video_size = 0
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top