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