This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # | |
| # This is the main Apache server configuration file. It contains the | |
| # configuration directives that give the server its instructions. | |
| # See <URL:http://httpd.apache.org/docs/2.2/> for detailed information. | |
| # In particular, see | |
| # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html> | |
| # for a discussion of each configuration directive. | |
| # | |
| # | |
| # Do NOT simply read the instructions in here without understanding | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package "httpd" | |
| service "httpd" do | |
| action :start | |
| end | |
| template "/var/www/html/index.html" do | |
| source "index.html.erb" | |
| owner "root" | |
| group "root" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | attribute "quickstart/name", | |
| :display_name => "Your name", | |
| :description => "Your name: Visible to the world!", | |
| :required => true, | |
| :recipes => [ "apache-quickstart::default" ] | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <HTML> | |
| <HEAD> | |
| </HEAD> | |
| <BODY> | |
| Hello <%= node[:quickstart][:name] %>! | |
| </BODY> | |
| </HTML> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | default[:quickstart][:name] = "Florian" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package "httpd" | |
| service "httpd" do | |
| action :start | |
| end | |
| template "/var/www/html/index.html" do | |
| source "index.html.erb" | |
| user root | |
| group root | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | SERVER=107.22.65.150 | |
| KEY=/home/user/ec2-keys-fdrescher/default-EC2-US.pem | |
| SOURCE=/home/user/workspace/quickstart | |
| DEST=/var/cache/rightscale/cookbooks/3466341cb692139718b2fdd998dbddf959a965db | |
| rsync -vrPtz -e "ssh -i $KEY -l root" $SOURCE $SERVER:$DEST && ssh -i $KEY root@$SERVER "rs_run_recipe -n \"apache-quickstart::default\";tailf /var/log/messages" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | [PHP] | |
| ;;;;;;;;;;;;;;;;;;; | |
| ; About php.ini ; | |
| ;;;;;;;;;;;;;;;;;;; | |
| ; PHP's initialization file, generally called php.ini, is responsible for | |
| ; configuring many of the aspects of PHP's behavior. | |
| ; PHP attempts to find and load this configuration from a number of locations. | |
| ; The following is a summary of its search order: | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <VirtualHost *:8000> | |
| DocumentRoot <%= @params[:docroot] %> | |
| <Directory <%= @params[:docroot] %>> | |
| AllowOverride All | |
| </Directory> | |
| <Directory /> | |
| Options FollowSymLinks | |
| AllowOverride None |