Re: [us...@httpd] Re: Mod rewrite

2010-01-09 Thread Jonathan Zuckerman
On Sat, Jan 9, 2010 at 9:48 PM, pkm2112 wrote: > Ok let me explain > From http://clc.ncs.com/inventoryappl, I'm redirected to > http://server1.ncs.com/inventoryappl. > > Instead of displaying http://server1.ncs.com/inventoryappl, > want to display http://s1.ncs.com/inventoryappl > > Can it be do

Re: [us...@httpd] Re: Mod rewrite

2010-01-09 Thread pkm2112
Ok let me explain >From http://clc.ncs.com/inventoryappl, I'm redirected to http://server1.ncs.com/inventoryappl. Instead of displaying http://server1.ncs.com/inventoryappl, want to display http://s1.ncs.com/inventoryappl Can it be done with RewriteRule. I'm new to apache server. Please help rg

Re: [us...@httpd] LimitRequestBody not dropping connections

2010-01-09 Thread Alex Drummond
Nick Kew wrote: > Firefox probably asked for a keepalive connection. Your telnet didn't. I did set KeepAlive to 'off' in httpd.conf when testing; not sure what difference this would make. > Is your backend script being passed the oversized request, > or is it just an issue of keeping the connect

Re: [us...@httpd] LimitRequestBody not dropping connections

2010-01-09 Thread Nick Kew
Alex Drummond wrote: POST /webappdir/ HTTP/1.0 Content-Length: 30 Apache sends a 413 and closes the connection as soon as I enter the line break after the headers. I've checked that Firefox is sending an appropriate Content-Length header, so the difference in browser/telnet behavior sho

Re: [us...@httpd] Apache 2.2 not working with LDAP Fail Over Auth

2010-01-09 Thread Muzammel Asghar
Hi Eric Below comes in apache debug logs when primary ldap1 is unreachable or down. [Sat Jan 09 20:05:58 2010] [debug] proxy_util.c(1806): proxy: grabbed scoreboard slot 0 in child 22152 for worker proxy:reverse [Sat Jan 09 20:05:58 2010] [debug] proxy_util.c(1825): proxy: worker proxy:reverse al

Re: [us...@httpd] Mod_Rewrite voodoo

2010-01-09 Thread Reese
On 09-Jan-10 14:29, Eric Covener wrote: I tried: RewriteEngine On RewriteCond %{HTTP_HOST} subdomain\.domain\.ext RewriteCond %{REQUEST_URI} ^/20\d+ RewriteRule (.*)(0[5-9]).html$ /20$2/$1$2.html [R=301,L] For http://subdomain.domain.ext/fileDDMMYY.ext there was no effect, that file loaded at

Re: [us...@httpd] Mod_Rewrite voodoo

2010-01-09 Thread Eric Covener
On Sat, Jan 9, 2010 at 3:18 PM, Reese wrote: > On 09-Jan-10 14:29, Eric Covener wrote: > >>> I tried: >>> >>> RewriteEngine On >>> RewriteCond %{HTTP_HOST} subdomain\.domain\.ext >>> RewriteCond %{REQUEST_URI} ^/20\d+ >>> RewriteRule (.*)(0[5-9]).html$ /20$2/$1$2.html [R=301,L] >>> >>> For http://

Re: [us...@httpd] Apache 2.2 not working with LDAP Fail Over Auth

2010-01-09 Thread Muzammel Asghar
HI Eric I can close browser and access url again but this time no error comes in error log file in debugging mode, but my request url is currently still in processing and apache is trying to seek ldap1. Muzi On Sun, Jan 10, 2010 at 1:13 AM, Muzammel Asghar wrote: > Hi Eric > > Below comes in ap

Re: [us...@httpd] LimitRequestBody not dropping connections

2010-01-09 Thread Eric Covener
On Sat, Jan 9, 2010 at 3:25 PM, Alex Drummond wrote: > Hi, > > I have a problem with using the LimitRequestBody directive to limit > file upload size. I'm using apache 2.2.14 on linux (CentOS). If I > attempt to upload a large file via a browser (I've tried this with > Firefox and Safari), Apache

[us...@httpd] LimitRequestBody not dropping connections

2010-01-09 Thread Alex Drummond
Hi, I have a problem with using the LimitRequestBody directive to limit file upload size. I'm using apache 2.2.14 on linux (CentOS). If I attempt to upload a large file via a browser (I've tried this with Firefox and Safari), Apache does not drop the connection and only gives an error once all th

Re: [us...@httpd] Apache 2.2 not working with LDAP Fail Over Auth

2010-01-09 Thread Muzammel Asghar
Right thanks, i check late this email, i have started the apache in debug mode but no logs comes in error and access logs, let me verify again and then update you. so much thanks, i will update you. On Sat, Jan 9, 2010 at 8:50 PM, Eric Covener wrote: > On Sat, Jan 9, 2010 at 8:53 AM, Muzammel

Re: [us...@httpd] Mod_Rewrite voodoo

2010-01-09 Thread Eric Covener
On Sat, Jan 9, 2010 at 1:37 PM, Reese wrote: > On 09-Jan-10 13:07, Eric Covener wrote: > >> To kill the looping: >> >> RewriteCond %{REQUEST_URI} ^/20\d+ > > I tried: > > RewriteEngine On > RewriteCond %{HTTP_HOST} subdomain\.domain\.ext > RewriteCond %{REQUEST_URI} ^/20\d+ > RewriteRule (.*)(0[5-

[us...@httpd] Re: solved: help compiling apache 2.2.14 and openssl-0.9.8l using vs2008

2010-01-09 Thread hc
correction: regarding needing to exclude zlib, that was apparently due to an error on my part. I have now gotten apache 2.2.14 to compile with openssl 0.9.8l and zlib. So I am amending my instructions to these: Yes you can compile apache 2.2.14 with openssl-0.9.8l and zlib with vs2008 professional

Re: [us...@httpd] Mod_Rewrite voodoo

2010-01-09 Thread Reese
On 09-Jan-10 13:07, Eric Covener wrote: To kill the looping: RewriteCond %{REQUEST_URI} ^/20\d+ I tried: RewriteEngine On RewriteCond %{HTTP_HOST} subdomain\.domain\.ext RewriteCond %{REQUEST_URI} ^/20\d+ RewriteRule (.*)(0[5-9]).html$ /20$2/$1$2.html [R=301,L] For http://subdomain.domain.e

Re: [us...@httpd] Mod_Rewrite voodoo

2010-01-09 Thread Eric Covener
On Sat, Jan 9, 2010 at 12:54 PM, Reese wrote: > I said I would test this, > >>  RewriteEngine On >>  RewriteCond %{HTTP_HOST} subdomain\.domain\.ext >>  RewriteRule (.*)(0[5-6]).html$ /20$2/$1$2.html [R=301,L] > > Testing had mixed results. > > When this rule was at subdomain.domain.ext/sandbox/.h

Re: [us...@httpd] Mod_Rewrite voodoo

2010-01-09 Thread Reese
I said I would test this, RewriteEngine On RewriteCond %{HTTP_HOST} subdomain\.domain\.ext RewriteRule (.*)(0[5-6]).html$ /20$2/$1$2.html [R=301,L] Testing had mixed results. When this rule was at subdomain.domain.ext/sandbox/.htaccess and the submitted url was http://subdomain.domain.ext

Re: [us...@httpd] Apache on IA64

2010-01-09 Thread Jorge Schrauwen
I have not targetted IA64, but I've done a quite a lot of binaries for EMT64/AMD64. They mostly compile fine except a few kinks here and there in PSDK and such, but It should be possible. I'm not aware of any problems related to code that stops working, but I hardly use(d) every thing of apache. A

Re: [us...@httpd] Win 64 installation package

2010-01-09 Thread Jorge Schrauwen
If you can't build them your self, I offer a simple zip of the binaries on my website. http://www.blackdot.be/?inc=apache/binaries I can't guarantee that they'll always be the latest version. Nor that they are of the same quality of the ASF's binaries. I try to release the shortly after the offic

Re: [us...@httpd] Apache 2.2 not working with LDAP Fail Over Auth

2010-01-09 Thread Eric Covener
On Sat, Jan 9, 2010 at 8:53 AM, Muzammel Asghar wrote: > Hi Eric and other Guys > > I just want to clarify one more. > > Fail over cases > > Case 1) If ldap1 server is unreachable (in case of ISP down or internet link > > down) > > Case 2) If ldap1 server is up and accessible and running but ldap

Re: [us...@httpd] Apache 2.2 not working with LDAP Fail Over Auth

2010-01-09 Thread Muzammel Asghar
Hi Eric and other Guys I just want to clarify one more. Fail over cases Case 1) If ldap1 server is unreachable (in case of ISP down or internet link down) Case 2) If ldap1 server is up and accessible and running but ldap service is not running only. I can check thoroughly, Apache failover work

Re: [us...@httpd] Default layout

2010-01-09 Thread Jos Chrispijn
On 9-1-2010 9:17, Sean Conner wrote: Check out Thanks, that is exactly what I needed. Jos Chrispijn - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for

Re: [us...@httpd] Default layout

2010-01-09 Thread Sean Conner
It was thus said that the Great Jos Chrispijn once stated: > I have given a user access to a text (sub)directory. Can someone tell me > how I can change the default view layout of such a directory (the > default Apache view when not using index.html? > I would like to provide a wider tab on first

[us...@httpd] Re: Mod rewrite

2010-01-09 Thread Nicholas Sherlock
On 9/01/2010 8:07 p.m., pkm2112 wrote: Hello experts, Need help to mask url. I understand it can be done using RewriteRule in httpd.conf file. Can I display http://server1.ncs.com/inventoryappl as http://s1.ncs.com/inventoryappl If this is on the same server, just add a ServerAlias entry for