Re: [EMAIL PROTECTED] problem with NAT, Public IP's and SSL cert

2007-10-31 Thread Hans
Matus UHLAR - fantomas wrote: On 10/27/07, Hans <[EMAIL PROTECTED]> wrote: In last week our customer requested to put new ssl cert for him with his own IP. I created VIP and forwarded to ports:80 and 443. But I have problem with configuration. Before few words about my future conf, during

Re: [EMAIL PROTECTED] Logging to a MySQL Database

2007-10-31 Thread Samuel Vogel
Hey guys, I am running Apache 2.2 and did try out mod_log_mysql to make my logs to to an mysql table. Unfortunately I do run apache in prefork mode and in peak times, there are arround 700 processes running. The bad thing is that mod_log_mysql makes a new mysql connection for every single thre

RE: [EMAIL PROTECTED] Apache 2.2.6 Compile Error: --with-expat

2007-10-31 Thread Stusynski, Dan
Bill, Thanks for the reply. I forgot to mention that the path to expat is in the expanded apache source tree. "--with-expat=/home/snow/dstusynski/solarisSparc/apache226/httpd-2.2.6/s rclib/apr-util/xml/expat" /srclib/apr-util/xml/expat. Will it not compile if pointed to itself, is that a mist

Re: [EMAIL PROTECTED] Apache 2 IP_Forwarding

2007-10-31 Thread Nick Kew
On Wed, 31 Oct 2007 14:10:26 -0700 "Shaw, Dan" <[EMAIL PROTECTED]> wrote: > 1.Does Apache 2.0.X already provide this functionality? Couldn't speak for 2.0 without looking, but it's standard in 2.2. -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachet

[EMAIL PROTECTED] mod_proxy

2007-10-31 Thread Alberto García Gómez
How to compare cookie value to request URLCan I proxying a connection using mod_proxy in avirtual host? Este correo ha sido enviado desde el Politécnico de Informática "Carlos Marx" de Matanzas. "La gran batalla se librará en el campo de las ideas"

[EMAIL PROTECTED] Apache 2 IP_Forwarding

2007-10-31 Thread Shaw, Dan
Hello, We are looking for feedback or heck even a solution on the following In order to get the IP address of the client, instead of the IP address of the proxy server, the mod_w3c_ip_forwarding.c program can be compiled into Apache < 1.3.6. How does one achieve this same functionality in Apa

[EMAIL PROTECTED] APACHE mod_rewrite

2007-10-31 Thread Alberto García Gómez
How to compare cookie value to request URLI have this URL http://www.myserver.com/dir1/dir2/page.html and I wish to rewrite the url using mod_rewrite to add a ~ after the first dir always, eg.: http://www.myserver.com/~dir1/dir2/page.html Please it's very important to make this ASAP best rega

Re: [EMAIL PROTECTED] Apache 2.2.6 Compile Error: --with-expat

2007-10-31 Thread William A. Rowe, Jr.
Stusynski, Dan wrote: Greetings list, I'm having an issue I can't seem to resolve when compiling Apache 2.2.6 on both Sun Solaris 10 and AIX 5.3 machines with the expat library. I'm running into a break when configuring with expat. The compile error is below and appears solely related to expat.

[EMAIL PROTECTED] How to compare cookie value to request URL

2007-10-31 Thread ursula . schwantag
Hi, In the webserver configuration, I need to compare the value of a cookie against the request URL. E.g. on a request for /path/to/files/abc.zip, return the file if the cookie contains the file name: MYCOOKIE=abc.zip. Otherwise redirect to a different page. With RewriteCond, I can compare th

Re: [EMAIL PROTECTED] Logging to a MySQL Database

2007-10-31 Thread Nick Kew
On Wed, 31 Oct 2007 20:51:54 +0100 Samuel Vogel <[EMAIL PROTECTED]> wrote: > Hey guys, > > I am running Apache 2.2 and did try out mod_log_mysql to make my logs > to to an mysql table. Unfortunately I do run apache in prefork mode > and in peak times, there are arround 700 processes running. > Th

[EMAIL PROTECTED] Apache 2.2.6 Compile Error: --with-expat

2007-10-31 Thread Stusynski, Dan
Greetings list, I'm having an issue I can't seem to resolve when compiling Apache 2.2.6 on both Sun Solaris 10 and AIX 5.3 machines with the expat library. I'm running into a break when configuring with expat. The compile error is below and appears solely related to expat. As such, I tried to comp

[EMAIL PROTECTED] Logging to a MySQL Database

2007-10-31 Thread Samuel Vogel
Hey guys, I am running Apache 2.2 and did try out mod_log_mysql to make my logs to to an mysql table. Unfortunately I do run apache in prefork mode and in peak times, there are arround 700 processes running. The bad thing is that mod_log_mysql makes a new mysql connection for every single thre

Re: [EMAIL PROTECTED] Apache 2.2.6 Windows 2003

2007-10-31 Thread William A. Rowe, Jr.
Blasdel, Jerry wrote: For Apache 2.2.2 we did not have to. We went ahead and tried to install the Microsoft Visual C++ 2005 Redistributable Package (x86) on the target server with no luck. Windows 2003 has a different permissions model. Are you sure you are either running command line without

Re: [EMAIL PROTECTED] Apache 2.2.6 Windows 2003

2007-10-31 Thread William A. Rowe, Jr.
Blasdel, Jerry wrote: Is there a way to tell from the built objects if we inadvertently compiled for debug or not? We are calling _apacher and then installr in the Makefile.win. You had done right. All I can suggest is that VC has a nifty tool named depends.exe (it has a dll or two it require

RE: [EMAIL PROTECTED] Apache 2.2.6 Windows 2003

2007-10-31 Thread Blasdel, Jerry
Is there a way to tell from the built objects if we inadvertently compiled for debug or not? We are calling _apacher and then installr in the Makefile.win. -Original Message- From: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 31, 2007 02:10 PM To: users@httpd

Re: [EMAIL PROTECTED] Apache 2.2.6 Windows 2003

2007-10-31 Thread William A. Rowe, Jr.
Sander Temme wrote: On Oct 31, 2007, at 11:54 AM, Blasdel, Jerry wrote: For Apache 2.2.2 we did not have to. We went ahead and tried to install the Microsoft Visual C++ 2005 Redistributable Package (x86) on the target server with no luck. We did try to recompile with VC++ Express and tried t

Re: [EMAIL PROTECTED] Apache 2.2.6 Windows 2003

2007-10-31 Thread Sander Temme
On Oct 31, 2007, at 11:54 AM, Blasdel, Jerry wrote: For Apache 2.2.2 we did not have to. We went ahead and tried to install the Microsoft Visual C++ 2005 Redistributable Package (x86) on the target server with no luck. We did try to recompile with VC++ Express and tried to generate intern

RE: [EMAIL PROTECTED] Apache 2.2.6 Windows 2003

2007-10-31 Thread Arthur Kreitman
What version of VC++ are you using, 2005? From: Blasdel, Jerry [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 31, 2007 2:17 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Apache 2.2.6 Windows 2003 Hello, We have Apache 2.2.6 compiled (our

Re: [EMAIL PROTECTED] Apache 2.2.6 Windows 2003

2007-10-31 Thread William A. Rowe, Jr.
Blasdel, Jerry wrote: For Apache 2.2.2 we did not have to. We went ahead and tried to install the Microsoft Visual C++ 2005 Redistributable Package (x86) on the target server with no luck. We did try to recompile with VC++ Express and tried to generate internal manifests for all exes and .so an

RE: [EMAIL PROTECTED] Apache 2.2.6 Windows 2003

2007-10-31 Thread Blasdel, Jerry
For Apache 2.2.2 we did not have to. We went ahead and tried to install the Microsoft Visual C++ 2005 Redistributable Package (x86) on the target server with no luck. We did try to recompile with VC++ Express and tried to generate internal manifests for all exes and .so and .dll and now we get a

Re: [EMAIL PROTECTED] FW: Apache 2 IP_Forwarding

2007-10-31 Thread Joshua Slive
On 10/31/07, Shaw, Dan <[EMAIL PROTECTED]> wrote: > > > > > Hello, > > We are looking for feedback or heck even a solution on the following > > > > In order to get the IP address of the client, instead of the IP address of > the proxy server, the mod_w3c_ip_forwarding.c program can be compiled into

Re: [EMAIL PROTECTED] Apache 2.2.6 Windows 2003

2007-10-31 Thread Sander Temme
On Oct 31, 2007, at 11:17 AM, Blasdel, Jerry wrote: We have Apache 2.2.6 compiled (our compile not using canned binaries) with VC++ Express and it is working for Windows XP but we just tried installing it to Windows 2003 Server and it will not recognize httpd.exe. If we run it from the co

[EMAIL PROTECTED] Apache 2.2.6 Windows 2003

2007-10-31 Thread Blasdel, Jerry
Hello, We have Apache 2.2.6 compiled (our compile not using canned binaries) with VC++ Express and it is working for Windows XP but we just tried installing it to Windows 2003 Server and it will not recognize httpd.exe. If we run it from the command line we get "The system cannot execute the spe

[EMAIL PROTECTED] FW: Apache 2 IP_Forwarding

2007-10-31 Thread Shaw, Dan
Hello, We are looking for feedback or heck even a solution on the following In order to get the IP address of the client, instead of the IP address of the proxy server, the mod_w3c_ip_forwarding.c program can be compiled into Apache < 1.3.6. How does one achieve this same functionality in Apa

Re: [EMAIL PROTECTED] Newbie Alert! Apache 2.2.6 crash on start

2007-10-31 Thread Tom Hart
You mentioned that you didn't see anything in the error log, what about Windows Event Viewer? In my experience, if apache doesn't log an error in the standard error log, then it logged something in event viewer. Carly Stone wrote: Hi All. Hope you are well. I'm a newbie to Apache and this grou

[EMAIL PROTECTED] Newbie Alert! Apache 2.2.6 crash on start

2007-10-31 Thread Carly Stone
Hi All. Hope you are well. I'm a newbie to Apache and this group, so please forgive my lack of experience and knowledge. I am trying to install Apache on my home pc so that I can practice server-side scripting. I have just installed the latest Apache, but it crashes almost before it starts! No

[EMAIL PROTECTED] executing "apachectl start" using back-quotes appears to 'hang' with httpd v2.2.6

2007-10-31 Thread Sean Timmins
We have several webservers currently running on apache httpd v2.2.3. They are started and stopped by a wrapper script which at some point simply calls "apachectl stop" or "apachectl start" to control the webserver. This is all working fine, we have had no issues with it. I am currently trying t

Re: [EMAIL PROTECTED] routing requests to two different servers

2007-10-31 Thread solprovider
On 10/31/07, Boyle Owen <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > > > > Splitting a stream is useful. Older people remember when forms were > > sent in triplicate. Then office workers made a copy of every paper to > > cros

Re: [EMAIL PROTECTED] .htaccess and authentication inside/outside network

2007-10-31 Thread Neil A. Hillard
Sean, Sean Brown wrote: > Hi All, > > I'm trying to figure out the right prescription for the following > scenario. When my users are inside our firewall (a 192.168.x.x > network), I'd like them to be able to browse a particular site without > any authentication at all. If they want to see the

[EMAIL PROTECTED] .htaccess and authentication inside/outside network

2007-10-31 Thread Sean Brown
Hi All, I'm trying to figure out the right prescription for the following scenario. When my users are inside our firewall (a 192.168.x.x network), I'd like them to be able to browse a particular site without any authentication at all. If they want to see the site from home, or anywhere outside o

Re: [EMAIL PROTECTED] Apache 2.2.6 mod_proxy EAServer

2007-10-31 Thread Jim Jagielski
On Wed, Oct 31, 2007 at 12:36:21PM +, Nick Kew wrote: > On Wed, 31 Oct 2007 07:23:40 -0500 > "Blasdel, Jerry" <[EMAIL PROTECTED]> wrote: > > > I think we found our problem. Because our application can take a long > > time to generate reports, the developer had set the following: > > > > Prox

Re: [EMAIL PROTECTED] Why the encoded url can't be used in the directive of alias?

2007-10-31 Thread Nick Kew
On Wed, 31 Oct 2007 17:57:25 +0800 ChiaTzung Liu -劉佳宗 <[EMAIL PROTECTED]> wrote: > Hi.. > > Did anyone try to set the encoded url? If I set > "Alias /MyWeb/%A4%D1%A4%D1%B6%7D%A4%DF /i-data/e1cd5e28/book", then I Apache unescapes URLs before applying aliases. To do otherwise would open it up

Re: [EMAIL PROTECTED] poor man's mod_deflate (mod_rewrite recipe)

2007-10-31 Thread Nick Kew
On Wed, 31 Oct 2007 09:42:38 +0100 Christian Folini <[EMAIL PROTECTED]> wrote: > It works on static files only and it means you have to > gzip the static files in the filesystem in order to make > it work. But afterwards you'll get a really fast server. That's perfectly normal. > I think it is w

Re: [EMAIL PROTECTED] Apache 2.2.6 mod_proxy EAServer

2007-10-31 Thread Nick Kew
On Wed, 31 Oct 2007 07:23:40 -0500 "Blasdel, Jerry" <[EMAIL PROTECTED]> wrote: > I think we found our problem. Because our application can take a long > time to generate reports, the developer had set the following: > > ProxyTimeout 2147483647 > > In Apache 2.2.2 this was fine. With Apache 2.2

RE: [EMAIL PROTECTED] Apache 2.2.6 mod_proxy EAServer

2007-10-31 Thread Blasdel, Jerry
I think we found our problem. Because our application can take a long time to generate reports, the developer had set the following: ProxyTimeout 2147483647 In Apache 2.2.2 this was fine. With Apache 2.2.6 I believe it was converting that value to a negative number so the proxy was timing out i

[EMAIL PROTECTED] Serving UTF-8 filenames under Linux

2007-10-31 Thread anatoly techtonik
Where are setting for filename encoding used by Apache httpd to find files with international symbols in their names? I need to serve files named in russian. I've successfully setup Tomcat to do this using UTF-8 encoding, but static resources are given out by Apache httpd on production server. Apa

Re: [EMAIL PROTECTED] problem with NAT, Public IP's and SSL cert

2007-10-31 Thread Matus UHLAR - fantomas
> On 10/27/07, Hans <[EMAIL PROTECTED]> wrote: > > In last week our customer requested to put new ssl cert for him with his > > own IP. I created VIP and forwarded to ports:80 and 443. > > But I have problem with configuration. > > > > Before few words about my future conf, during next few weeks I

Re: [EMAIL PROTECTED] Apache netstat output: strange connection weirdness

2007-10-31 Thread Christian Folini
On Wed, Oct 31, 2007 at 11:09:02AM +0100, Jack Tuckson wrote: > Apache 2.2.6. okay. thanks. > I can't provide configs, but the Listen directives are correct. you choose. > My question is whether Apache uses tcp connections for mod_cache to > communicate with Apache. Your Apache front instance

Re: [EMAIL PROTECTED] Apache netstat output: strange connection weirdness

2007-10-31 Thread Jack Tuckson
On 10/31/07, Christian Folini <[EMAIL PROTECTED]> wrote: > > Hi there, > > I do not really understand your setup. Are you intending to say, > that you have two seperate apache instances, one serving via > mod_cache and the other one (in front) proxying requests > via mod_proxy_balancer? Yes . Pl

Re: [EMAIL PROTECTED] Apache netstat output: strange connection weirdness

2007-10-31 Thread Christian Folini
Hi there, I do not really understand your setup. Are you intending to say, that you have two seperate apache instances, one serving via mod_cache and the other one (in front) proxying requests via mod_proxy_balancer? Please be very clear with your setup. Then please provide your apache versions a

[EMAIL PROTECTED] poor man's mod_deflate (mod_rewrite recipe)

2007-10-31 Thread Christian Folini
Hi there, We have been playing around with mod_deflate and caching the other day to solve an urgent performance problem, where mod_deflate was not an option. We got some sort of poor man's mod_deflate out of it. It works on static files only and it means you have to gzip the static files in the

RE: [EMAIL PROTECTED] routing requests to two different servers

2007-10-31 Thread Boyle Owen
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > > Splitting a stream is useful. Older people remember when forms were > sent in triplicate. Then office workers made a copy of every paper to > cross their desks. Now smart people keep a copy of every file pa