[us...@httpd] Redirection problem with dynamic url parameters

2009-08-10 Thread Campbell, Lance
I need to redirect: https://illinois.edu/blog/view?blogId=291 To http://illinois.edu/db/view/291 The key is that 291 may be any number in both the from and to URLs. Can someone point me in the proper direction on how to redirect these types of URLs? Thanks, Lance Campbell Project Manager/So

[EMAIL PROTECTED] MPM 2.2

2008-08-25 Thread Campbell, Lance
I am using apache 2.2 with MPM under a very heavy load. Could someone send me some example settings I should use to improve performance for MPM? Thanks, Lance Campbell Project Manager/Software Architect Web Services at Public Affairs University of Illinois 217.333.0382 http://webservi

[EMAIL PROTECTED] error log problem with SSL

2008-11-17 Thread Campbell, Lance
Apache 2.0.x Within our virtual host we have the line: ErrorLog /var/log/httpd/some_file_name What we are noticing is that Tomcat requests through mod_jk are showing up within this log as 404 errors when doing SSL. Why is this? Is there something within our configuration that is telling

[us...@httpd] RewriteRule problem

2009-03-18 Thread Campbell, Lance
I want to do convert the below dynamic url to a static url: http://acme.com/abc?id=123 To: http://acme.com/efg/123 I have tried the following: RewriteRule ^/abc?id=(.*) /efg/$1 I get an error in my apache log: File does not exist: /apacheDocs/http/acme.com/abc I ha

RE: [us...@httpd] RewriteRule problem

2009-03-18 Thread Campbell, Lance
: Wednesday, March 18, 2009 3:40 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] RewriteRule problem On Wed, Mar 18, 2009 at 4:38 PM, Campbell, Lance wrote: > RewriteRule ^/abc?id=(.*)   /efg/$1 You need to deal with the query string in a RewriteCond. http://wiki.apache.org/ht

RE: [us...@httpd] RewriteRule problem

2009-03-18 Thread Campbell, Lance
ssage- From: Campbell, Lance [mailto:la...@illinois.edu] Sent: Wednesday, March 18, 2009 3:03 PM To: users@httpd.apache.org Subject: RE: [us...@httpd] RewriteRule problem So now I have the following: RewriteCond %{QUERY_STRING} ^abc?id=(.*) [NC] RewriteRule ^abc /efg/%1 [L] It still does not

[EMAIL PROTECTED] Installing apache 2.0.59 on RH 5 EM64T

2007-06-25 Thread Campbell, Lance
I get the below error when trying to install apache 2.0.59 on RH 5 EM64T. At the bottom I have also included my configure command and parameters. Any thoughts? /usr/lib/libexpat.so: could not read symbols: File in wrong format collect2: ld returned 1 exit status make[2]: *** [htpasswd] Erro

[EMAIL PROTECTED] Build Apache 2.0.5x on RHEL 4.0 (64-bit)

2007-06-25 Thread Campbell, Lance
Renu, I had a similar issue with Apache 2.0.59 on RHEL 5 (64-bit). I saw someone answered your question by putting in the following link: http://www.catb.org/~esr/faqs/smart-questions.html I don't know what you were supposed to get from that, but this is what I found after two hours of di

[EMAIL PROTECTED] mod_disk_cache

2008-01-06 Thread Campbell, Lance
httpd-2.0.59 Does mod_disk_cache support a mechanism that one can request a particular URL to have its content refreshed? I know you can delete the entire disk cache root and it will then refresh the content. But is there a way to just request that a particular URL be refreshed within the

[EMAIL PROTECTED] Where can I find a tutorial for writing apache 2.0.x modules

2008-01-07 Thread Campbell, Lance
I am looking for a web tutorial for writing apache 2.0.x modules. Does anyone have a reference they could give me? Thanks, Lance Campbell Project Manager/Software Architect Web Services at Public Affairs University of Illinois 217.333.0382 http://webservices.uiuc.edu

RE: [EMAIL PROTECTED] mod_disk_cache

2008-01-07 Thread Campbell, Lance
Sent: Monday, January 07, 2008 10:46 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_disk_cache On Jan 7, 2008 12:59 AM, Campbell, Lance <[EMAIL PROTECTED]> wrote: > > > > > httpd-2.0.59 > > > > Does mod_disk_cache support a mechanism that one can

RE: [EMAIL PROTECTED] mod_disk_cache

2008-01-07 Thread Campbell, Lance
PROTECTED] On Behalf Of Joshua Slive Sent: Monday, January 07, 2008 11:27 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_disk_cache On Jan 7, 2008 12:12 PM, Campbell, Lance <[EMAIL PROTECTED]> wrote: > Joshua, > I don't understand what you are saying. Is there some

RE: [EMAIL PROTECTED] mod_disk_cache

2008-01-08 Thread Campbell, Lance
Slive Sent: Monday, January 07, 2008 11:27 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_disk_cache On Jan 7, 2008 12:12 PM, Campbell, Lance <[EMAIL PROTECTED]> wrote: > Joshua, > I don't understand what you are saying. Is there some command parameter > you

[EMAIL PROTECTED] mod_cache

2008-01-08 Thread Campbell, Lance
I think I found an issue with mod_cache. Where do I go to post a question to the development group for this mod? Thanks, Lance Campbell Project Manager/Software Architect Web Services at Public Affairs University of Illinois 217.333.0382 http://webservices.uiuc.edu

RE: [EMAIL PROTECTED] mod_cache

2008-01-09 Thread Campbell, Lance
you reported. -ascs ________ De : Campbell, Lance [mailto:[EMAIL PROTECTED] Envoyé : mercredi 9 janvier 2008 07:44 À : users@httpd.apache.org Objet : [EMAIL PROTECTED] mod_cache

RE: [EMAIL PROTECTED] mod_cache

2008-01-09 Thread Campbell, Lance
"RE: [EMAIL PROTECTED] mod_disk_cache" -ascs -Message d'origine- De : Campbell, Lance [mailto:[EMAIL PROTECTED] Envoyé : mercredi 9 janvier 2008 16:33 À : users@httpd.apache.org Cc : Axel-Stephane SMORGRAV Objet : RE: [EMAIL PROTECTED] mod_cache Is there a header stri

RE: [EMAIL PROTECTED] mod_cache

2008-01-09 Thread Campbell, Lance
. In that case I will add a comment to the effect that I have had that patch in production for a few months and it works fine... -ascs -Message d'origine- De : Campbell, Lance [mailto:[EMAIL PROTECTED] Envoyé : mercredi 9 janvier 2008 18:03 À : users@httpd.apache.org Cc : Axel-Ste

FW: [EMAIL PROTECTED] mod_cache

2008-01-15 Thread Campbell, Lance
: http://acme.com/cleanCache/ghi/asasd/dd/ Sorry, Lance Campbell Project Manager/Software Architect Web Services at Public Affairs University of Illinois 217.333.0382 http://webservices.uiuc.edu From: Campbell, Lance [mailto:[EMAIL PROTECTED] Sent

[EMAIL PROTECTED] mod_cache

2008-01-15 Thread Campbell, Lance
Apache 2.2.x I would like to request that mod_cache have an additional parameter added to it. Example: CacheCleanRequest /cleanCache/ If you want to remove items from the cache so that they can be refreshed by a later request you simply pre append the URL that was provided to the pa

RE: [EMAIL PROTECTED] mod_cache

2008-01-15 Thread Campbell, Lance
CTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Slive Sent: Tuesday, January 15, 2008 10:37 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_cache On Jan 15, 2008 10:51 AM, Campbell, Lance <[EMAIL PROTECTED]> wrote: > I know you have a mechanism in place to clear

[EMAIL PROTECTED] Authentication Module

2008-01-25 Thread Campbell, Lance
Is there an apache authentication module that does the following? 1) Within the apache configuration a user would identify what URLs are secure. 2) When a user tries to access content that is secured for the first time the module redirects the user to a common authentication server

[EMAIL PROTECTED] Mod Disk Cache Problem

2008-02-07 Thread Campbell, Lance
Apache 2.2.8 I am using mod disk cache to cache some dynamic content. It works great if there are NO parameters passed to the requested URL. Working Example: http://qa.webtools.uiuc.edu/rssManager/imageList/30/1 But if I pass any parameters at all the URL is not cashed. Example

[EMAIL PROTECTED] Mod rewrite - can it tell if a requested file exists

2008-02-07 Thread Campbell, Lance
Apache 2.2 I know it is possible to chain mod rewrite rules. Is it possible with mod rewrite to test for the existence of a requested file? Example: Requested URL: http://acme.com/abc/123 Sudo Code: If the URL matches /abc/* Then rewrite the URL to /zzz/abc/123 if th

[EMAIL PROTECTED] Mod Rewrite and Mod JK

2008-02-08 Thread Campbell, Lance
I am finding that mod_rewrite does not get triggered is a URL happens to map to Mod JK. Is there a way to give first dibs to mod_rewrite? I have mod_rewrite loaded before mod_jk. Thanks, Lance Campbell Project Manager/Software Architect Web Services at Public Affairs University of Illi

[EMAIL PROTECTED] More than one SSL Certificate/Virtual Host

2008-04-17 Thread Campbell, Lance
Apache 2.2 I want to get two virtual hosts to work on my install of apache: www.a.edu and www.b.edu . I already have one certificate working fine for SSL. How do I get the other to work? I created two certificates. The first one worked fine. I ad

[EMAIL PROTECTED] Emergency Web Server Configuration

2008-06-18 Thread Campbell, Lance
OS: Linux Red Hat Apache: 2.2.x I am setting up a dedicated apache web server in order to push out emergency web pages in the event of an emergency on campus. The content that would be pushed out would be static content only consisting of a few dozen web pages. I have verified that the numbe

[EMAIL PROTECTED] Apache RedirectMatch or Virtual Host Help Needed

2008-06-24 Thread Campbell, Lance
I am completely stumped on how to solve a particular problem on Apache 2.2. I have a virtual host for all variations of uiuc.edu for the campus web server redirecting to "Illinois.edu". It works great. Below is some of the virtual host info I am using. ServerName uiuc.edu ServerAli

RE: [EMAIL PROTECTED] Apache RedirectMatch or Virtual Host Help Needed

2008-06-24 Thread Campbell, Lance
ch or Virtual Host Help Needed On Tue, Jun 24, 2008 at 21:07, Campbell, Lance <[EMAIL PROTECTED]> wrote: > I then copied the above and modified it so that I could redirect all content > going to www.illinois.edu and redirect it to illinois.edu. This is where > the problem resides.

RE: [EMAIL PROTECTED] Apache RedirectMatch or Virtual Host Help Needed

2008-06-24 Thread Campbell, Lance
problems. Thanks, Lance Campbell Project Manager/Software Architect Web Services at Public Affairs University of Illinois 217.333.0382 http://webservices.uiuc.edu My e-mail address has changed to [EMAIL PROTECTED] -Original Message- From: Campbell, Lance [mailto:[EMAIL PROTECTED] Sent

[EMAIL PROTECTED] Mod_jk load balance logging

2008-07-10 Thread Campbell, Lance
I use mod_jk to load balance some java applications. When I do a Unix "tail" on the log that mod_jk generates I don't see anything that indicates which instance of an application is being accessed: Example: [Thu Jul 10 12:29:36 2008] pc webtools.uiuc.edu 0.001352 [Thu Jul 10 12:29:36 2008

[us...@httpd] RewriteCond how to set variable

2010-12-21 Thread Campbell, Lance
I have the following RewriteCond. I put numbers in front of each line for reference: 1) RewriteCond %{QUERY_STRING} !XSL=NONE [NC] 2) RewriteCond %{QUERY_STRING} calId=([0-9]+) [NC] 3) RewriteCond %{QUERY_STRING} skinId=([0-9]+) [NC] 4) RewriteRule ^/calendar http://test

RE: [us...@httpd] Re: RewriteCond how to set variable

2010-12-21 Thread Campbell, Lance
Thanks for your response. I get the following error message: RewriteCond: unknown flag 'E' What I used: RewriteCond %{QUERY_STRING} !XSL=NONE [NC] RewriteCond %{QUERY_STRING} calId=([0-9]+) [E=CALID:%1] RewriteCond %{QUERY_STRING} skinId=([0-9]+) [E=SKINID:%1] RewriteRule ^/calendar/list http://t

RE: [us...@httpd] Re: RewriteCond how to set variable

2010-12-21 Thread Campbell, Lance
My email client displayed what you wanted me to insert incorrectly. I put the code in correctly but it still does not work. I added R=301 to the end so that it would redirect so I could check the apache logs. The apache log shows this: uob017.admin.uiuc.edu - - [21/Dec/2010:11:46:23 -0600] "GET

RE: [us...@httpd] Re: RewriteCond how to set variable

2010-12-21 Thread Campbell, Lance
I did find a work around by doing the follow: RewriteCond %{QUERY_STRING} !XSL=NONE [NC] RewriteCond %{QUERY_STRING} skinId=([0-9]+)(.*)calId=([0-9]) [NC] RewriteRule ^/calendar http://test.webservices.illinois.edu/calendar/list/%3?skinId=%1 [L,R=301] RewriteCond %{QUERY_STRING} !XSL=NONE [NC]

[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] 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

[users@httpd] Apache 2.4 worker mpm memory climbing no new processes

2018-01-09 Thread Campbell, Lance
Apache 2.4 Worker MPM I am using this configuration for Worker MPM: ServerLimit 90 StartServers10 MaxRequestWorkers 2048 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 Apache has created 12 processes. Apaches memory consumption slowly increases but neve

Re: [users@httpd] RE: Apache 2.4 worker mpm memory climbing no new processes

2018-01-09 Thread Campbell, Lance
n worker will process, so that process would be recycled before all the threads hit that big response. Rick Houser Web Engineer From: Campbell, Lance [mailto:la...@illinois.edu] Sent: Tuesday, January 09, 2018 12:28 To: users@httpd.apache.org Subject: [users@httpd] Apache 2.4 worker mpm me

[users@httpd] Apache 2.4 order mpm issue

2018-01-20 Thread Campbell, Lance
Apache 2.4 CentOS 7 Apache has numerous times today hung on me. It is fully patched and the server has been freshly rebooted. In the error_log I get this message: [Sat Jan 20 13:55:04.194452 2018] [mpm_worker:error] [pid 22574:tid 139937880922240] AH00287: server is within MinSpareThreads of

[users@httpd] Crashed

2018-08-24 Thread Campbell, Lance
Summary: With the below settings apache crashed on me. The error log told me it reached MaxRequestWorkers. It suggested increasing the size. To remedy the situation I increased MaxRequestWorkers to 10,. Then I was fine. Based on the documentation it says that you are supposed to divide

[users@httpd] MPM worker - ThreadLimit and ThreadsPerChild

2018-08-24 Thread Campbell, Lance
Apache 2.4 MPM Worker The relationship between ThreadLimit and ThreadsPerChild is not very clear. These are some questions I have. 1. Why would you ever want ThreadLimit bigger than ThreadsPerChild? 2. If you do want it bigger then how do you determine how much bigger it should be? 3.

Re: [users@httpd] MPM worker - ThreadLimit and ThreadsPerChild

2018-08-24 Thread Campbell, Lance
= MaxRequestWorkers divided by ThreadLimit . ThreadLimit could equal ThreadsPerChild. Or ThreadLimit could be greater than ThreadsPerChild. Thanks. On 8/24/18, 2:46 PM, "Eric Covener" wrote: On Fri, Aug 24, 2018 at 3:42 PM Campbell, Lance wrote: > > Apache 2.4

[users@httpd] Enhancement Request

2018-08-24 Thread Campbell, Lance
Apache MPM Workers REQUEST: Please change your worker parameter naming convention in regards to MAX. Example: Parameter1 MaxParameter1 Parameter2 MaxParameter2 Why? I completely misunderstood the difference between ThreadLimit and ThreadsPerChild. I have wasted over 8 hours researc

[users@httpd] How to proxy based on post string value

2019-10-11 Thread Campbell, Lance
Apache 2.4 Is this possible to do? Use Case: An Apache web server receives a POST web requests. If the POST request “body” contains a particular string value I want to proxy the post request to a different web server. The response from that web server will be sent back to the original reques