# domain: mydomain3.ws # public: /home/super/public_html/mydomain3.ws/current/public # Admin email, Server Name (domain name) and any aliases ServerAdmin webmaster@myotherdomain ServerName mydomain3.ws ServerAlias www.mydomain3.ws # SSL Certificate #SSLEngine on #SSLCertificateFile /etc/ssl/certs/mydomain3.ws.pem # Index file and Document Root (where the public files are located) #DirectoryIndex index.html DocumentRoot /home/super/public_html/mydomain3.ws/current/public # Custom log file locations LogLevel warn ErrorLog /home/super/public_html/mydomain3.ws/shared/log/error.log CustomLog /home/super/public_html/mydomain3.ws/shared/log/access.log combined # Custom error documents #ErrorDocument 404 /errors/404.html #ErrorDocument 403 /errors/403.html # Mongrel Cluster ... RewriteEngine On BalancerMember http://127.0.0.1:8004 #BalancerMember http://127.0.0.1:8005 # Redirect all non-static requests to Mongrel RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ balancer://mongrelcluster%{REQUEST_URI} [P,QSA,L] ProxyPass / balancer://mongrelcluster/ ProxyPassReverse / balancer://mongrelcluster/ ProxyPreserveHost on Order deny,allow Allow from all # ... Mongrel Cluster # Admin email, Server Name (domain name) and any aliases ServerAdmin webmaster@myotherdomain ServerName mydomain3.ws ServerAlias www.mydomain3.ws # SSL Certificate SSLEngine on SSLCertificateFile /etc/ssl/certs/mydomain3.ws.pem # Index file and Document Root (where the public files are located) #DirectoryIndex index.html DocumentRoot /home/super/public_html/mydomain3.ws/current/public # Custom log file locations LogLevel warn ErrorLog /home/super/public_html/mydomain3.ws/shared/log/error.log CustomLog /home/super/public_html/mydomain3.ws/shared/log/access.log combined # Custom error documents #ErrorDocument 404 /errors/404.html #ErrorDocument 403 /errors/403.html # Mongrel Cluster ... RewriteEngine On BalancerMember http://127.0.0.1:8004 #BalancerMember http://127.0.0.1:8005 # Redirect all non-static requests to Mongrel RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ balancer://mongrelcluster%{REQUEST_URI} [P,QSA,L] ProxyPass / balancer://mongrelcluster/ ProxyPassReverse / balancer://mongrelcluster/ ProxyPreserveHost on Order deny,allow Allow from all # ... Mongrel Cluster