Re: [us...@httpd] modrewrite help needed....plz :(

2009-05-12 Thread Nick Kew
On 13 May 2009, at 05:23, Karthik Nanjangude wrote: I need the modrewriteto rewrite as “index.html?area1=sq” when some body types “ http:///SEARCH Have I done any thing wrong in modrewrite in http.conf ?….. Your rewriterule can never match. Keep it simple - drop mod_rewrite, use

Re: [us...@httpd] Re: RAM problem w/ multiple Apache processes

2009-05-12 Thread Nick Kew
On 13 May 2009, at 05:13, Rex C. Eastbourne wrote: This is probably for thread-safety reasons. Maybe you can just remove mod_php and use PHP-as-cgi (or fastcgi). Thanks, Eric. I kept the apache2-mpm-worker package and installed php5-cgi. Then you need to run your scripts as CGI (follow CGI

RE: [us...@httpd] modrewrite help needed....plz :(

2009-05-12 Thread Karthik Nanjangude
Hi This is what I did to http.conf I now wanted to use *.jsp instead of *.html RewriteEngine on RewriteLog "C:/APACHE/logs/rewrite.log" RewriteLogLevel 9 RewriteRule ^SEARCH\index.jsp$ /SEARCH/index.jsp?area1=sq [NC,L] I have cleared the cache, restarted the APACHE server On the URL when I

Re: [us...@httpd] modrewrite help needed....plz :(

2009-05-12 Thread Igor Cicimov
You need to make the rule case insensitive if you want to use capitol letters. Try something like this RewriteRule ^SEARCH\.html$ /SEARCH/index.html?area1=sq [NC,L] The NC flag is important here making the rule case insensitive. Igor On 5/13/09, Karthik Nanjangude wrote: > Hi > > > OS / WIN

Re: [us...@httpd] Re: RAM problem w/ multiple Apache processes

2009-05-12 Thread Prasanna Ram Venkatachalam
mod_actions should be included I guess. Can you see it precompiled with apache using httpd -l? or see it in httpd.conf LoadModule section? On Wed, May 13, 2009 at 9:43 AM, Rex C. Eastbourne wrote: > On Sun, May 10, 2009 at 5:59 PM, Eric Covener wrote: > > On Sun, May 10, 2009 at 8:53 PM, Rex C.

[us...@httpd] modrewrite help needed....plz :(

2009-05-12 Thread Karthik Nanjangude
Hi OS / WINDOWS 2000 MODJK: mod_jk-1.2.28-httpd-2.2.3.so APACHE: APACHE_2.2.11-win32-x86-no_ssl.msi APPSERVER : JBOSS 4.2.1 JAVA: JDK5.0.8 USED TYPE : INTRANET I have done the following changes in "httpd.conf" LoadModule jk_module C:/Apache/modules/mod_jk.so LoadModule rewrite_module C:/

Re: [us...@httpd] Re: RAM problem w/ multiple Apache processes

2009-05-12 Thread Rex C. Eastbourne
On Sun, May 10, 2009 at 5:59 PM, Eric Covener wrote: > On Sun, May 10, 2009 at 8:53 PM, Rex C. Eastbourne > wrote: >> Does anyone have both the worker mpm and phpmyadmin installed on >> Ubuntu? When I run "apt-get install phpmyadmin", it tries to remove >> apache2-mpm-worker and install apache2-m

Re: [us...@httpd] A couple of questions about mod_authz_ldap

2009-05-12 Thread André Warnier
Edward Harvey wrote: And how would users who have a different set of credentials they could use for this second URL enter those credentials? The RFC specifies a 401 response in this scenario to allow a UA to resubmit different credentials. You might not care about the RFC, but Apache and browser

[us...@httpd] mod_proxy_balancer and stickysession

2009-05-12 Thread gm
Hi, we want to use mod_proxy_balancer to load balance a J2EE application server. So stickysession is set to JSESSIONID. First I had: BalancerMember http://host1 BalancerMember http://host2 BalancerMember http://host3 ProxySet stickysession=JSESSION

Re: [us...@httpd] A couple of questions about mod_authz_ldap

2009-05-12 Thread Edward Harvey
> And how would users who have a different set of credentials they could > use for this second URL enter those credentials? The RFC specifies a 401 > response in this scenario to allow a UA to resubmit different > credentials. > > You might not care about the RFC, but Apache and browsers mostly do.

Re: [us...@httpd] authentication question

2009-05-12 Thread J. Greenlees
Ross Boylan wrote: > Suppose I have apache running in front of a web application and > subversion. > > I am thinking of a scenario in which the web application provides a > login page. However, the user may also browse to web pages served by > subversion. > > Is there a way that my app can have

Re: [us...@httpd] authentication question

2009-05-12 Thread André Warnier
Ross Boylan wrote: ... I've seen mention of apache using a login page, rather than the usual popup. Is there a way to do that? It might have a nicer feel for users. The usual popup is built into each browser. It appears only when the HTTP server is requesting a Basic or Digest type of authent

Re: [us...@httpd] authentication question

2009-05-12 Thread André Warnier
Ross Boylan wrote: ... Without going into the details of the why and the when and the where, let's assume that if the organisation has decided to implement some global authentication scheme, and roll it out over time, then the first thing I would do, before starting to implement my own temporar

Re: [us...@httpd] authentication question

2009-05-12 Thread Peter Schober
* Ross Boylan [2009-05-12 18:17]: > > Where is the SVN access > > happening? From the Smalltalk app? From httpd? > > Both, though the smalltalk app is only going to talk to svn via http. > There are potentially several scenarios (though I could probably > dispense with some of them): > 1) Someone

Re: [us...@httpd] authentication question

2009-05-12 Thread Ross Boylan
Thanks to everyone for some really good information. @Marc Paterman, svn's apache module is dav_svn, so it's definitely DAV related. I'm not sure if it simply supports DAV or if that is its native mode; I suspect the former. On Tue, 2009-05-12 at 10:05 +0200, Peter Schober wrote: > Ross et al.,

Re: [us...@httpd] Virtual Host port forwarding

2009-05-12 Thread Jan G.B.
2009/5/12 zm : > > Hi, > > I've installed Apache HTTP Server 2.2.11 and I'm trying to configure it to > do the following trick: > > I have 1 server, connected through 1 router. I payed for domain > "mydomain.com" (ficticious), and it will point toward my router with > success. > > My router forward

Re: [us...@httpd] Virtual Host port forwarding

2009-05-12 Thread André Warnier
Hi . Why do you post your messages 3 times ? Other comments down further. zm wrote: Hi, I've installed Apache HTTP Server 2.2.11 and I'm trying to configure it to do the following trick: I have 1 server, connected through 1 router. I payed for domain "mydomain.com" (ficticious), and it wi

Re: [us...@httpd] Apache child process not exiting after it served MaxRequestsPerChild

2009-05-12 Thread Karthik kanna
Hi All, I apologize for the attachments of size 800+k in my previous mail. I will not do it again. Tom, Yes, I agree with you. But even after it served 3 (keep alive connections + non keep alive) requests, the child process is not exiting. It is running on the server until Apache is restar

Re: [us...@httpd] Mixing rewrite with authn_dbd: Rewriting based on path value stored in mysql table

2009-05-12 Thread Roman Medina-Heigl Hernandez
Bob Ionescu escribió: > 2009/5/12 Roman Medina-Heigl Hernandez : >> My final solution is: >> >>RewriteBase /stats >>RewriteCond %{REMOTE_USER}/<>$1 !^([^<]+)<>\1 >>RewriteRule ^/clientes/(.*) >> /stats/%{REMOTE_USER}/stats/http/$1 >> >>

Re: [us...@httpd] Apache child process not exiting after it served MaxRequestsPerChild

2009-05-12 Thread Tom Evans
On Tue, 2009-05-12 at 18:24 +0530, Karthik kanna wrote: > Hi, > > I am using Apache 2.0.59 in AIX 5.3. Apache is running as "apache" > user-id, even the parent process is also running as "apache" user-id. > I am using non-standard ports like 8028/9028, so I do not require root > user to run the p

[us...@httpd] Virtual Host port forwarding

2009-05-12 Thread zm
Hi, I've installed Apache HTTP Server 2.2.11 and I'm trying to configure it to do the following trick: I have 1 server, connected through 1 router. I payed for domain "mydomain.com" (ficticious), and it will point toward my router with success. My router forwards port 80 to my server IP (192.16

Re: [us...@httpd] Apache child process not exiting after it served MaxRequestsPerChild

2009-05-12 Thread Nick Kew
On Tue, 12 May 2009 19:22:52 +0530 (IST) Karthik kanna wrote: > Hi Eric, >   > I have attached Please NEVER DO THAT in email to a public list (or to anyone who hasn't given permission). 873k is a bloody big unsolicited download. Some people have to pay for it! If you have big attachments, put

Re: [us...@httpd] authentication question

2009-05-12 Thread Mark H. Wood
[tangent alert] On Tue, May 12, 2009 at 10:05:41AM +0200, Peter Schober wrote: [other good advice trimmed] > > > Your problem will be to make the various applications running under > > > Apache aware of the single sign-on. > > This is indeed as much an art as a science. Every self-respecting > a

Re: [us...@httpd] Apache child process not exiting after it served MaxRequestsPerChild

2009-05-12 Thread Eric Covener
On Tue, May 12, 2009 at 9:31 AM, Karthik kanna wrote: > Hi Prasanna, > > Thanks for your reply. Keepalive settings are as follows: > > > >   Timeout 600 >   KeepAlive On >   MaxKeepAliveRequests 100 >   KeepAliveTimeout 15 > > I do not think it is related to keepalive setting, because few child >

Re: [us...@httpd] Apache child process not exiting after it served MaxRequestsPerChild

2009-05-12 Thread Prasanna Ram Venkatachalam
Oh.. :(.. Okie.. No errors in the log as well? On Tue, May 12, 2009 at 7:01 PM, Karthik kanna wrote: > Hi Prasanna, > > Thanks for your reply. Keepalive settings are as follows: > > > > Timeout 600 > KeepAlive On > MaxKeepAliveRequests 100 > KeepAliveTimeout 15 > I do not think it is re

Re: [us...@httpd] Apache child process not exiting after it served MaxRequestsPerChild

2009-05-12 Thread Karthik kanna
Hi Prasanna,   Thanks for your reply. Keepalive settings are as follows:     Timeout 600   KeepAlive On   MaxKeepAliveRequests 100   KeepAliveTimeout 15 I do not think it is related to keepalive setting, because few child process dies properly after it served 3 requests. Regards, Karthik Kan

Re: [us...@httpd] Apache child process not exiting after it served MaxRequestsPerChild

2009-05-12 Thread Prasanna Ram Venkatachalam
I am not 100% sure. Do you think Keep Alive time should be revisited? I remember hearing it somewhere. Regards Prasanna Ram On Tue, May 12, 2009 at 6:24 PM, Karthik kanna wrote: > Hi, > > I am using Apache 2.0.59 in AIX 5.3. Apache is running as "apache" user-id, > even the parent process is a

Re: [us...@httpd] Ubuntu + Apache + Virtual host + Subversion + SSL tutorial: error about SSL.

2009-05-12 Thread Eric Covener
> SSL received a record that exceeded the maximum permissible length. > > (Error code: ssl_error_rx_record_too_long) > > The page you are trying to view can not be shown because the authenticity of > the received data could not be verified. Make sure your virtual hosts and NameVirtualHosts all spe

[us...@httpd] Ubuntu + Apache + Virtual host + Subversion + SSL tutorial: error about SSL.

2009-05-12 Thread tirengarfio
Hi, i've just followed [url=http://www.sellersrank.com/ubuntu/setup-apache-subversion-ssl-https-with-virtual-hosts-on-ubuntu/]this[/Url] tutorial and when i write "https://svn.domain.com"; as the tutorial mentions i get this message: hi, i added to my "/etc/hosts" and the message i mentioned i

[us...@httpd] Apache child process not exiting after it served MaxRequestsPerChild

2009-05-12 Thread Karthik kanna
Hi, I am using Apache 2.0.59 in AIX 5.3. Apache is running as "apache" user-id, even the parent process is also running as "apache" user-id. I am using non-standard ports like 8028/9028, so I do not require root user to run the parent process. This is the configuration I am using in Apache 2.0.

Re: [us...@httpd] Mixing rewrite with authn_dbd: Rewriting based on path value stored in mysql table

2009-05-12 Thread Bob Ionescu
2009/5/12 Roman Medina-Heigl Hernandez : > My final solution is: > >RewriteBase /stats >RewriteCond %{REMOTE_USER}/<>$1 !^([^<]+)<>\1 >RewriteRule ^/clientes/(.*) /stats/%{REMOTE_USER}/stats/http/$1 > >RewriteCond $1 !^[^/]+/stats/http

Re: [us...@httpd] authentication question

2009-05-12 Thread André Warnier
Peter Schober wrote: Ross et al., I agree, and that is what I was trying to tell Ross, although apparently not as clearly : You should not try to do the authentication at the level of one application, and then "pass it up to Apache" for other applications to use. That will always give you

Re: [us...@httpd] Mixing rewrite with authn_dbd: Rewriting based on path value stored in mysql table

2009-05-12 Thread Roman Medina-Heigl Hernandez
Bob Ionescu escribió: > 2009/5/11 Roman Medina-Heigl Hernandez : >> Bob Ionescu escribió: >>> 2009/3/2 Roman Medina-Heigl Hernandez : The problem is that you cannot have %{REMOTE_USER} as 2nd parameters in RewriteCond, so I have no way for comparing it with $1 >>> -didn't read all-; but y

Re: [us...@httpd] authentication question

2009-05-12 Thread Peter Schober
Ross et al., I'm not sure I understand the actual question at hand -- you have (or want to write) a Smalltalk-based application that runs in it's own webserver, and proxy to that with httpd? Where is the SVN access happening? From the Smalltalk app? From httpd? Is this SVN-webapp something like V

Re: [us...@httpd] authentication question

2009-05-12 Thread Marc Patermann
Hi, Ross Boylan schrieb: Suppose I have apache running in front of a web application and subversion. I don't use svn, but I think it is (in apache) somehow related with WebDAV, which we use. I am thinking of a scenario in which the web application provides a login page. However, the user ma