[EMAIL PROTECTED] How to pass a Client Certificate through a Reverse Proxy

2007-03-07 Thread Alexiuc, Daniel
Hi all, I've configured Apache as a reverse proxy in the following kind of arrangement: Client's browser ---> Apache Reverse Proxy --> External Server When the External Server requires Basic Authentication or SSL from the client, this works fine through the proxy. I have configured this

Re: [EMAIL PROTECTED] mod_rewrite problem

2007-03-07 Thread Vincent Bray
On 08/03/07, Israel Brewster <[EMAIL PROTECTED]> wrote: Oh, sure. Sorry- not trying to make things difficult here, it's just that I spent several hours yesterday working on the issue, so I'm a bit frustrated, and quite possibly not thinking straight any more :P. Anyway, the rewrite rules I'm curr

Re: [EMAIL PROTECTED] mod_rewrite problem

2007-03-07 Thread Israel Brewster
On Mar 7, 2007, at 1:16 PM, Vincent Bray wrote: Like, posting the rest of your rules, perhaps? As you're rewriting to a php script, are you able to edit it to show a dump of the environment? phpinfo(); die(); does that job. Also, are there any Alias directives for nagios? Seeing your config in mo

[EMAIL PROTECTED] Help: how to configure multiple apache servers behind a hardware load balancer

2007-03-07 Thread anton
Hi there, I'm a decently experienced apache user on ONE webserver. I'm trying to switch to two apache servers behind a Foundry hardware load balancer. I need a tutorial which would explain how to configure multiple apache servers behind a hardware load balancer. I have a domain name correctly r

Re: [EMAIL PROTECTED] mod_rewrite problem

2007-03-07 Thread Vincent Bray
On 08/03/07, Israel Brewster <[EMAIL PROTECTED]> wrote: Ok, yeah- that made the rewrite rules start matching when in the httpd.conf file, unfortunately the behavior I'm getting with that particular rule is the same. Maybe it's time to consider a different approach entirely. Like, posting the re

Re: [EMAIL PROTECTED] Awstats and re-write rule for Zope

2007-03-07 Thread Norman Khine
Vincent Bray wrote: > On 08/03/07, Norman Khine <[EMAIL PROTECTED]> wrote: >> >> ServerName domain.com >> ServerAlias www.domain.com >> RewriteEngine On >> #DenyHosts Rules >> RewriteMaphosts-deny txt:/home/user/apache/hosts.deny >> RewriteCond ${hosts-deny:%{REMOTE_HOST}|

Re: [EMAIL PROTECTED] mod_rewrite problem

2007-03-07 Thread Israel Brewster
[snip] In this case, ^nagios never matches because the per-directory prefix isn't stripped. ^/nagios is what you need, in addition to simillar changes for the rest of your rules. Ok, yeah- that made the rewrite rules start matching when in the httpd.conf file, unfortunately the behavior I'm ge

Re: [EMAIL PROTECTED] mod_rewrite problem

2007-03-07 Thread Vincent Bray
On 08/03/07, Israel Brewster <[EMAIL PROTECTED]> wrote: Thanks for your response and suggestions. On Mar 7, 2007, at 9:48 AM, Vincent Bray wrote: > Hi, welcome to rewrite-in-htaccess pain and suffering. As you're able > to use RewriteLog, why put rewrite rules in htaccess? When I tried that my

Re: [EMAIL PROTECTED] mod_rewrite problem

2007-03-07 Thread Israel Brewster
Thanks for your response and suggestions. On Mar 7, 2007, at 9:48 AM, Vincent Bray wrote: Hi, welcome to rewrite-in-htaccess pain and suffering. As you're able to use RewriteLog, why put rewrite rules in htaccess? When I tried that my RewriteRules stopped working entirely :P I suspect that

Re: [EMAIL PROTECTED] Awstats and re-write rule for Zope

2007-03-07 Thread Vincent Bray
On 08/03/07, Norman Khine <[EMAIL PROTECTED]> wrote: ServerName domain.com ServerAlias www.domain.com RewriteEngine On #DenyHosts Rules RewriteMaphosts-deny txt:/home/user/apache/hosts.deny RewriteCond ${hosts-deny:%{REMOTE_HOST}|NOT-FOUND} !=NOT-FOUND [OR] RewriteCond

Re: [EMAIL PROTECTED] Apache on Windows

2007-03-07 Thread matt farey
Nathan Kellogg wrote: > > > Does this mean that an XP box running Apache would be limited to 10 > concurrent web browser users? My impression of this was that the > connection limit only applied to the Windows Network connections and > not to http/https/etc... if you don't patch the tcp stack,

Re: [EMAIL PROTECTED] Awstats and re-write rule for Zope

2007-03-07 Thread Norman Khine
Thank you all of your help, but I am still having problems in setting this up. Here is the vhosts entry in my /etc/apache2/vhosts.d/domain.conf file ServerName domain.com ServerAlias www.domain.com RewriteEngine On #DenyHosts Rules RewriteMaphosts-deny txt:/home/user/apache/ho

Re: [EMAIL PROTECTED] Apache on Windows

2007-03-07 Thread Nathan Kellogg
Does this mean that an XP box running Apache would be limited to 10 concurrent web browser users? My impression of this was that the connection limit only applied to the Windows Network connections and not to http/https/etc... In fact it is metered by NTLM authentication, if you loade

Re: [EMAIL PROTECTED] Re: mod_proxy doesn't proxy with %2F

2007-03-07 Thread Jack Saunders
Mike, I was running into the exact same issue with proxying to a lotus Workplace (Quickplace) application. Can you give me more indepth information on how you resolved this. Thanks a bunch! Jack On 3/7/07, Mike Cardwell <[EMAIL PROTECTED]> wrote: * on the Wed, Mar 07, 2007 at 02:48:16PM +

Re: [EMAIL PROTECTED] mod_rewrite problem

2007-03-07 Thread Vincent Bray
On 08/03/07, Israel Brewster <[EMAIL PROTECTED]> wrote: Looking at the rewrite log shows the following entries: xxx.xxx.xxx.xxx - - [07/Mar/2007:08:28:03 -0900] [izzy.homeip.net/ sid#1802648][rid#1838c38/initial] (2) init rewrite engine with requested uri /nagios xxx.xxx.xxx.xxx - - [07/Mar/2007

Re: [EMAIL PROTECTED] Apache on Windows

2007-03-07 Thread William A. Rowe, Jr.
Arthur Kreitman wrote: > One caution for Apache on XP. The licensing for XP limits you to 10 > simultaneous incoming tcp connections. Of course that's the word of the license. Obviously 'what's a connection' is always interesting, you end up with far more than 10 connections using email/web

RE: [EMAIL PROTECTED] Apache on Windows

2007-03-07 Thread Arthur Kreitman
One caution for Apache on XP. The licensing for XP limits you to 10 simultaneous incoming tcp connections. > -Original Message- > From: Paul Simon [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 07, 2007 10:33 AM > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] Apache

Re: [EMAIL PROTECTED] Apache on Windows

2007-03-07 Thread Paul Simon
I've been running apache on windows (2003, 2000, XP) for the last 4 years. One server is for proxying (mod_proxy and OpenSSL) and the other is for running php apps. The servers get about 5000 visitors daily. There haven't been any serious issues. My experience is that it's more challenging runn

Re: [EMAIL PROTECTED] Render an image for a 404 on images

2007-03-07 Thread matt farey
philguillard wrote: > Hi, > > Thank you guys. > Unfortunately i didn't succed with the Directory directive soluion > because of some other rewrite rules. > But with mod rewrite i succeded doing this: > > RewriteCond %{REQUEST_URI} /img/folder/(.*)\.jpg$ > RewriteCond /usr/local/apache2/htdocs

[EMAIL PROTECTED] mod_rewrite problem

2007-03-07 Thread Israel Brewster
I am having a very aggravating problem with Rewrite rules, one in particular. In the root level of my webserver, I have an .htaccess file that includes (among others) the following lines: RewriteEngine On RewriteBase / RewriteRule ^nagios[/A-Za-z0-9]* index.php?/categories/8-Nagios [NC,QSA,

RE: [EMAIL PROTECTED] RE: Apache on Windows

2007-03-07 Thread Randall Fox
Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 07, 2007 10:14 AM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] RE: Apache on Windows We've been using Apache 2.2.X on Windows Server 2003 for a number of months now and still have

Re: [EMAIL PROTECTED] Re: mod_proxy doesn't proxy with %2F

2007-03-07 Thread Mike Cardwell
* on the Wed, Mar 07, 2007 at 02:48:16PM +, Mike Cardwell wrote: > This was on the dev list. I've brought it onto the users list as I no > longer think it's a bug as such. Please see my original email above, and > my update below for the issue. > > Right. I've made a *little* progress. Readin

RE: [EMAIL PROTECTED] Antwort: [EMAIL PROTECTED] apache httpd + jboss + mod_jk : Failed opening socket to (172.16.2.229:8009) (errno=13)

2007-03-07 Thread Preetam Palwe
Thanks Dietmar Yes Jboss (tomcat) is on same machine. And is running fine. JK is configured. I can see it by $ netstat -a tcp0 0 *:8009 *:* LISTEN Java process is listening on 8009. Even I can connect to 172.16.2.229:8009 using a simple java program and

[EMAIL PROTECTED] RE: Apache on Windows

2007-03-07 Thread sniedermeyer
We've been using Apache 2.2.X on Windows Server 2003 for a number of months now and still haven't been able to pin down why it periodically stops communicating with our backend servers when reverse proxying. Also, there are some enhancements for performance on Windows that are suggested to be disa

RE: [EMAIL PROTECTED] Automatic Redirect to a Secure Page in Apache 2.2.2

2007-03-07 Thread Kaplan, Andrew H.
Hi there -- I got it to work using the following syntax in the httpd.conf file: ServerName FQDN ServerAdmin DocumentRoot/var/www/html DirectoryIndex index.html index.shtml RewriteEngine on RewtireCond %{SERVER_PORT} ^80

Re: [EMAIL PROTECTED] Render an image for a 404 on images

2007-03-07 Thread philguillard
Hi, Thank you guys. Unfortunately i didn't succed with the Directory directive soluion because of some other rewrite rules. But with mod rewrite i succeded doing this: RewriteCond %{REQUEST_URI} /img/folder/(.*)\.jpg$ RewriteCond /usr/local/apache2/htdocs/%{REQUEST_URI} !-f RewriteRule ^(.

Re: [EMAIL PROTECTED] Automatic Redirect to a Secure Page in Apache 2.2.2

2007-03-07 Thread Vincent Bray
On 07/03/07, Kaplan, Andrew H. <[EMAIL PROTECTED]> wrote: Hi there -- I checked the ssl.conf file, and there is a RedirectPermanent line already in place. The line reads as follows: RedirectPermanent http:// "https://" That's wrong for two reasons. The first argument to Redirect(Permanent) is

[EMAIL PROTECTED] Antwort: [EMAIL PROTECTED] apache httpd + jboss + mod_jk : Failed opening socket to (172.16.2.229:8009) (errno=13)

2007-03-07 Thread Dietmar . Mueller
Is tomcat on this this server / port running and apj configured? regards Dietmar "Preetam Palwe" <[EMAIL PROTECTED]> 07.03.2007 14:35 Bitte antworten an users@httpd.apache.org An Kopie Thema [EMAIL PROTECTED] apache httpd + jboss + mod_jk : Failed opening socket to (172.16.2.229:8009) (e

[EMAIL PROTECTED] Re: mod_proxy doesn't proxy with %2F

2007-03-07 Thread Mike Cardwell
* on the Wed, Mar 07, 2007 at 10:28:22AM +, Mike Cardwell wrote: > Using the standard Redhat Enterprise 4, Apache 2.0.52 RPMs here. I have > a CommunigatePro server. It runs it's own http daemon for the > administration interface, and webmail. We needed to extend it in several > ways, so I stu

RE: [EMAIL PROTECTED] Automatic Redirect to a Secure Page in Apache 2.2.2

2007-03-07 Thread Kaplan, Andrew H.
Hi there -- I checked the ssl.conf file, and there is a RedirectPermanent line already in place. The line reads as follows: RedirectPermanent http:// "https://" I can get to the secure website if I manually enter the following text in the web browser: https:// However, if I enter http://, I ge

Re: [EMAIL PROTECTED] Automatic Redirect to a Secure Page in Apache 2.2.2

2007-03-07 Thread Vincent Bray
On 07/03/07, Kaplan, Andrew H. <[EMAIL PROTECTED]> wrote: Hi there -- I have set up SquirrelMail on our e-mail server and I would like to have users be automatically redirected to a secure or https page when they type in the URL to get to the initial login page. The apache server is version 2.2

RE: [EMAIL PROTECTED] Apache on Windows

2007-03-07 Thread Schultz, Gary - COMM
Run it on Windows Server 2003 and XP with no real issues. Use with OpenSSL and PHP. Good resources to use for Apache on Windows can be found at: http://hunter.campbus.com/ http://www.apachelounge.com/ Gary T. Schultz IT Administrator

[EMAIL PROTECTED] Automatic Redirect to a Secure Page in Apache 2.2.2

2007-03-07 Thread Kaplan, Andrew H.
Hi there -- I have set up SquirrelMail on our e-mail server and I would like to have users be automatically redirected to a secure or https page when they type in the URL to get to the initial login page. The apache server is version 2.2.2. What file(s) should I modify to make this happen? Thanks

[EMAIL PROTECTED] apache httpd + jboss + mod_jk : Failed opening socket to (172.16.2.229:8009) (errno=13)

2007-03-07 Thread Preetam Palwe
Hello All I am trying to configure apache and jboss using mod_jk connector. I am using httpd-2.2.3-5, jboss-4.0.3SP1 and jk tomcat-connectors-1.2.21. After the proper configuration when I try to access my webapp at http://172.16.2.229/rcs I get "Service Temporarily Unavailable" error. In mod_

RE: [EMAIL PROTECTED] mod_actions.c: Action to take more arguments

2007-03-07 Thread Jan van den Berg
I am familiar with this option, however this is not really what I want. My wrapper is a bash shell script so for every invoke (Action) Apache spawns a shell process. I don't want that. Jan -Oorspronkelijk bericht- Van: Vincent Bray [mailto:[EMAIL PROTECTED] Verzonden: woensdag 7 maart 20

Re: [EMAIL PROTECTED] "attempt to invoke directory as script" error when accessing root directory

2007-03-07 Thread Vincent Bray
On 07/03/07, thomas Armstrong <[EMAIL PROTECTED]> wrote: Hi, Using Apache 2.0.59 on Linux, I try to install a ScriptAlias. My DocumentRoot is '/home/project/web', and the ScriptAlias directive within httpd.conf is: - ScriptAlias /videos/ /home/project/modules/videos/web/ AddHandler

Re: [EMAIL PROTECTED] mod_actions.c: Action to take more arguments

2007-03-07 Thread Vincent Bray
On 06/03/07, Jan van den Berg <[EMAIL PROTECTED]> wrote: "Action takes two arguments, a media type followed by a script name" Is this easy to fix/workaround, do I have to hack the source for this? Are there other ways of doing this? Just write a wrapper script that calls your cgi with the argu

[EMAIL PROTECTED] Integrationg PHP as module to Apache

2007-03-07 Thread Trinath Somanchi
Hi All, I'm building and stand alone static linked APACHE +PHP+PGSQL pack. PGSQL is done with static linking but php with apache is troubling. I have configured PHP5 as [code]$ ./configure --enable-static --disable-shared --with-pgsql=/home/sss_user/server/pgsql/ --prefix=/home/sss_user/ser

[EMAIL PROTECTED] "attempt to invoke directory as script" error when accessing root directory

2007-03-07 Thread thomas Armstrong
Hi, Using Apache 2.0.59 on Linux, I try to install a ScriptAlias. My DocumentRoot is '/home/project/web', and the ScriptAlias directive within httpd.conf is: - ScriptAlias /videos/ /home/project/modules/videos/web/ AddHandler application/x-httpd-php .php AddHandler text/css css

[EMAIL PROTECTED] Re: "(8)Exec format error: exec of 'test.CSS' failed" when ScriptAlias

2007-03-07 Thread thomas Armstrong
Sorry, it works ok. I failed to include the line in the right place :( Regards. On 3/7/07, thomas Armstrong <[EMAIL PROTECTED]> wrote: Hi, Using Apache 2.0.59 on Linux, I try to install a ScriptAlias. My DocumentRoot is '/home/project/web', and the ScriptAlias directive within httpd.conf is:

[EMAIL PROTECTED] "(8)Exec format error: exec of 'test.CSS' failed" when ScriptAlias

2007-03-07 Thread thomas Armstrong
Hi, Using Apache 2.0.59 on Linux, I try to install a ScriptAlias. My DocumentRoot is '/home/project/web', and the ScriptAlias directive within httpd.conf is: - ScriptAlias /videos/ /home/project/modules/videos/web/ AddHandler application/x-httpd-php .php AddHandler text/css

Re: [EMAIL PROTECTED] How to cache the responses for XMLHttpRquest

2007-03-07 Thread matt farey
Pid wrote: > Erica Zhang wrote: >> Hi, >> I want to cache the responses for XMLHttpRequest, that is dynamic >> content. I have configureed http.conf using Expires to add headers to >> those responses. However, I still could not find those responses to >> be able to be cached by use of web browser

Re: [EMAIL PROTECTED] How to cache the responses for XMLHttpRquest

2007-03-07 Thread Pid
Erica Zhang wrote: Hi, I want to cache the responses for XMLHttpRequest, that is dynamic content. I have configureed http.conf using Expires to add headers to those responses. However, I still could not find those responses to be able to be cached by use of web browser (Firefox 2.0). Also, I t