search for: addoutputfilterbytype

Displaying 20 results from an estimated 27 matches for "addoutputfilterbytype".

2017 Sep 22
1
Apache Compression
I have a centos 7 install with apache running. How do I get apache to use gzip compression on html and text based content?
2006 Oct 03
4
Apache Re-Write and Directories
Howdy, I am using the ''default'' Apache 2.2 mod_rewrite rules suggested from the Web site and they are working. One thing related to static (non cluster directed) resources: If I have a directory in public called ''static'', if I request it as follows: http://www.domain.com/static/ - then it works If I request it as: http://www.domain.com/static - then it
2006 Oct 20
5
Apache/Mongrel Question
I''m setting up a new server in anticipation of switching from lighttpd+fcgi. My application isn''t completely imported yet, so I don''t expect it to work. For instance right now when pulling up my app from localhost I get my Ruby/Rails MySQL error message. But when I pull it up from a remote computer I get a proxy error from Apache: ====================== Proxy Error
2008 Jan 23
7
Apache, Mongrel, Authentication
...ule ^/$ /index.html [QSA] # Rewrite to check for Rails cached page RewriteRule ^([^.]+)$ $1.html [QSA] # Redirect all non-static requests to cluster RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ balancer://mongrel_cluster%{REQUEST_URI} [P,QSA,L] # Deflate AddOutputFilterByType DEFLATE text/html text/plain text/css # ... text/xml application/xml application/xhtml+xml text/javascript BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html <Proxy balancer://mongrel_cluster> Balan...
2008 Jul 16
2
anyone know anything about using mod_deflate gzipping with Rails?
Anyone know anything about using mod_deflate gzipping with Rails? I''ve got it enabled in our .htaccess but it doesn''t seem to handle gzip anything going through Rails. Any ideas? Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send
2007 Jan 25
6
NOT FOUND error
...$ /index.html [QSA] # Rewrite to check for Rails cached page RewriteRule ^([^.]+)$ $1.html [QSA] # Redirect all non-static requests to cluster RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ balancer://myapp_mongrel_cluster%{REQUEST_URI} [P,QSA,L] # Deflate AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4.0[678] no-gzip BrowserMatch bMSIE !no-gzip !gzip-only-text/html # Uncomment for deflate debugging #DeflateFilterNote In...
2008 Jun 16
3
Apache rewrites with mongrel
...ils.proxy_cluster.conf <Proxy balancer://mongrel_cluster> BalancerMember http://127.0.0.1:4712 BalancerMember http://127.0.0.1:4713 BalancerMember http://127.0.0.1:4714 </Proxy> that?s in my /etc/apache2/sites-enabled/000-rails RewriteEngine On # Deflate AddOutputFilterByType DEFLATE text/html text/plain text/css text/xml BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4.0[678] no-gzip BrowserMatch bMSIE !no-gzip !gzip-only-text/html ProxyPass /images ! ProxyPass /stylesheets ! ProxyPass /javascripts !...
2017 Mar 14
2
httpd/sites-available directory
...com ServerAlias webmail RewriteEngine On ReWriteCond %{HTTP_HOST} =webmail.bar.com [NC] RewriteCond %{SERVER_PORT} !=443 RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R] ExpiresDefault "access plus 10 years" AddOutputFilterByType DEFLATE text/html text/plain text/xml php_admin_flag session.cookie_secure "1" </VirtualHost> This rewrite is rewriting ALL connections to foo.bar.com. That first ReWriteCond is not working. Looking at this, the first thing I see 'wrong' with what I have done...
2007 Jan 02
2
problem with mongrel/apache2.2.3 and subdomain setup
...RewriteRule ^/$ /index.html [QSA] # Rewrite to check for Rails cached page RewriteRule ^([^.]+)$ $1.html [QSA] # Redirect all non-static requests to cluster RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ balancer://myapp%{REQUEST_URI} [P,QSA,L] # Deflate AddOutputFilterByType DEFLATE text/html text/plain text/xml BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html ErrorLog logs/myapp.domain.com-error_log CustomLog logs/myapp.domain.com-access_log combined </VirtualHost> ==...
2006 Dec 16
5
trying to add another app
...ule ^/$ /index.html [QSA] # Rewrite to check for Rails cached page RewriteRule ^([^.]+)$ $1.html [QSA] # Redirect all non-static requests to cluster RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ balancer://mongrel_cluster%{REQUEST_URI} [P,QSA,L] # Deflate AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html ProxyPass /images ! ProxyPass /stylesheets ! ProxyPass /ja...
2006 Jul 23
9
Kubuntu, Apache 2.2, Mongrel, Mongrel Cluster
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: new_notes Type: application/octet-stream Size: 5801 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060723/34e20e45/new_notes.obj
2007 Mar 29
0
Resolved problem with Apache Load Balancer Manager
...o check for Rails cached page RewriteRule ^([^.]+)$ $1.html [QSA] # Redirect all non-static requests to cluster RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !/balancer RewriteRule ^/(.*)$ balancer://mongrel_cluster%{REQUEST_URI} [P,QSA,L] # Deflate AddOutputFilterByType DEFLATE text/html text/plain text/css # ... text/xml application/xml application/xhtml+xml text/javascript BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html # Uncomment for deflate debugging #DeflateFilt...
2006 Dec 07
0
compression + max file size upload liimit?
...# Rewrite index to check for static RewriteRule ^/$ /index.html [QSA] # Send all requests that are not found as existing files to the cluster RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ balancer://example_cluster%{REQUEST_URI} [P,QSA,L] # Deflate AddOutputFilterByType DEFLATE text/html text/plain text/xml text/ css application/x-javascript # Error logs ErrorLog /path/to/example/log/apache_error_log CustomLog /path/to/example/log/apache_access_log combined </VirtualHost>
2007 Oct 03
5
403 (Forbidden) with Apache on Mongrel Cluster
Hi, I''ve configured a rails application on my VPS to run on two mongrels. When I run curl on localhost, the starting page comes up fine. That is, mongrel is serving the app perfectly. The problem arises when trying to access the app on my ip through apache. I get a 403 error. Just to test things out, I''ve set generous permissions on the entire rails directory structure
2007 May 21
0
Apache mod_proxy mongrel_cluster and subversion http
...ule ^/$ /index.html [QSA] # Rewrite to check for Rails cached page RewriteRule ^([^.]+)$ $1.html [QSA] # Redirect all non-static requests to cluster RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ balancer://mongrel_cluster%{REQUEST_URI} [P,QSA,L] # Deflate AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml$ BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html # Uncomment for deflate debugging #DeflateFilterNote Input input_info #Defla...
2017 Mar 14
0
httpd/sites-available directory
...mail > > RewriteEngine On > ReWriteCond %{HTTP_HOST} =webmail.bar.com [NC] > RewriteCond %{SERVER_PORT} !=443 > RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R] > ExpiresDefault "access plus 10 years" > AddOutputFilterByType DEFLATE text/html text/plain text/xml > php_admin_flag session.cookie_secure "1" > > </VirtualHost> > > > This rewrite is rewriting ALL connections to foo.bar.com. That first > ReWriteCond is not working. > > Looking at this, the first thing...
2007 Sep 08
8
SVN and Rails problem
....html [QSA] # Rewrite to check for Rails cached page RewriteRule ^([^.]+)$ $1.html [QSA] # Redirect all non-static requests to cluster RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ balancer://mongrel_cluster%{REQUEST_URI} [P,QSA,L] # Deflate AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html </VirtualHost> -- Posted via http://www.ruby-...
2006 Sep 07
8
what should be correct .conf file for being served by apache for static content
...to check for Rails cached page > RewriteRule ^([^.]+)$ $1.html [QSA] > > # Redirect all non-static requests to cluster > RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f > RewriteRule ^/(.*)$ balancer://mongrel_cluster%{REQUEST_URI} [P,QSA,L] > > # Deflate > AddOutputFilterByType DEFLATE text/html text/plain text/xml > application/xml application/xhtml+xml text/javascript text/css > BrowserMatch ^Mozilla/4 gzip-only-text/html > BrowserMatch ^Mozilla/4.0[678] no-gzip > BrowserMatch bMSIE !no-gzip !gzip-only-text/html > # Uncomment for deflate debugging...
2017 Mar 14
2
httpd/sites-available directory
I just received some advice from a colleague of a colleague over at openssl.org. But they use debian. Please look at this and help me out on how Centos7 handles this: Note the comment of the location of virtualhost config files. Centos7 does not have a "man a2ensite". thanks Rewriterules and https. Actually, looking at what you have doesn't really tell me why it gets applied
2006 Dec 07
17
compress and max upload size?
...# Rewrite index to check for static RewriteRule ^/$ /index.html [QSA] # Send all requests that are not found as existing files to the cluster RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ balancer://example_cluster%{REQUEST_URI} [P,QSA,L] # Deflate AddOutputFilterByType DEFLATE text/html text/plain text/xml text/ css application/x-javascript # Error logs ErrorLog /path/to/example/log/apache_error_log CustomLog /path/to/example/log/apache_access_log combined </VirtualHost>