[users@httpd] Apache Reverse Proxy & Caching configuration for HTTPS

2012-11-22 Thread Bhattacharya, Sudip
Hi Friends, I have the below Reverse Proxy setup. I am also doing caching for a few folders which serve static content. It is working fine for HTTP URLs. I have to now enable this proxy approach for HTTPS on both URLs. I will now have https://mysite.com and https://mysite.intranet.com. Is there

[users@httpd] Is there any way to encrypt/obfuscate apache conf files

2012-11-09 Thread Bhattacharya, Sudip
Hi All, Is there any way to obfuscate/encrypt conf files in Apache? I have put my configuration entries in a separate config file, and am including it in the main httpd.conf file. My requirement is to encrypt/obfuscate only my custom conf file. Regards, Sudip This e-mail (and any attachments

RE: [users@httpd] How to debug SetEnvIfNoCase command?

2012-10-29 Thread Bhattacharya, Sudip
for SetEnv and SetEnvIf. -Original Message- From: Eric Covener [mailto:cove...@gmail.com] Sent: Friday, October 26, 2012 9:58 PM To: users@httpd.apache.org Subject: Re: [users@httpd] How to debug SetEnvIfNoCase command? On Fri, Oct 26, 2012 at 12:10 PM, Bhattacharya, Sudip wrote

RE: [users@httpd] How to debug SetEnvIfNoCase command?

2012-10-26 Thread Bhattacharya, Sudip
Sorry, could not get your statement. Are you saying that SetEnvIf is executed before SetEnv even if the SetEnv statement is coming before SetEnvIf in the configuration? -Original Message- From: Eric Covener [mailto:cove...@gmail.com] Sent: Friday, October 26, 2012 9:19 PM To: users@httpd

[users@httpd] How to debug SetEnvIfNoCase command?

2012-10-26 Thread Bhattacharya, Sudip
Hi, I am facing issues with SetEnvIfNoCase command. Can you help me on how to debug it? I have set my log level to debug, but not seeing any evaluation details there. The problem I am facing is with the below set of commands. #enable gzip for all SetOutputFilter DEFLATE #assume that user is lo

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

2012-10-25 Thread Bhattacharya, Sudip
n Fri, Oct 19, 2012 at 09:14:35PM +0530, Bhattacharya, Sudip wrote: > I need to conditionally enable mod_deflate for clients who send a particular > custom HTTP Request Header. -- Openstrike - improving business through open source http://www.openstrike.co.uk/ or call 01722 770036 / 07092 02

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

2012-10-25 Thread Bhattacharya, Sudip
ri, Oct 19, 2012 at 4:44 PM, Bhattacharya, Sudip wrote: > Hi All, > > > > I have a problem for which I am not able to find a solution. > > > > I need to conditionally enable mod_deflate for clients who send a > particular custom HTTP Request Header. > > L

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

2012-10-25 Thread Bhattacharya, Sudip
@httpd.apache.org Subject: Re: [users@httpd] How to conditionally enable mod_deflate? On 19 Oct 2012, at 16:44, Bhattacharya, Sudip wrote: > Hi All, > > I have a problem for which I am not able to find a solution. > > I need to conditionally enable mod_deflate for clients who se

[users@httpd] How to conditionally enable mod_deflate?

2012-10-19 Thread Bhattacharya, Sudip
Hi All, I have a problem for which I am not able to find a solution. I need to conditionally enable mod_deflate for clients who send a particular custom HTTP Request Header. Let's say this HTTP Request Header is like this: IWANTGZIPDATA=true Now my condition should be like this: If IWANTGZIPDA

RE: [users@httpd] How to Enable/Disable mod_deflate compression basis custom request headers

2012-10-10 Thread Bhattacharya, Sudip
Any idea folks on this issue? From: Bhattacharya, Sudip [mailto:sudip.bhattacha...@genpact.com] Sent: Wednesday, October 10, 2012 1:45 AM To: users@httpd.apache.org Subject: [users@httpd] How to Enable/Disable mod_deflate compression basis custom request headers Hi friends, I have the

[users@httpd] How to Enable/Disable mod_deflate compression basis custom request headers

2012-10-09 Thread Bhattacharya, Sudip
Hi friends, I have the following setup. - Java application on WebLogic server sitting behind Apache Web Server in US. - 2nd Apache as Caching Proxy setup in Europe to do local caching for Europe users. This is proxying to the US apache server (not directly to weblogic). Now, I have some JSPs whi

RE: [users@httpd] How to strip out the query parameter for specific URLs using mod_rewrite?

2012-10-04 Thread Bhattacharya, Sudip
lto:b...@indietorrent.org] Sent: Thursday, October 04, 2012 11:27 PM To: users@httpd.apache.org Subject: Re: [users@httpd] How to strip out the query parameter for specific URLs using mod_rewrite? On 10/4/2012 12:01 PM, Bhattacharya, Sudip wrote: > Great. This one worked. > > However, it looks

RE: [users@httpd] How to strip out the query parameter for specific URLs using mod_rewrite?

2012-10-04 Thread Bhattacharya, Sudip
, Bhattacharya, Sudip wrote: > Hi Sridhar, > > This would apply to the whole virtual host. I need to enable it for specific > subfolders. Something like this should work: RewriteCond %{REQUEST_URI} =/folder/xmlfiles/static.xml RewriteCond %{QUERY_STRING} !="" #The ?

RE: [users@httpd] How to strip out the query parameter for specific URLs using mod_rewrite?

2012-10-04 Thread Bhattacharya, Sudip
the query parameter for specific URLs using mod_rewrite? On Thu, Oct 4, 2012 at 11:03 AM, Bhattacharya, Sudip wrote: > Hi, > > I am trying to configure caching for a website using apache proxy. > > Some of the URLs are using a random parameter in the URL to avoid caching. > &g

[users@httpd] How to strip out the query parameter for specific URLs using mod_rewrite?

2012-10-04 Thread Bhattacharya, Sudip
Hi, I am trying to configure caching for a website using apache proxy. Some of the URLs are using a random parameter in the URL to avoid caching. The URL would look like this: http://foo.com/folder/xmlfiles/static.xml?rand= 0.36176968908944995 The xml files are static files, but the application

RE: [users@httpd] Uploading files to Apache Server

2012-09-24 Thread Bhattacharya, Sudip
[mailto:p...@openstrike.co.uk] Sent: Monday, September 24, 2012 5:47 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Uploading files to Apache Server On Mon, Sep 24, 2012 at 05:22:11PM +0530, Bhattacharya, Sudip wrote: > Also note that the file uploads will be via a JAVA application (

[users@httpd] Uploading files to Apache Server

2012-09-24 Thread Bhattacharya, Sudip
Hi, I need a way to upload files to a remote Apache Web Server. Can you guide me on the best option? I want to avoid setting up a separate FTP server on the same box if possible. I have seen some options while browsing on the net: 1. WebDav - some sites say that it is an old protocol and perform

[users@httpd] httpd 2.2 ReverseProxy not working on 302 redirect location header

2012-09-18 Thread Bhattacharya, Sudip
Hi, I am using an apache setup as a reverse proxy to a backend server. ... ServerName foolocal.com ProxyPass / http://fooremote.com/ ProxyPassReverse / http://fooremote.com/ ... The above setup is working fine for most pages, except a few servlets which are using 302 Redirects. There is

RE: [users@httpd] Questions on Apache Caching

2012-09-12 Thread Bhattacharya, Sudip
2012 at 1:15 PM, Bhattacharya, Sudip wrote: > I am using mod_cache module to enable caching of certain subfolders in > VirtualHost section which is mapped to proxy requests to a remote server. > > Is there any way to log requests specific to cached files? I want to know: > 1. Which files

[users@httpd] Questions on Apache Caching

2012-09-12 Thread Bhattacharya, Sudip
I am using mod_cache module to enable caching of certain subfolders in VirtualHost section which is mapped to proxy requests to a remote server. Is there any way to log requests specific to cached files? I want to know: 1. Which files are actually getting cached 2. How many requests are actually

RE: [users@httpd] Map a subfolder in a virtualhost (with remote proxy) to a local folder

2012-09-11 Thread Bhattacharya, Sudip
a local folder On Tue, Sep 11, 2012 at 4:53 PM, Bhattacharya, Sudip wrote: > I have a VirtualHost entry like below, which routes all requests for > http://foo.bar.com URLs to a remote server http://fooremote.bar.com . > > > ServerName foo.bar.com >

[users@httpd] Map a subfolder in a virtualhost (with remote proxy) to a local folder

2012-09-11 Thread Bhattacharya, Sudip
I have a VirtualHost entry like below, which routes all requests for http://foo.bar.com URLs to a remote server http://fooremote.bar.com . ServerName foo.bar.com ProxyRequests Off ProxyPreserveHost Off Order deny,allow Allow from all ProxyPass / http:/

RE: [users@httpd] How to strip existing expires/max-age headers and add new

2012-09-11 Thread Bhattacharya, Sudip
headers and add new try adding below directives Header unset Cache-Control ExpiresByType image/jpeg "access plus 1 month" On Tue, Sep 11, 2012 at 8:10 PM, Bhattacharya, Sudip wrote: Hi, I am new to this group, and also new to Apache HTTPD. Need your expert inputs on the below problem

[users@httpd] How to strip existing expires/max-age headers and add new

2012-09-11 Thread Bhattacharya, Sudip
Hi, I am new to this group, and also new to Apache HTTPD. Need your expert inputs on the below problem that I am facing. We have HTTPD acting as a proxy server, which passes on the requests to a backend WebLogic application server and gets responses from that server. I want to overwrite the ca