Sha256: 9dc87e994e4ff97586c55d7afceaa2b92f8d5fca37fbf5872626ecb7bb28d944

Contents?: true

Size: 942 Bytes

Versions: 1

Compression:

Stored size: 942 Bytes

Contents

<VirtualHost *:8080>
ServerName <%= site.name.punycode %>
<% site.aliases.each do |site_alias| %>
ServerAlias <%= site_alias.punycode %>
<% end %>
  DocumentRoot <%= site.web.path.join(site.document_root) %>/
  CustomLog /web/<%= container.name %>/logs/<%= site.name %>_access_apache.log vhost_log_format
  ErrorLog /web/<%= container.name %>/logs/<%= site.name %>_error_apache.log

  <IfModule mod_fastcgi.c>
    AddType application/x-httpd-fastphp5 .php
    Action application/x-httpd-fastphp5 /php5-fcgi
    Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
    FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -socket <%= site.web.path %>.sock -pass-header Authorization
    <Directory /usr/lib/cgi-bin>
      Require all granted
    </Directory>
  </IfModule>

  <Directory "<%= site.web.path.join(site.document_root) %>/">
    Options FollowSymLinks
    Order allow,deny
    Allow from all
    AllowOverride All
  </Directory>
</VirtualHost>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
superhosting-0.0.2 bootstrap/etc/sx/muxs/php/site/config_templates/apache_vhost.erb