codeblue_vendor.rb

Path: config/codeblue_vendor.rb
Last Update: Thu Apr 03 09:56:00 -0500 2008

MP3info

Required files

codeblue_mp3   codeblue_apache  

Included Modules

CodeblueMP3 CodeblueApache

Constants

APACHE_VIRTUAL_HOSTS = RAILS_ROOT + '/setup/httpd.vhosts.conf'   Absolute path to the virtual hosts configuration file.
APACHE_VIRTUAL_HOST = " # project_id: {d:1} # project_host_id: {d:2} <VirtualHost {d:3}> ServerAlias *.{d:3} CustomLog {d:4} {d:5} {d:6} </VirtualHost>"   Apache configuration templates. d:3 will be populated with a host name, d:4 will be populated with the path to the custom log for this host. d:5 will be populated with Alias directives, d:6 will be populated with ProxyPass directives.
APACHE_PROXY_PASS = " ProxyPass / http://{d:1}:3000/ ProxyPassReverse / http://{d:1}:3000/ ProxyPreserveHost on"   d:1 will be populated with a host name.
APACHE_ALIAS = " {d:1} ProxyPass {d:2} ! Alias {d:2} {d:3}"   d:1 will be populated with the database id of the project_page row, d:2 will be populated with the Alias, d:3 will be populated with the local directory target for this Alias,

[Validate]