Sha256: 1935848f03bbd299db38f7323250b79295863aaeebdddb605ad3c5a70e5d120f

Contents?: true

Size: 1.32 KB

Versions: 35

Compression:

Stored size: 1.32 KB

Contents

# Apache 2.0/2.2 HTTP proxy example for Typo with Mongrel
#
# Before any of this will work, you need to make sure that the mod_proxy and 
# mod_proxy_http modules are loaded.  For shared hosting, your provider will 
# have do this globally.  The two lines required look like this, although the 
# exact path may vary:
#
#   LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so                   
#   LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so 
#
# Then you'll want a VirtualHost section that looks about like this:

<VirtualHost blog.example.com>
  ServerName blog.example.com
  ServerAlias www.blog.example.com

  # Change this to your email address
  ServerAdmin webmaster@localhost

  # Change these to be valid paths for your host.  The DocumentRoot path
  # isn't very important because we don't actually use it for anything.
  # For security's sake, it's best that it points to an empty directory,
  # but that's not critical.
  DocumentRoot /var/www/blog
  ErrorLog /var/log/apache2/blog_error.log
  CustomLog /var/log/apache2/blog_access.log combined

  ServerSignature On

  # This is the important part--it sets up proxying.
  ProxyRequests Off
  <Proxy *>
    Order deny,allow
    Allow from all
  </Proxy>

  ProxyPass / $RAILS_URL
  ProxyPassReverse / $RAILS_URL
  ProxyPreserveHost On
</VirtualHost>

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
typo-5.5 installer/apache20.conf.example.template
typo-5.4.4 installer/apache20.conf.example.template
typo-5.4.3 installer/apache20.conf.example.template
typo-5.4.2 installer/apache20.conf.example.template
typo-5.4.1 installer/apache20.conf.example.template
typo-5.4 installer/apache20.conf.example.template
rails-app-installer-0.1.1 lib/apache20.conf.example.template
rails-app-installer-0.1.3 lib/apache20.conf.example.template
rails-app-installer-0.1.0 lib/apache20.conf.example.template
rails-app-installer-0.1.2 lib/apache20.conf.example.template
rails-app-installer-0.1.4 lib/apache20.conf.example.template
rails-app-installer-0.2.0 examples/apache20.conf.example.template
rails-app-installer-0.1.5 lib/apache20.conf.example.template
typo-3.99.2 installer/apache20.conf.example.template
typo-3.99.3 installer/apache20.conf.example.template
typo-3.99.4 installer/apache20.conf.example.template
typo-4.0.1 installer/apache20.conf.example.template
typo-4.0.2 installer/apache20.conf.example.template
typo-4.0.0 installer/apache20.conf.example.template
typo-4.0.3 installer/apache20.conf.example.template