RE: [users@httpd] MIME types not delivering

2012-10-25 Thread Nguyen, Bao L
Hello, When our users hit the url https://domain.mycompany.com/app I would like to write a rewrite rule to check for the existence of a SSO cookie called MYSAPSSO2. Basically, if the MYSAPSSO2 cookie is not there then it should redirect users to a logon page. I added the below into httpd.conf

Re: [users@httpd] MIME types not delivering

2012-10-25 Thread J.Lance Wilkinson
J.Lance Wilkinson wrote: The file itself is being genrated not via a CGI but some Oracle process (this IS an Apache configured by Oracle after all), so he's trying to figure out now just what might be generated by that procedure, which DOES seem to generate a Content-Type header.

Re: [users@httpd] Intermittent 500 responses in access.log without corresponding entries in error.log

2012-10-25 Thread Ben Johnson
On 10/25/2012 7:20 AM, Tom Evans wrote: > On Mon, Oct 22, 2012 at 8:41 PM, Ben Johnson wrote: >> I suppose the next step is to further increase PHP_FCGI_MAX_REQUESTS and >> see if the frequency of these 500 responses decreases. > > Or set it to 1, and see if your conjecture is correct - every oth

RE: [users@httpd] How to conditionally enable mod_deflate?

2012-10-25 Thread Bhattacharya, Sudip
Hi Pete, I don't have experience on mod_negotiation. Can you please be kind enough to provide some sample syntax examples for the same to test for custom request headers? I could not find samples on the apache help page. __ Sudip Kumar Bhattacharya -Original Me

RE: [users@httpd] How to conditionally enable mod_deflate?

2012-10-25 Thread Bhattacharya, Sudip
Hi Tom, Here is how I have the setup currently on the original apache. GZIP is enabled, and turned off for specific file types. ##20121011 SKB to test optimization SetOutputFilter DEFLATE SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|swf)$ no-gzip dont-vary Se

RE: [users@httpd] How to conditionally enable mod_deflate?

2012-10-25 Thread Bhattacharya, Sudip
I need to show the benefits on a new proxy vs the old (AS-IS) system. The GZIP option, I want to work only when someone comes via the proxy. That way, the results can be compared side by side, by hitting the direct URL vs by hitting the proxy URL. Proxy is on WAN connection, and I want the data fl

Re: [users@httpd] MIME types not delivering

2012-10-25 Thread J.Lance Wilkinson
Eric Covener wrote: Sure looks like the DefaultType kicking in, which should not happen with an appropriate AddType. Well, the user checked, did find a DefaultType text/plain in his configuration. He REMOVED IT, and it still delivers these files with Content-Type: text

Re: [users@httpd] MIME types not delivering

2012-10-25 Thread Eric Covener
On Thu, Oct 25, 2012 at 11:14 AM, Eric Covener wrote: >>> It could be generated by the application server with C-T: text/plain, >>> which you can edit with Header edit Content-Type (but not >>> ForceType/AddType). >> >> >> Not following you here, Eric. > > AddType and ForceType essentially

Re: [users@httpd] MIME types not delivering

2012-10-25 Thread Eric Covener
>> It could be generated by the application server with C-T: text/plain, >> which you can edit with Header edit Content-Type (but not >> ForceType/AddType). > > > Not following you here, Eric. AddType and ForceType essentially only impact static files served by Apache -- not proxied stuff

Re: [users@httpd] MIME types not delivering

2012-10-25 Thread J.Lance Wilkinson
Eric Covener wrote: On Thu, Oct 25, 2012 at 9:33 AM, J.Lance Wilkinson wrote: A colleague is running "Oracle-Application-Server-11g/11.1.1.4.0 Oracle-HTTP-Server" which is basically Apache HTTPD v2.2.15, and he's having an issue when delivering content of certain MIME types, specifically to han

Re: [users@httpd] MIME types not delivering

2012-10-25 Thread Eric Covener
On Thu, Oct 25, 2012 at 9:33 AM, J.Lance Wilkinson wrote: > A colleague is running "Oracle-Application-Server-11g/11.1.1.4.0 > Oracle-HTTP-Server" which is basically Apache HTTPD v2.2.15, and he's having > an issue when delivering content of certain MIME types, specifically to > handle > MS-OFFICE

[users@httpd] MIME types not delivering

2012-10-25 Thread J.Lance Wilkinson
A colleague is running "Oracle-Application-Server-11g/11.1.1.4.0 Oracle-HTTP-Server" which is basically Apache HTTPD v2.2.15, and he's having an issue when delivering content of certain MIME types, specifically to handle MS-OFFICE content. He has a file, for example, with a .docx extension, whe

[users@httpd] Re: OpenSSL vs. Mozilla's NSS

2012-10-25 Thread Andrew Schulman
> On Wed, Oct 24, 2012 at 5:24 PM, Tom Browder wrote: > > Is it possible to use Apache with the NSS libraries instead of OpenSSL? > > Oops, I just found mod_nss. > > But I would appreciate any comments about the use of mod_ssl versus mod_nss. I've used both, and I now prefer mod_nss, because I

Re: [users@httpd] Intermittent 500 responses in access.log without corresponding entries in error.log

2012-10-25 Thread Tom Evans
On Mon, Oct 22, 2012 at 8:41 PM, Ben Johnson wrote: > I suppose the next step is to further increase PHP_FCGI_MAX_REQUESTS and > see if the frequency of these 500 responses decreases. Or set it to 1, and see if your conjecture is correct - every other request should be a 500. Cheers Tom --