Re: [us...@httpd] Apache 2.2 downloading file instead of displaying

2010-04-23 Thread Igor Cicimov
It looks like the Content-Disposition header is set to attachment for your .php and .html files and I don't know why. You can try putting following in your apache config file: FilesMatch \.html$ ForceType text/html /FilesMatch and see if it works. Igor On Fri, Apr 23, 2010 at 1:50 PM,

Re: [us...@httpd] Redirect all requests /BUT/ a given directory/URIs

2010-04-23 Thread Igor Cicimov
You can try this for the first part of the question: RewriteEngine On RewriteCond %{REQUEST_URI} !^/some/directory/path/(.*)$ RewriteRule .* some/other/path/%1 [R,L] I would also suggest you read through mod_rewrite page http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html Igor On Thu, Apr

Re: [us...@httpd] Reverse Proxy https to http

2010-04-23 Thread Krist van Besien
On Thu, Apr 22, 2010 at 4:31 PM, GB GB gbcy...@gmail.com wrote: basically this is what the client gets after the POST http://mydomain.com/lsw/clientele/ses/pagePersonnelle.jsp?Mouftah=VXV744A9SVZMU9P rather then getting

Re: [us...@httpd] Alias, Virtual Host and 500 Internal Server Error

2010-04-23 Thread Tom Evans
On Fri, Apr 23, 2010 at 1:02 AM, Wang, Mary Y mary.y.w...@boeing.com wrote: Jason, You are so right.  The problem was the DNS server didn't map to the correct hostname (it was pointing to another host that was running Apache 1.3.27). Now, I can relax a bit. Thanks Mary It's probably not

[us...@httpd] mod_cache mod_mem_cache configuration problem - cache not working

2010-04-23 Thread xgas
Hello, I have problem where memory cache not working but disk cache works. Am I missing something from configuration? mod_mem_cache is loaded. Relevant part of configuration is following #Memory cache CacheEnable mem /energia-theme CacheEnable disk /html CacheEnable mem / #Max cache

[us...@httpd] Re: mod_cache mod_mem_cache configuration problem - cache not working

2010-04-23 Thread Dan Poirier
On 2010-04-23 at 05:23, xgas x...@hot.ee wrote: Hello, I have problem where memory cache not working but disk cache works. Am I missing something from configuration? mod_mem_cache is loaded. Error log? And set LogLevel debug to get a better idea of what the cache is doing.

[us...@httpd] Apahce 1.3 and Tomcat 5.5

2010-04-23 Thread Petr Hracek
Hello *, I would like to ask you if your ever tested following configuration: I have installed on the one system apache 1.3.41 and tomcat 3.2.1. Is it possible to upgrade only tomcat from 3.2.1 to the latest 5.5 together with apache 1.3.41? Connection between apache and tomcat is made over AJP12

[us...@httpd] Locating a web app with .htaccess

2010-04-23 Thread fgorm
We are using Apache 2.2.3 on RHEL. We have a number of web applications which occasionally get moved from directory to directory on the server. Everything is relocatable except the apps need to know the directory in which they live in order to find template files, etc.. How can we

[us...@httpd] Re: mod_cache mod_mem_cache configurationproblem - cache not working

2010-04-23 Thread xgas
Hi, It seems that apache with prefork has different mem cache space for each fork. At least this is my asumption, because multipel time of refresh shows that sometimee the cache was hitted sometimes not. Raino On 2010-04-23 at 05:23, xgas x...@hot.ee wrote: Hello, I have problem where

[us...@httpd] Re: ProxyPreserveHost On

2010-04-23 Thread Mauri
Someone can help me? cheers, Mauri 2010/4/22 Mauri lai...@gmail.com Hi experts, this is my scenario: https://miosito.com -- mod_proxy -- http://10.19.72.100:8080/ (tomcat) httpd conf: NameVirtualHost mysite.com:443 VirtualHost mysite.com:443 ProxyPreserveHost On ProxyRequests off

Re: [us...@httpd] Apache module that enables ActiveX

2010-04-23 Thread Mauri
many thanks jonas for your suggest. This is a part of my conf. Is it correct? [...] KeepAlive On ProxyRequests off ProxyPass / http://10.173.90.171/ ProxyHTMLURLMap http://10.173.90.171 / Location / ProxyPassReverse http://10.173.90.171/ ProxyHTMLEnable On ProxyHTMLURLMap

Re: [us...@httpd] Re: ProxyPreserveHost On

2010-04-23 Thread GB GB
I had the exact same problem Instead of putting those lines in httpd.conf, try putting them in ssl.conf I am running version 2.0.54, and ssl.conf directives worked for me. regards, On Fri, Apr 23, 2010 at 9:51 AM, Mauri lai...@gmail.com wrote: Someone can help me? cheers, Mauri

Re: [us...@httpd] Re: ProxyPreserveHost On

2010-04-23 Thread Mauri
it's in ssl.conf, just # cat /etc/httpd/conf.d/ssl.conf [...] ProxyPreserveHost On ProxyRequests off ProxyPass / http://10.19.72.100:8080/ ProxyHTMLURLMap http://10.19.72.100:8080 / Location / ProxyPassReverse http://10.19.72.100:8080/ ProxyHTMLEnable On ProxyHTMLURLMap /

[us...@httpd] Configuring Reverse proxy with Apache Http Server2.2

2010-04-23 Thread Tapan Maheshwari
I have installed Apache HttpServer (v2.2) on WindowsXP machine and trying to configure Reverse-Proxy within Apache HTTPServer, which will act as a proxy to an J2EE ApplicationServer(Weblogic) running on a SEPARATE Machine. The application is installed on J2EE Server (including images, html

[us...@httpd] KeepAlive settings for reverse proxy (was: Apache module that enables ActiveX)

2010-04-23 Thread Jonas Eckerman
On 2010-04-23 16:00, Mauri wrote: many thanks jonas for your suggest. This is a part of my conf. Is it correct? I'm not clear on exactly what you want, so I'm guessing that you wan't keepalive *on* both from browser to proxy and from proxy to server. I'm also suspecting that you might have

Re: [us...@httpd] Configuring Reverse proxy with Apache Http Server2.2

2010-04-23 Thread GB GB
My apache server is dated, but this is what I did in order to make it work in ssl.conf client--apache reverse proxy--backend http application server VirtualHost 10.6.3.103:443 ServerName mydomain.com ServerAlias mydomain ProxyBadHeader Ignore ProxyRequests Off #ProxyPreserveHost On

Re: [us...@httpd] KeepAlive settings for reverse proxy (was: Apache module that enables ActiveX)

2010-04-23 Thread Mauri
Jonas, many thanks for your efforts to help me. Honestly I did not understand what's the problem. The anomaly I noticed is that: Scenario A: client -- webserver application The ActiveX (TeeChart) works. Sessions between client and WAS 2 are always fixed (seeing the program TCPView on Windows)

Re: [us...@httpd] KeepAlive settings for reverse proxy

2010-04-23 Thread Jonas Eckerman
On 2010-04-23 18:30, Mauri wrote: Jonas, many thanks for your efforts to help me. Honestly I did not understand what's the problem. I think you need to read a tutorial or a book explaining how HTTP works. You seem to be confusing sessions with connections. The anomaly I noticed is that:

Re: [us...@httpd] Configuring Reverse proxy with Apache Http Server2.2

2010-04-23 Thread Nick Kew
On Fri, 23 Apr 2010 08:47:30 -0700 (PDT) Tapan Maheshwari tapan...@yahoo.com wrote: I could open the home page by typing http://localhost:8080/ , which opens up the home page from the j2ee application server, Not with the configuration you posted, which only proxies URLs under /myapp/. Once