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

2010-04-26 Thread Mauri
someone can help me? many thanks as usual. for recap this is my problem: When I digit https://mysite.com it becomes http://mysite.com because I think that the proxypass is http. It's wrong, I want that the URL will be https://mysite.com but I can use the ProxyPreserveHost (one backend

Re: [us...@httpd] Alias and HTTP 404 Not Found Error - But the file is THERE!

2010-04-26 Thread Karan Grover
Please check with your link existance which you are providing in the Alias. I made the same mistake some time back and got the same errors. Karan Grover On Mon, Apr 26, 2010 at 6:18 AM, Wang, Mary Y mary.y.w...@boeing.comwrote: Oops.. I made an error in my email. When the URL goes there

[us...@httpd] My own module, authorization and Proxy

2010-04-26 Thread Petr Hracek
Hello *, In my Apache2 (2.2.3) configuration file I have: VirtualHost _default_:443 SSLEngine on SSLProxyEngine on DocumentRoot /opt/apache/htdocs/ssldocs ProxyPass /PAC/ http://192.168.187.101:8080/PACCBAdmin ProxyPassReverse/PAC/ http://192.168.187.150:8080/PACCBAdmin/

[us...@httpd] mod_proxy_html.c failed to build on Solaris 10

2010-04-26 Thread Tapan Maheshwari
Hi.I tried to build  mod_proxy_html.c on solaris 10 with following command$ /usr/apache2/bin/apxs -c -I /usr/include/libxml2/ -i mod_proxy_html.c I got following error message: /var/apache2/build/libtool --silent --mode=compile /opt/SUNWspro/bin/cc -prefer-pic -O -xarch=386 -xchip=pentium

Re: [us...@httpd] mod_proxy_html.c failed to build on Solaris 10

2010-04-26 Thread Nick Kew
On 26 Apr 2010, at 11:58, Tapan Maheshwari wrote: Hi. I tried to build mod_proxy_html.c on solaris 10 with following command $ /usr/apache2/bin/apxs -c -I /usr/include/libxml2/ -i mod_proxy_html.c I got following error message: /var/apache2/build/libtool --silent --mode=compile

[us...@httpd] Internal server error simulation using mod_rewrite

2010-04-26 Thread alin vasile
Hi, Can i use the follwoing rule to simulate an internal server error? RewriteRule .* - [R=500,L] Thanks, Alin

[us...@httpd] Apache Rewrite and JkMount

2010-04-26 Thread Philip Hunt (Straker Software)
Hi, I have the following Rewrite config, to pass requests through Apache to Tomcat using AJP: RewriteEngine on RewriteRule ^/abc - [L,PT] RewriteRule (.*) /abc$1 [L,PT] JkMount /abc/* node1 This works, to the point that requests to http://sitename/ are rewritten to http://sitename/abc ... and

Re: [us...@httpd] Apache Rewrite and JkMount

2010-04-26 Thread Julien Cigar
Philip Hunt (Straker Software) wrote: Hi, Hello, I have the following Rewrite config, to pass requests through Apache to Tomcat using AJP: RewriteEngine on RewriteRule ^/abc - [L,PT] RewriteRule (.*) /abc$1 [L,PT] JkMount /abc/* node1 just curious, why not using mod_proxy_ajp ? This

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

2010-04-26 Thread Mauri
One more bit. Why I don't get a secure connection on the browser? I type https://mysite.com and get redirected to http://mysite.com In my scenario, for the backend application, I have to use in the ssl.conf the set ProxyPreserveHost On NameVirtualHost mysite.com:443 VirtualHost mysite.com:443

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

2010-04-26 Thread Tom Evans
On Mon, Apr 26, 2010 at 2:11 PM, Mauri lai...@gmail.com wrote: One more bit. Really? Sure it's not just the same things being repeated over and over again, without any testing or actual explanation of the problem? Why I don't get a secure connection on the browser? I type https://mysite.com

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

2010-04-26 Thread Mauri
Thanks tom for the reply. about your request. This is the first call... others log is in http://mysite.com/bla/bla/bla I want that only http header will be https://mysite.com/bla/bla/bla and not http://mysite.com/bla/bla/bla many thanks. Cheers, Mauri

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

2010-04-26 Thread Jonas Eckerman
It would be nice if you answer some preliminary questions before asking for clarification about my answer below: Have you read the documentation for the directives you are trying to use? Are there some specific parts of the documentation that are unclear or difficult? Now on to my answer...

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

2010-04-26 Thread Tom Evans
On Mon, Apr 26, 2010 at 3:15 PM, Mauri lai...@gmail.com wrote: Thanks tom for the reply. about your request. This is the first call... others log is in http://mysite.com/bla/bla/bla I want that only http header will be https://mysite.com/bla/bla/bla and not http://mysite.com/bla/bla/bla

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

2010-04-26 Thread Mauri
Many thanks to Jonas and Tom for the suggest and support. Now I've understood the problem. I have just used the ProxyPassReverse but in this scenario it was different. The location that proxy traps was http://mysite.com and not http://10.19.72.127:8080/. This behavior was caused by the use of

Re: [us...@httpd] Update on TCP reset issue (kinda fixed)

2010-04-26 Thread Jeff Trawick
On Wed, Apr 21, 2010 at 6:08 PM, Derek Chen-Becker dbec...@cpicorp.com wrote: Well, after a lot of digging and debugging, I found a hack that seems to fix my issue. If I modify the srclib/apr/support/unix/waitio.c file so that the line timeout    = f        ? f-timeout / 1000 : s-timeout /

Re: [us...@httpd] mod_disk_cache causing corrupted output on server side includes?

2010-04-26 Thread Jeff Trawick
On Wed, Apr 21, 2010 at 1:00 PM, Geoff Millikan gmilli...@t1shopper.com wrote: You can see the corrupted/binary garbled mess on the page at the link here: http://www.t1shopper.com/tools/calculate/index.shtml The scrambled mess is outputted right at the server side include like this:

[us...@httpd] Problem: .htaccess mod_rewrite RewriteRule line causes HTTP Error 500 messages instead of 404 ones

2010-04-26 Thread Vladislav Rastrusny
Hello. I have a server with VBulletin forum (working under Apache 2.2, CentOS). The default settings for it in .htaccess are as follows: RewriteEngine on RewriteCond %{HTTP_HOST} ^gsmforum\.ru RewriteRule (.*) http://www.gsmforum.ru/$1 [R=301,L] # If you are having problems or

[us...@httpd] Compiling httpd-2.0.63 on CentOS 64bit

2010-04-26 Thread Al Sparks
I'm trying to compile httpd-2.0.63 on a CentOS 5.4 64bit distro. I am getting the error: /usr/lib/libexpat.so: could not read symbols: File in wrong format collect2: ld returned 1 exit status I think that means that it should be looking for a 64 bit version of that .so file. As it

Re: [us...@httpd] Compiling httpd-2.0.63 on CentOS 64bit

2010-04-26 Thread Al Sparks
Never mind. --with-expat=builtin took care of it. === Al - Original Message From: Al Sparks data...@yahoo.com To: Apache Users users@httpd.apache.org Sent: Mon, April 26, 2010 3:16:56 PM Subject: [us...@httpd] Compiling httpd-2.0.63 on CentOS 64bit I'm trying to compile