Sha256: febf068453554d3928e22b85da76ae96c1eabd5d7096ae5485887cc36311ce48
Contents?: true
Size: 1.36 KB
Versions: 1
Compression:
Stored size: 1.36 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
compages-0.4.0 | installer/apache20.conf.example.template |