Re: [users@httpd] Proxy and mod_deflate (httpd 2.4.x)

2015-08-19 Thread Macks, Aaron
...@webthing.commailto:n...@webthing.com wrote: On Tue, 2015-08-18 at 15:31 +, Macks, Aaron wrote: [chop] What you have looks fine to me. Though you might have some stray directive in global scope that affects you. What happens if you crank up LogLevel and wade through the messages? mod_deflate will generate

[users@httpd] Proxy and mod_deflate (httpd 2.4.x)

2015-08-18 Thread Macks, Aaron
I’ve seen a LOT of posts on the poric of “hot to get mod_deflate to compress proxied content, but none of the numerous suggestions seems to help. My config is pretty simple, we want to compress everything in /resources, which all lives in an S3 bucket. In the config above this are some local

Re: [users@httpd] Help with rewrite rules

2015-08-05 Thread Macks, Aaron
Actually i think that will create a rewrite loop, since it’ll match “InService’ and replace it with InService I’d add this RewriteCond %{REQUEST_URI} !^/InService above the same RewriteRule On Aug 5, 2015, at 11:38 AM, , , us.shadow...@gmail.commailto:us.shadow...@gmail.com wrote: If this

[users@httpd] SetenvIf warnings in 2.4

2015-07-10 Thread Macks, Aaron
We’re migrating some configs from 2.2 to 2.4 and have run into an issue with using SetEnvIf values in proxies. Our config looks roughly like this: SetEnvIf Server_Addr 123.123.123.123 LEG=QA1 APPSERVER=appserver01 … then we proxy using that APPSERVER value: ProxyPassInterpolateEnv On

Re: [users@httpd] Setting up Apache Subversion

2013-08-02 Thread Macks, Aaron
Slash versus no slash. You're redirecting things that aren't /svn to /svn/ (note the trailing slash). I think if you remove the $ from the regex it should work A On Aug 2, 2013, at 4:28 PM, Scott Genevish sgenev...@mimedx.com wrote: I'm getting an error when I try to checkout a subversion

Re: [users@httpd] redirect based on internal or external IP

2013-07-01 Thread Macks, Aaron
The way I would handle this is adding a second rewritecond to each stanza, looking at REQUEST_URI to make sure that the target path is not there, eg RewriteCond %{REMOTE_ADDR} ^1.1.1.1 RewriteCond %{REQUEST_URI} !^/internal RewriteRule ^(.*)$ www.site.com/internalhttp://www.site.com/internal

Re: [users@httpd] Denying access to a folder while allowing the content inside it to be displayed on other pages?

2012-07-17 Thread Macks, Aaron
By Direct Access do you mean the index of the directory? A -- Aaron Macks Sr. Unix Systems Engineer Harvard Business Publishing 300 North Beacon St.| Watertown, MA 02472 (617) 783-7461| Fax: (617) 783-7467 www.harvardbusiness.org | Cell:(978) 317-3614 On Jul 17,

Re: [users@httpd] Apache taking (exactly) 30 seconds to serve static images

2012-07-16 Thread Macks, Aaron
Can you run either strace (or dtrace depending on platform) against the running process and see what it is doing during the request? A -- Aaron Macks Sr. Unix Systems Engineer Harvard Business Publishing 300 North Beacon St.| Watertown, MA 02472 (617) 783-7461| Fax:

Re: [users@httpd] Re: ab not working, saying bind: address family not supported by protocol family 47

2011-12-16 Thread Macks, Aaron
Try pointing ab to 127.0.0.1 instead of localhost. I remember somewhere that OSX changed to having the default address for localhost being ipv6, and if you've not built in support for that it may fail. It may not help, but if that was the cause it might A -- Aaron Macks Sr. Unix Systems

Re: [users@httpd] url rewrite

2011-06-01 Thread Macks, Aaron
The way I have accomplished this in the past is to have a different file with global redirects and include it in each virtualHost config. It means you need to have a line like 'include conf/global-rewrites.conf' in each vhost, but you don't need to duplicate the rewrite rules proper A --

Re: [users@httpd] Need advice to choose a configuration

2011-05-22 Thread Macks, Aaron
the only reasons I'd possibly suggest #2 are: 1. multiple SSL certs, it is still not easy to have multiple SSL certs on a single system, you either need to setup multiple IP addresses for that box or run on multiple virtualservers 2. If you expect the business to get HUGE for some of the

Re: [users@httpd] Need advice to choose a configuration

2011-05-22 Thread Macks, Aaron
02472 (617) 783-7461| Fax: (617) 783-7467 www.harvardbusiness.org | Cell:(978) 317-3614 On May 22, 2011, at 5:58 PM, Jeroen Geilman wrote: On 05/22/2011 09:42 PM, Macks, Aaron wrote: the only reasons I'd possibly suggest #2 are: 1. multiple SSL certs, it is still not easy

Re: [users@httpd] Full Request URI in access_log

2011-04-05 Thread Macks, Aaron
I've seen urls with in the middle coming from some BBS systems as referrers. it seems some of the software condenses the url in the display, but sets the link target to the full one. I think then users quote that post and the target gets confused into the http://foo...html url. Maybe

[users@httpd] Conditional Proxying for 1-to-1 mapping

2011-04-04 Thread Macks, Aaron
[Background] My goal is to have forward and reverse proxies from a series of web servers to a series of app servers, so that each web is mapped to a single app server, all using the same config file web01-app01 web01-app02 etc. My initial idea was to use proxy-via-rewrite, but that won't cover