RE: [users@httpd] mod_deflate w/reverse proxy

2005-06-15 Thread Axel-Stéphane SMORGRAV
Be aware though that compressing stylesheets (.css) and JavaScript files (.js) may break most versions of MSIE. -ascs -Original Message- From: Joshua Slive [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 14, 2005 7:35 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_defla

RE: [users@httpd] RewriteRule problems

2005-06-15 Thread Axel-Stéphane SMORGRAV
L is not necessary when you use P. P will force the request to be handled by mod_proxy. -ascs -Original Message- From: Ian Huynh [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 14, 2005 7:08 PM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] RewriteRule problems what does your

[users@httpd] Apache.exe - Application error on Windows

2005-06-15 Thread Advait Suhas Pandit
Hi, I have JBoss 3.2.3 and Apache 2.0.52 running on a Windows 2K box. I do not want to integrate the 2 or anything. However, there seems to be some kind of conflict going on between JBoss and Apache. Sometime JBoss dies, and sometimes Apache does. I also see the following error in my event viewer -

RE: [users@httpd] Forcing External Redirect requests through mod_rewrite and proxy

2005-06-15 Thread Axel-Stéphane SMORGRAV
I think your problem may be the ^ in the folowing line: RewriteRule ^page/(.*) http://domain.com/Merchant2/merchant.mvc?page=$1 [P] since a URL path usually begins with a /. Try RewriteRule ^/page/(.*) http://domain.com/Merchant2/merchant.mvc?page=$1 [P] instead. -ascs ___

[users@httpd] apache 1.3.33 Timeout on CGI

2005-06-15 Thread Iori Honda
I build apache 1.3.33 on Solaris and run test cgi which fources timeout on httpd. It seems Internet explorer trys re-connection to httpd server when timeout from apache happens. The same URL is called 2-3 times. This is strange. But this is a browser issue. I checked apache behavior when timeout

Re: [users@httpd] Help! MaxClients Using Apache 2 For ReverseProxy

2005-06-15 Thread Joshua Slive
On 6/15/05, Lewars, Mitchell (EM, PTL) <[EMAIL PROTECTED]> wrote: > We have been hitting MaxClients on one of our Apache 2.0 servers, > running on RedHat. > The biggest difference between this web server and any others that we > have is that it uses mod_proxy to reverse proxy a bunch of urls to > d

RE: [users@httpd] ProxyPass with variables...

2005-06-15 Thread Fabricio Luiz Machado
Thanks Ian, it works. But I can´t use it, because it loads an URL with '8080' port... :-( Are there another way ? regards, Fabricio. --- Ian Huynh <[EMAIL PROTECTED]> escreveu: > > you can use mod_rewrite to change the URL and proxy at the same time. > > add these lines in your httpd.conf >

[users@httpd] Re: apache2: mod_cache: the order of CacheEnable and CacheDisable

2005-06-15 Thread john doe
Since nobody has replied so, I looked into its supposed source code: http://lxr.webperf.org/source.cgi/modules/cache/cache_util.c The logic seems to be like this: 1. If a url matches ANY of the CacheDisable entries, don't cache it and END of program. 2. Else if a url matches ANY of the CacheEnable

Re: [users@httpd] Problem redirecting http to https

2005-06-15 Thread Jignesh Badani
We have a similar problem. We have always been doing it the Virtual host way (virtual on port 80 redirects (permanant) to virtual on 443). In my Virtual host for port 80, I have: Redirect permanent / https://www.mysite.com/home/index.htm But this works fine only for the root (/) req

[users@httpd] Minimal Apache 2.0.x installation

2005-06-15 Thread Dan Trainor
Hello, all - I'm trying to modify Apache to the point where no un-necessary options are compiled in, or files are left around. I've done a pretty good job getting it down in both size and functionality, but I'm sure I'm missing some pieces. I guess what I'm asking here is, does anyone have any t

RE: [users@httpd] ProxyPass with variables...

2005-06-15 Thread Ian Huynh
you can use mod_rewrite to change the URL and proxy at the same time. add these lines in your httpd.conf LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule rewrite_module modules/mod_rewrite.so Rewri

[users@httpd] ProxyPass with variables...

2005-06-15 Thread Fabricio Luiz Machado
Hi there! I integrate Apache + JBOSS with mod_proxy and it´s working fine to me. Now, I will have a big application, for hundreds of different profile clients. These clients must access the application with an URL like this: http://app.mydomain.com/client1 http://app.mydomain.com/client2 http://

RE: [users@httpd] Remote Logging access_log with syslog-ng

2005-06-15 Thread PMilanese
You can pipe vhosts to their own logs. There is no way that I know of to put this in the main config though (i.e. servername as a variable), so you need to create CustomLog entries for each vhost, putting the servername as an argument (or in the filename).   P   From: Jan van de

Re: [users@httpd] mod_proxy over mod_rewrite precedence

2005-06-15 Thread Joshua Slive
On 6/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > RewriteRule ^/(.*) > http://www.domain.tld/$1?subjectdn=${escaper:%{SSL_CLIENT_S_DN}} [QSA,P] > > ProxyRequests Off > ProxyPass / http://www.domain.tld/ > ProxyPassReverse / https://www.domain.tld/ > RewriteLog is empty eve

[users@httpd] Help! MaxClients Using Apache 2 For ReverseProxy

2005-06-15 Thread Lewars, Mitchell \(EM, PTL\)
We have been hitting MaxClients on one of our Apache 2.0 servers, running on RedHat. The biggest difference between this web server and any others that we have is that it uses mod_proxy to reverse proxy a bunch of urls to different backend web servers. This web site does less than a third of t

[users@httpd] Does Apache Work on VxWorks??? AnyIdeas

2005-06-15 Thread RAJESH SEGU
Hai Guys! Does anybody have idea of Apache Working in VxWorks or any special compatible version. Thanks In Advance! segu rajesh. --- [EMAIL PROTECTED] wrote: > Hi all, > > following "apache as reverse-proxy : forwarding SSL > environment > variables", I just set up my proxy as below : > >

[users@httpd] mod_proxy over mod_rewrite precedence

2005-06-15 Thread lists
Hi all, following "apache as reverse-proxy : forwarding SSL environment variables", I just set up my proxy as below : ServerName www.domain.tld RewriteEngine On RewriteLogLevel 9 RewriteLog /tmp/rewrite.log RewriteCond %{QUERY_STRING} subjectdn= RewriteRule .* - [F] RewriteMap escaper

[users@httpd] Remote Logging access_log with syslog-ng

2005-06-15 Thread Jan van den Berg
Hi,   (please ignore my last post)   Right now I have a syslog-ng server that logs all access_log files from different virtual hosts in one big file. But Im looking for a way to log accesslogs to  virtualhostname.log files instead of one big file.   My setup:   CustomLog "| /usr/bi

[users@httpd] Remote Logging access_log

2005-06-15 Thread Jan van den Berg
Hi,   Right now I have a syslog-ng server that logs all access_log files in one big file. But Im looking for a way to log accesslogs to log to virtualhostname.log files instead of one big file.   My setup:    

Re: [users@httpd] mod_disk_cache and local files updating

2005-06-15 Thread Joshua Slive
On 6/15/05, Florin Gherendi <[EMAIL PROTECTED]> wrote: > I am using apache 2.0.53 with apache 1.3.33 in Perl proxied mode on a > Linux Mandrake 9.2/ dual Xeon server. > Apache 2 was compiled as RPM (I backported it from Mandriva 10.2) with > mod_cache and mod_disk_cache enabled and installed. > It

Re: [users@httpd] mod_proxy / mod_rewrite: Passing remote IP address to internal server

2005-06-15 Thread Joshua Slive
On 6/15/05, David Adam <[EMAIL PROTECTED]> wrote: > (You're probably not going to like this answer - all I can say is that I'm > sorry, I'm not an Apache developer and I'm not a mod_rewrite guru. Nor do > I manage more than about fifty users with CGI web pages, and our attitude > to them is very mu

[users@httpd] mod_disk_cache and local files updating

2005-06-15 Thread Florin Gherendi
I am using apache 2.0.53 with apache 1.3.33 in Perl proxied mode on a Linux Mandrake 9.2/ dual Xeon server. Apache 2 was compiled as RPM (I backported it from Mandriva 10.2) with mod_cache and mod_disk_cache enabled and installed. It works fine, but sometimes, for some vhosts, updating (replacing)

Re: [users@httpd] mod_proxy / mod_rewrite: Passing remote IP address to internal server

2005-06-15 Thread David Adam
> > Have you tried looking at the X-Forwarded-For header? (Appears in CGI > > scripts as HTTP_X_FORWARDED_FOR) This is passed automatically by > > mod_proxy, as far as I know. > > yes I know this but all the scripts of my customers are looking for > REMOTE_ADDR etc. So how can I forward this to my

Re: [users@httpd] RewriteRule problems

2005-06-15 Thread Arne Heizmann
Krist van Besien wrote: I get the impression that probably somewhere in your httpd config there is an access rule that forbids access to the /old URL, and that therefore the "403 Forbidden" gets triggered before everything else. But the rewrite log shows that the rewrite module does process th

Re: [users@httpd] mod_proxy / mod_rewrite: Passing remote IP address to internal server

2005-06-15 Thread Werner Schalk
Hi, > Have you tried looking at the X-Forwarded-For header? (Appears in CGI > scripts as HTTP_X_FORWARDED_FOR) This is passed automatically by > mod_proxy, as far as I know. yes I know this but all the scripts of my customers are looking for REMOTE_ADDR etc. So how can I forward this to my inter

Re: [users@httpd] RewriteRule problems

2005-06-15 Thread Krist van Besien
On 6/15/05, Arne Heizmann <[EMAIL PROTECTED]> wrote: > Krist van Besien wrote: > > > > Did you configure you apache to allow proxying? [...] You need something > > like this in your apache: > > > > ProxyRequests Off > > > > Order deny,allow > > Allow from all > > > > I've added this, an

[users@httpd] Httpd 2.0.54- mod_auth_ldap Require ldap-attribute directive Not working

2005-06-15 Thread Randip Kumar MALAKAR
Hi all, I am using Apache/2.0.54 on Redhat Linux 9.0. I am using mod_auth_ldap module for LDAP authentication/authorization. When I use 'require valid-user' Directive it works well for any authenticated user. But when I use 'require ldap-attribute' Directive, it does not work. In the err

Re: [users@httpd] RewriteRule problems

2005-06-15 Thread Arne Heizmann
Krist van Besien wrote: Did you configure you apache to allow proxying? [...] You need something like this in your apache: ProxyRequests Off Order deny,allow Allow from all I've added this, and it doesn't seem to have an effect. I still get the Forbidden message. I also tried "Pr

Re: [users@httpd] RewriteRule problems

2005-06-15 Thread Arne Heizmann
Ian Huynh wrote: what does your rewrite log file say? If you add RewriteEngine on RewriteLog "/usr/local/var/apache/logs/rewrite.log"<<--- change this to your appropriate path RewriteLogLevel 9 <<-- use level 9 only for debugging. RewriteRule ^/old

Re: [users@httpd] RewriteRule problems

2005-06-15 Thread Krist van Besien
On 6/14/05, Arne Heizmann <[EMAIL PROTECTED]> wrote: > > Hi, > > I get a 403 Forbidden when trying to use a RewriteRule to proxy a > request to another server. > > I have two servers, ukrbcsr01 and ukrbcsr02. ukrbcsr02 is accessible > from the outside, ukrbcsr01 isn't. Their LAN IPs are 192.168.

RE: [users@httpd] jsp

2005-06-15 Thread Boyle Owen
> -Original Message- > From: ganesan malairaja [mailto:[EMAIL PROTECTED] > Sent: Mittwoch, 15. Juni 2005 05:43 > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] jsp > > > hi guys > > i would like to know the requirements to make a jsp code running. > > i know i need jsee. > > d

Re: [users@httpd] Upload Problem

2005-06-15 Thread Jean-Christophe Montigny
What software is processing the upload ? The limitation will come from that software. If you're using a PHP application, the limitation comes from PHP. You need to look in the php.ini file (located in /etc/php4/apache on Debian) for the config var : ; Maximum allowed size for uploaded files.