AW: [us...@httpd] Sticky sessions with Apache and Tomcat

2009-07-14 Thread Juergen.Link
Did you check the session cookie in your browser? There should be one and it must end with either .jvm1 or .jvm2. If there is no session cookie, maybe your application didn't yet start a session - e.g. static html pages are served w/o a session. Cheers Jürgen -Ursprüngliche

[us...@httpd] Apache and jboss portal

2009-07-14 Thread Nedim Ozan Tekin
Hı all, I configured my httpd.conf as follows: The apache balances the load.. The portal home page comes, however, som images and colours cannot be seen.. When I examined the access_log , I see such errors... 10.10.0.74 - - [13/Jul/2009:17:40:47 +0300] GET

Re: [us...@httpd] 301 redirects

2009-07-14 Thread janus76
Thanks for your advise. i think it will be easier to put this directly into the httpd.conf file at the end, then they are all in one place. if have had a play with the query string and come up with the following which works. RewriteEngine on RewriteCond %{QUERY_STRING} id=(99) RewriteRule

[us...@httpd] proxying SSL requests over a non-SSL connection.

2009-07-14 Thread Foster, Stephen (ASPIRE)
Hi there, I've got an issue that may not actually be technically solveable. I need to send a users request for a URI to a remote server via my own apache proxy, but there are some complications to this. The user will issue the URL http://my.proxy.co.uk:8080/WEB The remote system

[us...@httpd] Configuring Apacher Server for Tomcat

2009-07-14 Thread alee amin
I am trying to configure the server for some project and it is written in project documentation that i need to add following thing in the httpd.conf file ProxyPass / ajp://localhost:8009/ ProxyPassMatch ^(/photos/.*\.jpg)$ ! now for this i have made the following changes in httpd.conf file

Re: [us...@httpd] Configuring Apacher Server for Tomcat

2009-07-14 Thread Tom Evans
On Tue, 2009-07-14 at 16:45 +0600, alee amin wrote: I am trying to configure the server for some project and it is written in project documentation that i need to add following thing in the httpd.conf file ProxyPass / ajp://localhost:8009/ ProxyPassMatch ^(/photos/.*\.jpg)$ ! now for

Re: [us...@httpd] Configuring Apacher Server for Tomcat

2009-07-14 Thread Tom Evans
On Tue, 2009-07-14 at 16:45 +0600, alee amin wrote: I am trying to configure the server for some project and it is written in project documentation that i need to add following thing in the httpd.conf file ProxyPass / ajp://localhost:8009/ ProxyPassMatch ^(/photos/.*\.jpg)$ ! now for

RE: [us...@httpd] Conditional in httpd.conf

2009-07-14 Thread rank1seeker
That is exatly how do I do it now. But the point is that I've noticed how diif between: VirtualHost *:80 ... plain HTTP website /VirtualHost VirtualHost *:443 ... SSL website /VirtualHost for a SAME site, is jus a 3 lines. That is: SSLEngine On and path to key and cert file. So,

[us...@httpd] [List management][Fwd: Undelivered Mail Returned to Sender]

2009-07-14 Thread André Warnier
Hi. Could the powers-that-be arrange to have the following subscriber blocked out somehow ? I seem to get one of these for just about any message posted to the list, and I don't seem to be the only sufferer. Thanks Original Message Subject: Undelivered Mail Returned to

[us...@httpd] Re: Conditional in httpd.conf

2009-07-14 Thread Dan Poirier
rank1see...@gmail.com writes: That is exatly how do I do it now. But the point is that I've noticed how diif between: VirtualHost *:80 ... plain HTTP website /VirtualHost VirtualHost *:443 ... SSL website /VirtualHost for a SAME site, is jus a 3 lines. That is: SSLEngine

Re: [us...@httpd] Redirecting htaccess over SSL, then back to port 80?

2009-07-14 Thread Paul Reilly
Getting back to the original subject: Assuming you're doing standard HTTP Authentication, it doesn't work that way. Once you get the login popup, every subsequent request by the browser sends the same authentication token (username password in clear text) to the server. You're right - the

[us...@httpd] Configuring Apache Web Server with Tomcat

2009-07-14 Thread alee amin
I am trying to configuring apache webserver with tomcat using AJP but i am not sure am i doing it right or not. Here are the steps that i followed - Enabled required module in httpd.conf file LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_ajp_module modules/mod_proxy_ajp.so -

Re: [us...@httpd] Configuring Apache Web Server with Tomcat

2009-07-14 Thread André Warnier
alee amin wrote: Alias /photos F:\projects\AL\Photos Directory F:\projects\AL\Photos Even under Windows, I believe you need to specify the paths in apache.conf, with forward slashes (/) instead of backward ones (\). Not entirely sure, and not sure either this is the source of your

Re: [us...@httpd] Configuring Apache Web Server with Tomcat

2009-07-14 Thread Tom Evans
On Tue, 2009-07-14 at 20:44 +0600, alee amin wrote: I am trying to configuring apache webserver with tomcat using AJP but i am not sure am i doing it right or not. Here are the steps that i followed - Enabled required module in httpd.conf file LoadModule proxy_module

[us...@httpd] DocumentRoot Directive

2009-07-14 Thread howard chen
In the document: http://httpd.apache.org/docs/2.0/mod/core.html#documentroot It said The DocumentRoot should be specified without a trailing slash. However, even I end with a trailing slash, it is ok. Any other impact? (as the document only told you not to, without reason) Thanks.

Re: [us...@httpd] Redirecting htaccess over SSL, then back to port 80?

2009-07-14 Thread Aaron Turner
On Tue, Jul 14, 2009 at 6:23 AM, Paul Reillyparei...@tcd.ie wrote: Getting back to the original subject: Assuming you're doing standard HTTP Authentication, it doesn't work that way.  Once you get the login popup, every subsequent request by the browser sends the same authentication token

Re: [us...@httpd] DocumentRoot Directive

2009-07-14 Thread J. Greenlees
howard chen wrote: In the document: http://httpd.apache.org/docs/2.0/mod/core.html#documentroot It said The DocumentRoot should be specified without a trailing slash. However, even I end with a trailing slash, it is ok. Any other impact? (as the document only told you not to, without

Re: [us...@httpd] Directory Permssions

2009-07-14 Thread ML
Hi Doug, So does that prevent crawling and browsing, but does allow if I click a link or include a file it will work? -Jason On Jul 13, 2009, at 4:57 PM, Doug Bell wrote: On Jul 13, 2009, at 1:37 PM, ML wrote: Hello All, I am confused about directory permissions inside of my wwwroot/

[us...@httpd] WARNING: Error sending end packet

2009-07-14 Thread Emilio Recio
Hi, i have this error with my app. I have configured 1 Apache and 2 Tomcats (mod_jk) in cluster mode, without sticky session. It posible that the sticky session was the problem? Thanks. WARNING: Error sending end packet java.net.SocketException: Broken pipe at

Re: [us...@httpd] Directory Permssions

2009-07-14 Thread Doug Bell
Please don't top post. On Jul 14, 2009, at 1:00 PM, ML wrote: Hi Doug, So does that prevent crawling and browsing, but does allow if I click a link or include a file it will work? No, it prevents the directory and all files within from being served by the webserver at all. Anything

Re: [us...@httpd] Directory Permssions

2009-07-14 Thread ML
Hi Doug, So does that prevent crawling and browsing, but does allow if I click a link or include a file it will work? No, it prevents the directory and all files within from being served by the webserver at all. Anything else is either half-secure or half- broken I don't understand

Re: [us...@httpd] Re: Weird problem with SSL and Google Chrome and IE7/8.

2009-07-14 Thread Bill Davidson
André Warnier wrote: Make sure you post the final solution though. That may be useful to a lot of people in the future. Still haven't figured it out. One thing I ran across today is that SSL session caching is important for IE (maybe for Chrome too?). I have this: SSLSessionCache

Re: [us...@httpd] Directory Permssions

2009-07-14 Thread Doug Bell
On Jul 14, 2009, at 2:45 PM, ML wrote: Hi Doug, So does that prevent crawling and browsing, but does allow if I click a link or include a file it will work? No, it prevents the directory and all files within from being served by the webserver at all. Anything else is either half-secure

Re: [us...@httpd] Re: Weird problem with SSL and Google Chrome and IE7/8.

2009-07-14 Thread Bill Davidson
Figured it out. The shm files were on an NFS mounted file system, since all of our development space is on an NFS drive. I set the shm files up in /var/tmp and it's fast again. Sigh. - The official User-To-User support forum

Re: [us...@httpd] Re: Conditional in httpd.conf

2009-07-14 Thread rank1seeker
That hit a spot! Try putting the common lines in another file and Include it wherever you need it. -- Dan Poirier poir...@pobox.com - The official User-To-User support forum of the Apache HTTP Server Project. See

[us...@httpd] Canonical ignores port

2009-07-14 Thread rank1seeker
UseCanonicalName On ServerName LIMPETstarforce.biz:69 --- Result: SERVER_NAME = LIMPETstarforce.biz SERVER_PORT = 69 UseCanonicalName Off ServerName LIMPETstarforce.biz:69 ---

Re: [us...@httpd] Canonical ignores port

2009-07-14 Thread Marcin 'Rambo' Roguski
SERVER_PORT gets value from ServerName no matter what value of UseCanonicalName is Workaround is to not set a port in ServerName Is this a bug? You're missing Port directive. - The official User-To-User support forum of

[us...@httpd] Help with rewrite / redirect

2009-07-14 Thread John Oliver
I have a server that's always been known as https://server1.com/ It's now known as https://server2.com/ Anyone who accesses it as https://server1.com/ winds up getting a certificate error as well as other issues. I want to grab and rewrite any https://server1.com/ URLs to https://server2.com/

Re: [us...@httpd] Canonical ignores port

2009-07-14 Thread Sander Temme
On Jul 14, 2009, at 3:24 PM, Marcin 'Rambo' Roguski wrote: SERVER_PORT gets value from ServerName no matter what value of UseCanonicalName is Workaround is to not set a port in ServerName Is this a bug? You're missing Port directive. Port is no longer in httpd 2.x. But try to play with

Re: [us...@httpd] Help with rewrite / redirect

2009-07-14 Thread Doug Bell
On Jul 14, 2009, at 5:25 PM, John Oliver wrote: I have a server that's always been known as https://server1.com/ It's now known as https://server2.com/ Anyone who accesses it as https://server1.com/ winds up getting a certificate error as well as other issues. I want to grab and rewrite any

[us...@httpd] Spiraling Apache Server, Multiple /tmp in lsof

2009-07-14 Thread Matt Juszczak
Hi all, Working on debugging an apache server that continually keeps CPU pegged at 100%, and load average well above 30.00. To debug, I've set maxclients lower, and maxrequestsperchild to 0 (so that a tracing process doesn't continuously re-spawn). I notice a few inefficiencies in the

Re: [us...@httpd] Help with rewrite / redirect

2009-07-14 Thread John Oliver
On Tue, Jul 14, 2009 at 05:50:13PM -0500, Doug Bell wrote: On Jul 14, 2009, at 5:25 PM, John Oliver wrote: I have a server that's always been known as https://server1.com/ It's now known as https://server2.com/ Anyone who accesses it as https://server1.com/ winds up getting a certificate

Re: AW: [us...@httpd] Sticky sessions with Apache and Tomcat

2009-07-14 Thread tomcatastrophe
Well, it's not a static page. I'll explain the situation better. I have a message at the top of my page to show me which machine I've been handed to. Machine 1 says You are viewing this page from machine 1 and Machine 2 says You are are viewing this page from machine 2. So, when I get the page I

Re: [us...@httpd] Help with rewrite / redirect

2009-07-14 Thread Doug Bell
On Jul 14, 2009, at 6:40 PM, John Oliver wrote: On Tue, Jul 14, 2009 at 05:50:13PM -0500, Doug Bell wrote: On Jul 14, 2009, at 5:25 PM, John Oliver wrote: I have a server that's always been known as https://server1.com/ It's now known as https://server2.com/ Anyone who accesses it as

[us...@httpd] problem with cgi perl

2009-07-14 Thread fake...@fakessh.eu
I can not use cgi perl in their repertoires I configure with chown apache.apache I do not have permission to go to the cgi - The official User-To-User support forum of the Apache HTTP Server Project. See

Re: [us...@httpd] problem with cgi perl

2009-07-14 Thread Eric Covener
On Tue, Jul 14, 2009 at 8:43 PM, fake...@fakessh.eufake...@fakessh.eu wrote: I can not use cgi perl in their repertoires I configure with chown apache.apache I do not have permission to go to the cgi Is there a config, request, and/or errorlog entry related to this problem? -- Eric Covener

Re: [us...@httpd] problem with cgi perl

2009-07-14 Thread fake...@fakessh.eu
my config httpd.conf # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See URL:http://httpd.apache.org/docs/2.2/ for detailed information. # In particular, see #

Re: [us...@httpd] DocumentRoot Directive

2009-07-14 Thread howard chen
Hello, On Wed, Jul 15, 2009 at 1:20 AM, J. Greenleesli...@jaqui-greenlees.net wrote: Yup, the server puts the trailing slash on the url when it responds to the browser request. If you put the trailing slash on the document root, then the server REQUIRES it. this makes http://example.com

Re: [us...@httpd] Canonical ignores port

2009-07-14 Thread rank1seeker
Then in 2.2, presence of UseCanonicalPhysicalPort, should remove optional port argument of ServerName. As it behaves unexpectedly. Thanx - Original Message - From: Sander Temme scte...@apache.org To: users@httpd.apache.org Date: Tue, 14 Jul 2009 15:33:19 -0700 Subject: Re:

[us...@httpd] SSL cert for alias too

2009-07-14 Thread rank1seeker
Anyway, I have a domain.com and it's allias www.domain.com. All point to the same site. If I make cert for domain.com, then mismatch warning for www.domain.com arises. And if I make cert for www.domain.com, then mismatch warning for domain.com arises. Wildcard cert allso yielded no results as

Re: [us...@httpd] problem with cgi perl

2009-07-14 Thread Eric Covener
On Tue, Jul 14, 2009 at 9:31 PM, fake...@fakessh.eufake...@fakessh.eu wrote: my config httpd.conf Way too long for the mailing list. Paste the pertinent parts along with the request you made and the error log entry corresponding to the failure. -- Eric Covener cove...@gmail.com

Re: [us...@httpd] problem with cgi perl

2009-07-14 Thread Doug Bell
Please don't top-post. On Jul 14, 2009, at 8:31 PM, fake...@fakessh.eu wrote: my config httpd.conf VirtualHost *:80 DocumentRoot /home/fakessh/public_html ServerName fakessh.eu ServerAlias www.fakessh.eu ServerAdmin postmas...@fakessh.eu ErrorLog logs/fakessh.eu-error_log CustomLog

Re: [us...@httpd] SSL cert for alias too

2009-07-14 Thread Igor Cicimov
Just put redirection in that virtual host that will redirect the requests for domain.com to www.domain.com and problem solved. On Wed, Jul 15, 2009 at 11:40 AM, rank1see...@gmail.com wrote: Anyway, I have a domain.com and it's allias www.domain.com. All point to the same site. If I make cert

Re: [us...@httpd] SSL cert for alias too

2009-07-14 Thread Igor Cicimov
Just get the certificate for www.domain.com and redirect all the request for domain.com to www.domain.com in the virtual host section (or httpd.com file if you have only one host) and problem solved. On Wed, Jul 15, 2009 at 11:40 AM, rank1see...@gmail.com wrote: Anyway, I have a domain.com and

Re: [us...@httpd] load balancing with 2 HTTPS portal servers

2009-07-14 Thread Igor Cicimov
Nedim, As your configuration is at the moment you proxy the traffic coming on port 443 (SSL port) to the back end servers which means only the requests coming with https:// will work. What you need to do is just write a simple mod_rewrite rule to redirect the traffic from port 80 to 443 and all

[us...@httpd] Re: Configuring Apache Web Server with Tomcat

2009-07-14 Thread alee amin
I am using Tomcat6 but i could not find any thing to put in Connector configuration of tomcat file. Can you please help? - When i said working fine .. i meant that JSP pages are viewable if i browse at 8009 (the path i mentioned earlier) but if i don't mention the port then it's not working (jsp