Re: [users@httpd] Rewrite Conditions & Rules

2011-03-03 Thread Martin Barry
Hi Ian $quoted_author = "Ian Stradling" ; > > Here is what I've gleaned from the log I started. FYI, I clicked on a > link within the website that is supposed to go to ../insurance-tips/ > Anything related to /insurance-tips, /add-a-tip, /home, and / are supposed > to NOT be HTTPS...yet, wheneve

[users@httpd] Problem in configuring two httpd services on one machine with two IPs

2011-03-03 Thread Nishit Shivnani
Hello Team, I need some help from the Apache experts. I have a machine with Red Hat Linux OS and Apache HTTP Server 2.2.3. This machine has another IP installed on it. Now I need to have httpd service listening on port 80 and 443 for both the IPs of the server. For which I need to have two instanc

RE: [users@httpd] Rewrite Conditions & Rules

2011-03-03 Thread Ian Stradling
The code works exactly as intended. Many thanks for that! It looks like I now have myself a different kind of issue. The insurance-tips portion has something going on that is throwing the browser into a redirect loop. It appears that when I added the $ to it, it just changed the comparison s

RE: [users@httpd] Rewrite Conditions & Rules

2011-03-03 Thread Ian Stradling
Here is what I've gleaned from the log I started. FYI, I clicked on a link within the website that is supposed to go to ../insurance-tips/ Anything related to /insurance-tips, /add-a-tip, /home, and / are supposed to NOT be HTTPS...yet, whenever I click on the 'insurance-tips' link, it comes

RE: [users@httpd] URL rewrite rule not working the way I thought it should

2011-03-03 Thread Campbell, Lance
PT is the answer. Thanks, Lance Campbell Software Architect/Project Manager/DBA Web Services at Public Affairs 217.333.0382 -Original Message- From: Eric Covener [mailto:cove...@gmail.com] Sent: Thu 3/3/2011 3:18 PM To: users@httpd.apache.org Subject: Re: [users@httpd] URL rewrite rule

Re: [users@httpd] URL rewrite rule not working the way I thought it should

2011-03-03 Thread Eric Covener
> Is there a different command other than [L] I should use to tell apache to > rewrite the URL internally?  Or is my issue related to the fact that I am > pointing to a URL that goes to mod_jk? Try PT - The official User-To-User

[users@httpd] URL rewrite rule not working the way I thought it should

2011-03-03 Thread Campbell, Lance
I have a URL: http://test.webservices.illinois.edu/bob/calendar/list/7 I want to rewrite the URL internally so apache sees it as the following tomcat mod_jk URL: http://test.webservices.illinois.edu/calendar/list/7 BUT I don't want to redirect. I want apache to see the URL internally as the

RE: [users@httpd] Rewrite Conditions & Rules

2011-03-03 Thread Ian Stradling
Ok, so the rule sets are now working somewhat. On the HTTP(80) side, I have the following: RewriteCond %{REQUEST_URI} !^/$ RewriteCond %{REQUEST_URI} !^/home RewriteCond %{REQUEST_URI} !^/insurance-tips/$ RewriteCond %{REQUEST_URI} !^/add-a-tip Rewri

RE: [users@httpd] Apache module suitable for SSL passthrough

2011-03-03 Thread Voellinger, Sandy
Yasser - As Tom mentioned in his response, you must terminate SSL, there is no "passthrough". However, what I think you are looking for is the ability to do terminiate SSL at apache and pass the client certificate as part of the request that you forward to Jboss. If this is the case, you can

Re: [users@httpd] Architecture of HTTPD/Tomcat Handoff

2011-03-03 Thread William A. Rowe Jr.
On 3/3/2011 12:32 PM, Rowe, Daniel wrote: > > My question is: when a user hits the HTTPD server, and the server redirects > them to > Tomcat, will that user’s traffic continue to pass through HTTPD for every > transaction, or > will it be completely handed off to Tomcat and the HTTPD server wash

Re: [users@httpd] Apache module suitable for SSL passthrough

2011-03-03 Thread yasser arafat
Thanks for the reply Tom. I have an application in JBoss setup with a CLIENT_CERT mode of authentication. When a user tries to access a secure URL, the JAAS login modules kicks off, captures the client certificate and extracts the CN data from it for authorization. With the current setup, I cannot

[users@httpd] Architecture of HTTPD/Tomcat Handoff

2011-03-03 Thread Rowe, Daniel
Hi All, I searched the archives but didn't find anything related to this, so if this is a repeat I apologize. We are using Apache HTTPD as a software load balancer distributing traffic to several Tomcat-based application nodes, and we're performance testing to determine where our limitations a

[users@httpd] Targeting specific files in reverse proxy mode

2011-03-03 Thread Joel Donahue
I have setup apache2 to run in reverse proxy mode with mod_proxy and ProxyPass. I am trying to target the robots.txt file to modify it with mod_ext_filter and am having no such luck. I have mod_ext_filter working fine changing links on other parts of the site, So I don't believe it's configuration

RE: [users@httpd] Rewrite Conditions & Rules

2011-03-03 Thread Eugene
My mistake. Bottom part must be like this: RewriteCond %{REQUEST_URI} ^/$ RewriteCond %{HTTPS} on RewriteRule / http://www.website.com%{REQUEST_URI} [R,L] RewriteCond %{REQUEST_URI} ^/home RewriteCond %{HTTPS} on RewriteRule / http://www

Re: [users@httpd] Rewrite Conditions & Rules

2011-03-03 Thread Tom Evans
On Thu, Mar 3, 2011 at 5:45 PM, Ian Stradling wrote: > I apologize, I should have specified that I did use the set of rules that > Eugene had adjusted. > > The result was the same as the rules I had been using previously. > > I appreciate the assistance. > I wasn't trying to be snarky, the diffe

RE: [users@httpd] Rewrite Conditions & Rules

2011-03-03 Thread Ian Stradling
I apologize, I should have specified that I did use the set of rules that Eugene had adjusted. The result was the same as the rules I had been using previously. I appreciate the assistance. -Original Message- From: Tom Evans [mailto:tevans...@googlemail.com] Sent: Thursday, March

Re: [users@httpd] Apache module suitable for SSL passthrough

2011-03-03 Thread Tom Evans
On Thu, Mar 3, 2011 at 5:12 PM, yasser arafat wrote: > Hello all, > > My JBoss app server has mutual SSL authentication setup (We do some > processing based on the client certificate). > > I need to have a web server in front of JBoss. Which is the best apache > module that can do an SSL passthrou

Re: [users@httpd] Rewrite Conditions & Rules

2011-03-03 Thread Tom Evans
On Thu, Mar 3, 2011 at 5:39 PM, Ian Stradling wrote: > No, unfortunately it doesn’t.  When a visitor first goes to the website, it > stays in HTTP.  As soon as a visitor clicks on one of the HTTPS links, the > rewrite rules will force HTTPS for the rest of the time that the visitor is > on the

RE: [users@httpd] Rewrite Conditions & Rules

2011-03-03 Thread Ian Stradling
No, unfortunately it doesn’t. When a visitor first goes to the website, it stays in HTTP. As soon as a visitor clicks on one of the HTTPS links, the rewrite rules will force HTTPS for the rest of the time that the visitor is on the site regardless of the links they click on. I need the Rewr

[users@httpd] Apache module suitable for SSL passthrough

2011-03-03 Thread yasser arafat
Hello all, My JBoss app server has mutual SSL authentication setup (We do some processing based on the client certificate). I need to have a web server in front of JBoss. Which is the best apache module that can do an SSL passthrough to JBoss? Thank and regards, Yasser

Re: [users@httpd] How htaccess enables CGI script as default page

2011-03-03 Thread Tim Johnson
* Lee [110302 23:18]: > Sometimes you refer to the Perl scripts with absolute paths, > sometimes relative. I do no know what dir your .htaccess is in, but > please check the paths. > > It also seems that you changed the .htaccess references to .pl > extension to .py -- was there a reason for that

RE: [users@httpd] Rewrite Conditions & Rules

2011-03-03 Thread Eugene
Doesn't it fit your needs? RewriteCond %{REQUEST_URI} !^/$ RewriteCond %{REQUEST_URI} !^/home RewriteCond %{REQUEST_URI} !^/insurance-tips RewriteCond %{REQUEST_URI} !^/add-a-tip RewriteCond %{HTTPS} off RewriteRule / https://www.websit

RE: [users@httpd] Rewrite Conditions & Rules

2011-03-03 Thread Ian Stradling
Has anyone ever used mod_rewrite to try and force SSL on certain portions of a website? I feel like I'm running around in circles trying to figure it out. As a point of reiteration, I'm using the following code: RewriteCond %{REQUEST_URI} !^/ RewriteCond %{REQUEST_URI} !^/hom

Re: [users@httpd] FastCGI causes website to hang

2011-03-03 Thread Björn Zettergren
On 03/02/2011 09:17 AM, roberto blanko wrote: I'm not the real freak when it comes to semaphores and shared memory usage. Can you see something suspicious there? Hm, sorry to say i can't really. Another notice: After reading your reply I deactivated eAccellerator, ionCube-Loader and Zend-Opti

Re: [users@httpd] VirtualHost and Location

2011-03-03 Thread Igor Galić
- Original Message - > Good Evening Everybody, > > I was wondering if it is possible to have a different requirement for > a Location directive on different virtual host > > e.g. > suppose I have two virtualhosts declaration in two different file > called p.abc.net and q.abc.net in a sin

Re: [users@httpd] Weird error in error_log -> sh: /which: No such file or directory

2011-03-03 Thread Lee
In Perl, check for keywords exec and system, and back-tick characeters like this: ` These all execute via the shell. HTH Lee On 03/03/2011 10:48, Tom Evans wrote: On Thu, Mar 3, 2011 at 9:30 AM, David Hubbard wrote: That unfortunately is all there is with regard to this error: sh: /which:

Re: [users@httpd] configure apache with --enable-modules=all --enable-mods-shared=all_but_...

2011-03-03 Thread Torsten Förtsch
On Thursday, March 03, 2011 11:36:31 Issac Goldstand wrote: > > is it possible to configure apache with --enable-modules=all and > > --enable-mods-shared='all but a few exceptions' > > > > That means how do I say configure to enable almost all modules as shared > > but with a few exceptions? > >

Re: [users@httpd] configure apache with --enable-modules=all --enable-mods-shared=all_but_...

2011-03-03 Thread Issac Goldstand
On 03/03/2011 12:26, Torsten Förtsch wrote: > Hi, > > is it possible to configure apache with --enable-modules=all and > --enable-mods-shared='all but a few exceptions' > > That means how do I say configure to enable almost all modules as shared but > with a few exceptions? > I didn't test this,

[users@httpd] configure apache with --enable-modules=all --enable-mods-shared=all_but_...

2011-03-03 Thread Torsten Förtsch
Hi, is it possible to configure apache with --enable-modules=all and --enable-mods-shared='all but a few exceptions' That means how do I say configure to enable almost all modules as shared but with a few exceptions? Thanks, Torsten Förtsch -- Need professional modperl support? Hire me! (http

Re: [users@httpd] Weird error in error_log -> sh: /which: No such file or directory

2011-03-03 Thread Tom Evans
On Thu, Mar 3, 2011 at 9:30 AM, David Hubbard wrote: > That unfortunately is all there is with regard to this error: > > sh: /which: No such file or directory > > no timestamp, pid, etc. > > David > Then it isn't being emitted by apache, but by a CGI script. Examine your cgi scripts. Cheers Tom

RE: [users@httpd] Weird error in error_log -> sh: /which: No such file or directory

2011-03-03 Thread David Hubbard
That unfortunately is all there is with regard to this error: sh: /which: No such file or directory no timestamp, pid, etc. David > -Original Message- > From: Manoj Samtani [mailto:manoj.kuma...@hotmail.com] > Sent: Thursday, March 03, 2011 2:43 AM > To: users@httpd.apache.org > Subje

Re: [users@httpd] How htaccess enables CGI script as default page

2011-03-03 Thread Lee
Sometimes you refer to the Perl scripts with absolute paths, sometimes relative. I do no know what dir your .htaccess is in, but please check the paths. It also seems that you changed the .htaccess references to .pl extension to .py -- was there a reason for that? Sorry I missed the start of