RE: [us...@httpd] File does not exist: /appache/htdocs/webdynpro

2010-09-20 Thread Tushar Chavan

Hi Expert,

 

Changed last line to ProxyPassReverse /irj 
https://SAP_WEB_Dispatcher_Host:1443/irj still we have same issue.

 

Best Regards,

Tushar
 
 Date: Sun, 19 Sep 2010 16:07:12 +0200
 From: jo...@sanguis.xs4all.nl
 To: users@httpd.apache.org
 Subject: Re: [us...@httpd] File does not exist: /appache/htdocs/webdynpro
 
 On 09/19/2010 01:16 PM, Tushar Chavan wrote:
  Hi Expert,
 
  Below is our scenario.
 
  Browser Apache ---SAP Web dispatcher -SAP Portal.
 
  #TO preserve reverse proxy host
  ProxyPreserveHost On
 
  #proxy /irj both ways
  ProxyPass /irj https://SAP_WEB_Dispatcher_Host:1443/irj
  ProxyPassReverse /irj https://Apache_host:1443/irj
 
 Last line should be
 ProxyPassReverse /irj https://SAP_WEB_Dispatcher_Host:1443/irj
 
 Joost
 
 -
 The official User-To-User support forum of the Apache HTTP Server Project.
 See URL:http://httpd.apache.org/userslist.html for more info.
 To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
 For additional commands, e-mail: users-h...@httpd.apache.org
 
  

Re: [us...@httpd] Apacge url is changing to application server url

2010-09-20 Thread Eric Covener
On Mon, Sep 20, 2010 at 1:53 AM, Amol Puglia amolcpug...@yahoo.com wrote:
 http:\\tomcatserver_hostname:8081/eMatrix/servlet/Controller
 http:\\tomcatserver_hostname:8082/eMatrix/servlet/Controller
 http:\\tomcatserver_hostname:8083/eMatrix/servlet/Controller

 ProxyPassReverse /eMatrix ajp://server_name:8009/eMatrix
 ProxyPassReverse /eMatrix ajp://server_name:8010/eMatrix
 ProxyPassReverse /eMatrix ajp://server_name:8011/eMatrix


Try ProxyPassReverse for the redirected ports.

--
Eric Covener
cove...@gmail.com

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[us...@httpd] Is there any way I could share a session b/w Jsp(Tomcat) php(apache)??!

2010-09-20 Thread mani2604

Well I do have a UMN mapserver php app which runs on apache   we do have
sessions to store latitudes  longitudes to perform queries... Now the thing
it somehow need to be integrated with Tomcat so that the client inputs the
lat  long in the jsp page and I need to retrieve them in my php application
page... Any ideas regarding this?!!

i sort of integrated the apache  tomcat using mod_jk process but that was
of no assistance as I was unsure of wat to do next...

sort of trying on the php/java bridges but that was explained more on the
lines of same domains...


Thanks..
-- 
View this message in context: 
http://old.nabble.com/Is-there-any-way-I-could-share-a-session-b-w-Jsp%28Tomcat%29---php%28apache%29--%21-tp29758380p29758380.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] Question about expires headers + php images returned without file extensions

2010-09-20 Thread Matus UHLAR - fantomas
On 13.09.10 14:12, David Favor wrote:
 I was just noticing the return of phpinfo returns .gif  .jpg
 images by way of this syntax:

 http://$domain.$tld/index.php?=$objectid

 as in this:

 
 http://highvibenation.com/index.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42

 Firefox picks up the correct Content-Type looking at
 output from Live HTTP Headers and for the life of me
 I've been unable to come up with an expires.conf file
 syntax to set a far future header for objects returned
 like this.

 I'd have thought something like this would work:

 expiresbytype image/gif access plus 1 years
 expiresbytype image/png access plus 1 years
 expiresbytype image/jpeg access plus 1 years
 expiresbytype image/jpg access plus 1 years

 Or at least this would work:

 ExpiresDefault access plus 1 years

phpinfo() is just a function, it does not set http headers. The page above
generates many headers to prevent caching, I'd search what is causing that.
-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I drive way too fast to worry about cholesterol. 

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[us...@httpd] Apache SSL

2010-09-20 Thread Silvio Siefke
Hello,


i have installed Apache 2.2.16 on my FreeBSD Server with SSL. I has the
follow configuration:


Listen 443
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl.crl
SSLPassPhraseDialog  builtin
SSLSessionCacheshmcb:/var/run/ssl_scache(512000)
SSLSessionCacheTimeout  300
SSLMutex  file:/var/run/ssl_mutex
VirtualHost 88.198.38.240:443
 DocumentRoot /usr/local/www/post/
 ServerName post.silvio-siefke.de:443
 ErrorLog /var/log/apache/httpd-error-ssl.log
 TransferLog /var/log/apache/httpd-access-ssl.log
 DirectoryIndex index.html index.php
SSLEngine on
SSLCipherSuite
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /usr/local/www/etc/ssl/post_silvio-siefke_de.crt
SSLCertificateKeyFile /usr/local/www/etc/ssl/silvio-siefke_de.key
FilesMatch \.(cgi|shtml|phtml|php)$
SSLOptions +StdEnvVars
/FilesMatch
BrowserMatch .*MSIE.* \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
CustomLog /var/log/apache/httpd-ssl_request.log \
  %t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \%r\ %b
/VirtualHost


When i go on the webite i has a 403 Forbidden. In the logs ui find the
message:

[Mon Sep 20 13:11:49 2010] [error] [client] client denied by server
configuration: /usr/local/www/post/
[Mon Sep 20 13:11:49 2010] [error] [client] client denied by server
configuration: /usr/local/www/post/favicon.ico


Has someone a idea what is wrong? Thanks for support.


Regards
Silvio

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] Apache SSL

2010-09-20 Thread Eric Covener
 [Mon Sep 20 13:11:49 2010] [error] [client] client denied by server
 configuration: /usr/local/www/post/

The default config has a Directory section for the document root
that has directives like Order and Allow to permit the directory
to be accessed.  You need one for your DocumentRoot that you define in
the vhost.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] Apacge url is changing to application server url

2010-09-20 Thread Amol Puglia
Hello Eric,

Thanks for the response.

It would be great if you let me know  what needs to be added in apache 
configuration file to acheive  ProxyPassReverse for the redirected ports.




--- On Mon, 9/20/10, Eric Covener cove...@gmail.com wrote:

From: Eric Covener cove...@gmail.com
Subject: Re: [us...@httpd] Apacge url is changing to application server url
To: users@httpd.apache.org
Date: Monday, September 20, 2010, 4:33 PM

On Mon, Sep 20, 2010 at 1:53 AM, Amol Puglia amolcpug...@yahoo.com wrote:
 http:\\tomcatserver_hostname:8081/eMatrix/servlet/Controller
 http:\\tomcatserver_hostname:8082/eMatrix/servlet/Controller
 http:\\tomcatserver_hostname:8083/eMatrix/servlet/Controller

 ProxyPassReverse /eMatrix ajp://server_name:8009/eMatrix
 ProxyPassReverse /eMatrix ajp://server_name:8010/eMatrix
 ProxyPassReverse /eMatrix ajp://server_name:8011/eMatrix


Try ProxyPassReverse for the redirected ports.

--
Eric Covener
cove...@gmail.com

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org




  

RE: [us...@httpd] Apacge url is changing to application server url

2010-09-20 Thread Tushar Chavan

Add   ProxyPreserveHost on 

Date: Mon, 20 Sep 2010 04:56:27 -0700
From: amolcpug...@yahoo.com
To: users@httpd.apache.org
Subject: Re: [us...@httpd] Apacge url is changing to application server url

Hello Eric,

Thanks for the response.

It would be great if you let me know  what needs to be added in apache 
configuration file to acheive  ProxyPassReverse for the redirected ports.




--- On Mon, 9/20/10, Eric Covener cove...@gmail.com wrote:

From: Eric Covener cove...@gmail.com
Subject: Re: [us...@httpd] Apacge url is changing to application server url
To: users@httpd.apache.org
Date: Monday, September 20, 2010, 4:33 PM

On Mon, Sep 20, 2010 at 1:53 AM, Amol Puglia amolcpug...@yahoo.com wrote:

 http:\\tomcatserver_hostname:8081/eMatrix/servlet/Controller
 http:\\tomcatserver_hostname:8082/eMatrix/servlet/Controller
 http:\\tomcatserver_hostname:8083/eMatrix/servlet/Controller

 ProxyPassReverse /eMatrix ajp://server_name:8009/eMatrix
 ProxyPassReverse /eMatrix ajp://server_name:8010/eMatrix
 ProxyPassReverse /eMatrix ajp://server_name:8011/eMatrix


Try ProxyPassReverse for the redirected ports.

--
Eric Covener
cove...@gmail.com

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org


  

[us...@httpd] ssl_error_handshake_unexpected_alert with firefox

2010-09-20 Thread Jackie.Wong
Hi,

I am running apache 2.2.15 with openssl 0.9.8k. I have a site configured to 
authenticate with user certs. The problem is that when I assess the site with 
firefox 3.6.9, it works fine, but when I assess it with 3.6.2 or older versions 
of firefox, it doesn't work. In the browser, the following error message is 
shown:

SSL peer was not expecting a handshake message it received.
(Error code: ssl_error_handshake_unexpected_alert)

At the beginning of the log, I see this:

[Mon Sep 20 11:20:36 2010] [debug] ssl_engine_kernel.c(1874): OpenSSL: Loop: 
SSLv3 read client hello A
[Mon Sep 20 11:20:36 2010] [debug] ssl_engine_kernel.c(1874): OpenSSL: Loop: 
SSLv3 write server hello A
[Mon Sep 20 11:20:36 2010] [debug] ssl_engine_kernel.c(1874): OpenSSL: Loop: 
SSLv3 write certificate A
[Mon Sep 20 11:20:36 2010] [debug] ssl_engine_kernel.c(1274): [client 
10.125.236.119] handing out temporary 1024 bit DH key
[Mon Sep 20 11:20:36 2010] [debug] ssl_engine_kernel.c(1874): OpenSSL: Loop: 
SSLv3 write key exchange A
[Mon Sep 20 11:20:36 2010] [debug] ssl_engine_kernel.c(1874): OpenSSL: Loop: 
SSLv3 write server done A
[Mon Sep 20 11:20:36 2010] [debug] ssl_engine_kernel.c(1874): OpenSSL: Loop: 
SSLv3 flush data

And at the end of the log, I see this:

[Mon Sep 20 11:20:58 2010] [debug] ssl_engine_kernel.c(1884): OpenSSL: Write: 
SSLv3 read client key exchange A
[Mon Sep 20 11:20:58 2010] [debug] ssl_engine_kernel.c(1903): OpenSSL: Exit: 
error in SSLv3 read client key exchange A
[Mon Sep 20 11:20:58 2010] [error] [client 10.125.236.119] Re-negotiation 
handshake failed: Not accepted by client!?


Note that the handing out temporary 1024 bit DH key line does not exist in 
the log when I am using firefox 3.6.9. I have also tested it with IE6 and IE8. 
All work fine and the handing out temporary ... line is not in the log. I 
suspect this is what is causing the issue.

Can someone please advise?

Thanks.

Regards,
Jackie


___

This e-mail may contain information that is confidential, privileged or 
otherwise protected from disclosure. If you are not an intended recipient of 
this e-mail, do not duplicate or redistribute it by any means. Please delete it 
and any attachments and notify the sender that you have received it in error. 
Unless specifically indicated, this e-mail is not an offer to buy or sell or a 
solicitation to buy or sell any securities, investment products or other 
financial product or service, an official confirmation of any transaction, or 
an official statement of Barclays. Any views or opinions presented are solely 
those of the author and do not necessarily represent those of Barclays. This 
e-mail is subject to terms available at the following link: 
www.barcap.com/emaildisclaimer. By messaging with Barclays you consent to the 
foregoing.  Barclays Capital is the investment banking division of Barclays 
Bank PLC, a company registered in England (number 1026167) with its registered 
office at 1 Churchill Place, London, E14 5HP.  This email may relate to or be 
sent from other members of the Barclays Group.
___


[us...@httpd] Apache2 vhost config changed by host? Or SSL by another name...

2010-09-20 Thread Reese
We are running Apache2 v2.2.8 and Miva Merchant v5.5.x on a CentOS 
v4.x VPS server. After our host swapped out the SSL certificate 
recently, we have been experiencing an issue with our store crashing 
on transition to HTTPS://. I have the below from tech support at Miva 
Merchant:




The non-secure virtual host information has this setup:

SuexecUserGroup accountName accountName

The secure virtual host information does not have this entry and I 
assume this is why I had to set the security settings to 777. Once I 
did this the secure portion of the store came up.



Since everything worked flawlessly before the cert was changed, how 
likely is it that the new cert is somehow different and that it 
caused this problem?


It took the host tech support several attempts to get the cert 
installed correctly for everything other than the store. How likely 
is it that when installing the new cert, the host inadvertently or 
ignorantly altered the vhost configuration?


To identify the underlying cause of all of this, are there any other 
possibilities that should be considered?


Reese



-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
 from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[us...@httpd] issue with 2.2.16 on windows (mod_dav, inexact content-length)

2010-09-20 Thread Lucas Cornelisse
Hi, I would like to get Apache's opinion on whether this is a bug or not,
and how we should proceed.


I have found an issue relating to PUTting files with mod_dav on apache 2.2
on windows.


What we are doing:

Our application (media server) is doing a live audio recording over dav, by
sending a PUT with a Content-Length:

86400. Note that we do not know in advance how long the recording is,
and we certainly are not sending 86400 bytes.


The difference in behaviour:

With 2.0.63 and 2.2.16 on linux, and 2.0.63 on windows server 2003: no
issue, file is successfully written.

But, with 2.2.16 on windows, we are seeing: Could not get next bucket
brigade  [500, #0] and the file is not written.


Should I be raising a ticket? Is Apache going to continue supporting this
method of putting files?

Thanks,
Lucas

-- 
Lucas Cornelisse
Sr. Soft Eng - RadiSys


Re: [us...@httpd] issue with 2.2.16 on windows (mod_dav, inexact content-length)

2010-09-20 Thread Nick Kew

On 21 Sep 2010, at 01:16, Lucas Cornelisse wrote:

 What we are doing:
 
 Our application (media server) is doing a live audio recording over dav, by 
 sending a PUT with a Content-Length: 
 
 86400. Note that we do not know in advance how long the recording is, and 
 we certainly are not sending 86400 bytes.

Then your application is broken, and can't expect defined behaviour from the 
server.
Can't help with the difference in server versions, but I wouldn't be surprised 
if
you've overlooked some difference other than just server version.

Chunked encoding exists precisely to support situations where you don't know a
content length in advance.  Use it!

-- 
Nick Kew
-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



RE: [us...@httpd] Apacge url is changing to application server url

2010-09-20 Thread Amol Puglia
Hello Tushar,

Thanks for the response.

I have added the option ProxyPreserveHost on but i am still facing same issue.

My webserver url is changing to application server url.

kindly assist.

--- On Mon, 9/20/10, Tushar Chavan tushar.cha...@hotmail.com wrote:

From: Tushar Chavan tushar.cha...@hotmail.com
Subject: RE: [us...@httpd] Apacge url is changing to application server url
To: users@httpd.apache.org, amolcpug...@yahoo.com
Date: Monday, September 20, 2010, 9:55 PM




Add   ProxyPreserveHost on 

Date: Mon, 20 Sep 2010 04:56:27 -0700
From: amolcpug...@yahoo.com
To: users@httpd.apache.org
Subject: Re: [us...@httpd] Apacge url is changing to application server url

Hello Eric,

Thanks for the response.

It would be great if you let me know  what needs to be added in apache 
configuration file to acheive  ProxyPassReverse for the redirected ports.




--- On Mon, 9/20/10, Eric Covener cove...@gmail.com wrote:

From: Eric Covener cove...@gmail.com
Subject: Re: [us...@httpd] Apacge url is changing to application server url
To: users@httpd.apache.org
Date: Monday, September 20, 2010, 4:33 PM

On Mon, Sep 20, 2010 at 1:53 AM, Amol Puglia amolcpug...@yahoo.com wrote:

 http:\\tomcatserver_hostname:8081/eMatrix/servlet/Controller
 http:\\tomcatserver_hostname:8082/eMatrix/servlet/Controller
 http:\\tomcatserver_hostname:8083/eMatrix/servlet/Controller

 ProxyPassReverse /eMatrix ajp://server_name:8009/eMatrix
 ProxyPassReverse /eMatrix ajp://server_name:8010/eMatrix
 ProxyPassReverse /eMatrix ajp://server_name:8011/eMatrix


Try ProxyPassReverse for the redirected ports.

--
Eric Covener
cove...@gmail.com

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org