Re: [EMAIL PROTECTED] Disable directory browsing

2007-09-28 Thread Rikard Bosnjakovic
On 27/09/2007, Joshua Slive <[EMAIL PROTECTED]> wrote: > I should have also mentioned that you need to remove any "Options > All", which includes Indexes. There is no Options All either. I am using the out-of-the-box httpd.conf that came with Apache, but I will try the tip regarding using "Option

Re: [EMAIL PROTECTED] Reverse Proxy - Client IP

2007-09-28 Thread K Anand
- Original Message - From: "Joshua Slive" <[EMAIL PROTECTED]> On 9/28/07, K Anand <[EMAIL PROTECTED]> wrote: I'm using apache 1.3.xx...I know it is way too old... My situation is as follows : Client <-> Apache <> Apache (Rev Prox

[EMAIL PROTECTED] LimitRequestBody config

2007-09-28 Thread edwardspl
Dear All, Mne is FC6 System, So, is there the Apache setting as the title ? Thanks ! Edward. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more inf

Re: [EMAIL PROTECTED] Conditionally redirect to HTTPS URL if authorization required?

2007-09-28 Thread James Devenish
Hi everyone, Fortunately, my problem only applies to GET and HEAD requests, since all POST forms must be obtained through a GET in the first place. On 28/09/2007, Christian Folini <[EMAIL PROTECTED]> wrote: > Your if-then is technically relatively easy to do with mod-rewrite. Thanks for the re-a

Re: [EMAIL PROTECTED] mod_authnz_ldap and env vars?

2007-09-28 Thread James Devenish
Hi Richard, On 29/09/2007, Richard N. Fogle <[EMAIL PROTECTED]> wrote: > Is there a way to acquire the group via code, like a server > environment variable (e.g., like REMOTE_USER) of the group authorized > by a require ldap-group (or any group)? This would be extremely I agree that it would be

Re: [EMAIL PROTECTED] Only require satisfaction of one AuthType in 2.2

2007-09-28 Thread William A. Rowe, Jr.
Sorry - too many JJ's posting, had this confused. Joel Johnson wrote: > Does anyone have any thoughts, suggestions, pointers, tips or references on > this issue? > > On Mon, September 24, 2007 8:44 pm, Joel Johnson wrote: >> >> The problem I'm running into is in designating the authentication as

Re: [EMAIL PROTECTED] Apache error log message

2007-09-28 Thread William A. Rowe, Jr.
JJB wrote: > Has anyone seen this and do you have any idea what it means?: > > Parent: child process exited with status 3221225477 PHP bug, this would be the httpd forum. http://bugs.php.net/bug.php?id=36055 Apparently they know of it, that article's nice enough to point out how to backtrace, a

Re: [EMAIL PROTECTED] Only require satisfaction of one AuthType in 2.2

2007-09-28 Thread William A. Rowe, Jr.
Joel Johnson wrote: > Does anyone have any thoughts, suggestions, pointers, tips or references on > this issue? Not within 24 minutes. Nope. Bill - The official User-To-User support forum of the Apache HTTP Server Project. See

Re: [EMAIL PROTECTED] Only require satisfaction of one AuthType in 2.2

2007-09-28 Thread Joel Johnson
Does anyone have any thoughts, suggestions, pointers, tips or references on this issue? Thanks! On Mon, September 24, 2007 8:44 pm, Joel Johnson wrote: > I'm setting up a site using Apache httpd 2.2 and an existing Kerberos > infrastructure and would like to optionally allow users to have singl

[EMAIL PROTECTED] Apache error log message

2007-09-28 Thread JJB
Has anyone seen this and do you have any idea what it means?: Parent: child process exited with status 3221225477 with a few other errors that also seem to occur randomly. A little research pulled up something to do with php4ts.dll Our system only has php5ts.dll, [Fri Aug 10 13:19:35 2007] [

Re: [EMAIL PROTECTED] Basic mod_rewrite help

2007-09-28 Thread Israel Brewster
On Sep 28, 2007, at 12:40 PM, Joshua Slive wrote: On 9/28/07, Israel Brewster <[EMAIL PROTECTED]> wrote: On Sep 28, 2007, at 10:48 AM, Joshua Slive wrote: On 9/28/07, Israel Brewster <[EMAIL PROTECTED]> wrote: which came with the default install. In order to implement the desired chan

Re: [EMAIL PROTECTED] Tomcat and Apache on the same port?

2007-09-28 Thread Michael Conlen
Then I'm not sure I understand what you're trying to accomplish. You can't change the number of requests per second by tuning, you can only affect how many processes are running at one time competing for and using resources. The lower the response time the less processes however the respons

Re: [EMAIL PROTECTED] Tomcat and Apache on the same port?

2007-09-28 Thread Tony Anecito
I agree about latency and have tested for that all the way to Europe and Asia. I did find a latency of 31ms from my server to over 700 miles. I think the worst I saw was still under 1 second. Since my packet size typcally is under 1500 bytes 31msec is very much not an issue at this point but the nu

Re: [EMAIL PROTECTED] Basic mod_rewrite help

2007-09-28 Thread Joshua Slive
On 9/28/07, Israel Brewster <[EMAIL PROTECTED]> wrote: > > > > On Sep 28, 2007, at 10:48 AM, Joshua Slive wrote: > > > On 9/28/07, Israel Brewster <[EMAIL PROTECTED]> wrote: > > > >> which came with the default install. In order to implement the > >> desired changes, I added the following lines: >

Re: [EMAIL PROTECTED] Basic mod_rewrite help

2007-09-28 Thread Israel Brewster
On Sep 28, 2007, at 10:48 AM, Joshua Slive wrote: On 9/28/07, Israel Brewster <[EMAIL PROTECTED]> wrote: which came with the default install. In order to implement the desired changes, I added the following lines: WHERE exactly did you add the lines? Oh, right, sorry, should have mentio

Re: [EMAIL PROTECTED] Tomcat and Apache on the same port?

2007-09-28 Thread Michael Conlen
Tony, The performance numbers you are talking about are going to be irrelevant over any but the fastest local links, particularly using TCP. RTT below 30ms are going to be rare within the US and even on a very good tier 1 provider (Verizon/Qwest) directly you're not going to get much bett

Re: [EMAIL PROTECTED] ProxyPassReverse not working as documented??? (Apache 2.2)

2007-09-28 Thread proteus guy
Thanx Joshua, I do have the mod_proxy_html going now and it works as expected. You're right about "not rewriting URL references inside html" as being pretty categorical - but we tend to see what we want to see and that following sentence implied just what I was looking for so I was perfectly c

Re: [EMAIL PROTECTED] Basic mod_rewrite help

2007-09-28 Thread Joshua Slive
On 9/28/07, Israel Brewster <[EMAIL PROTECTED]> wrote: > which came with the default install. In order to implement the > desired changes, I added the following lines: WHERE exactly did you add the lines? > > RewriteLog "/var/log/httpd/rewrite.log" > RewriteLogLevel 2 Up the loglevel to 9 and t

[EMAIL PROTECTED] Basic mod_rewrite help

2007-09-28 Thread Israel Brewster
I am running a personal webserver with apache 1.3.33 on Mac OS X 10.4. I have a main site set up at the root level of http:// izzy.homeip.net, and a second site set up at the subdirectory of / ~mongoose. I recently added virtual hosts to my configuration, so now http://izzy.homeip.net/~mongoo

RE: [EMAIL PROTECTED] Tomcat and Apache on the same port?

2007-09-28 Thread Tony Anecito
Hi Jeff, I would agree except the current audience using my portal is from all over the world so performance & size of data is critical. Also with an upcoming GA release the inital audience may be higher than a million or so and grow hopefully quickly from there. The system is using an RIA client

Re: [EMAIL PROTECTED] ProxyPassReverse not working as documented??? (Apache 2.2)

2007-09-28 Thread Joshua Slive
On 9/28/07, proteus guy <[EMAIL PROTECTED]> wrote: > I did read it (over and over again :) ) but it appears I was thrown off by > the very next sentence that interprets the sentence you refer to as only > applying to links in pages that contain absolute URLs which is not, as > you've clarified, wha

Re: [EMAIL PROTECTED] ProxyPassReverse not working as documented??? (Apache 2.2)

2007-09-28 Thread proteus guy
I did read it (over and over again :) ) but it appears I was thrown off by the very next sentence that interprets the sentence you refer to as only applying to links in pages that contain absolute URLs which is not, as you've clarified, what it means at all. Pardon the confusion... perhaps that ent

Re: [EMAIL PROTECTED] ProxyPassReverse not working as documented??? (Apache 2.2)

2007-09-28 Thread Joshua Slive
On 9/28/07, proteus guy <[EMAIL PROTECTED]> wrote: > I simply cannot get a reverse proxy operational with mod_proxy on my Fedora > Core 6 setup (Apache 2.2). For example, if I want to proxy flickr.com (just > an example) from as http://mysite.org/flickr I should be able to do the > following accord

[EMAIL PROTECTED] ProxyPassReverse not working as documented??? (Apache 2.2)

2007-09-28 Thread proteus guy
I simply cannot get a reverse proxy operational with mod_proxy on my Fedora Core 6 setup (Apache 2.2). For example, if I want to proxy flickr.com (just an example) from as http://mysite.org/flickr I should be able to do the following according to the docs ( http://httpd.apache.org/docs/2.2/mod/mod_

RE: [EMAIL PROTECTED] Tomcat and Apache on the same port?

2007-09-28 Thread Jeff Beard
Tony, I agree with Joshua: quite complicating things for yourself. It sounds like you are trying to solve a performance problem of some sort but speaking from experience those are highly dubious pursuits unless you have a very, very well qualified issue. Otherwise, it's purely academic IMHO. I d

[EMAIL PROTECTED] mod_authnz_ldap and env vars?

2007-09-28 Thread Richard N. Fogle
Is there a way to acquire the group via code, like a server environment variable (e.g., like REMOTE_USER) of the group authorized by a require ldap-group (or any group)? This would be extremely helpful in applications where a page would have features depending on the access level of the us

Re: [EMAIL PROTECTED] Tomcat and Apache on the same port?

2007-09-28 Thread Tony Anecito
I understand and wanted to use the "best of breed" for open source for serving static content. Regards, -Tony --- [EMAIL PROTECTED] wrote: > Tomcat can serve static content too. > > > > Please respond to users@httpd.apache.org > > To: users@httpd.apache.org > cc: (bcc: Dan Mitton/YD

Re: [EMAIL PROTECTED] Tomcat and Apache on the same port?

2007-09-28 Thread Tony Anecito
I am okay with proxing through Apache as long as I can measure the time through Tomcat down to millisecond or better yet microsecond resolution. For the last several years I have been working on new type of Educational system using the latest technologies and since I am working on creating a new s

Re: [EMAIL PROTECTED] Upgrading to PHP5 sent httpd processes through the roof

2007-09-28 Thread Joshua Slive
On 9/27/07, Robinson Craig <[EMAIL PROTECTED]> wrote: > Dear experts, > > I've been working through a process of upgrading our SUN web servers > from PHP4 to PHP5. An interesting thing happened when I did our Internet > web server this morning. Typically, the number of HTTP processes running > duri

Re: [EMAIL PROTECTED] Tomcat and Apache on the same port?

2007-09-28 Thread Joshua Slive
On 9/28/07, Tony Anecito <[EMAIL PROTECTED]> wrote: > I have a web site with static content on it. My router > has only one static ip thus one url and port. Quit complicating your life. There are at least three easy solutions to your problem: 1. Tomcat CAN serve static content. So just use tomact

Re: [EMAIL PROTECTED] Tomcat and Apache on the same port?

2007-09-28 Thread Dan_Mitton
Tomcat can serve static content too. Please respond to users@httpd.apache.org To: users@httpd.apache.org cc: (bcc: Dan Mitton/YD/RWDOE) Subject:Re: [EMAIL PROTECTED] Tomcat and Apache on the same port? LSN: Not Relevant User Filed as: Not a Record I have a web site with static

Re: [EMAIL PROTECTED] Tomcat and Apache on the same port?

2007-09-28 Thread Tony Anecito
I have a web site with static content on it. My router has only one static ip thus one url and port. Hope that answers your question. Thanks, -Tony --- [EMAIL PROTECTED] wrote: > Tony, > > Another question just came to mind... Are we trying > to solve the wrong > problem here? If you have to

Re: [EMAIL PROTECTED] Tomcat and Apache on the same port?

2007-09-28 Thread Dan_Mitton
Tony, Aaah. That is what I feared. You would need to get a second static IP address from your ISP to make any of this work. If you are stuck with one static IP address from your ISP, I think your only solution is the mod_jk that you are already doing. Why is proxying the tomcat requests thr

Re: [EMAIL PROTECTED] Tomcat and Apache on the same port?

2007-09-28 Thread Tony Anecito
Hi Dan, This is a home/isp lan. I am using 2.2.4 of Apache and JBoss 4.2.1GA on windows 2000 sp4 with jre 1.6.0_02. Regards, -Tony Founder, MyUniPortal --- [EMAIL PROTECTED] wrote: > Tony, > > Yes. One physical server and/or network card can > support multiple IP > addresses. What OS is thi

Re: [EMAIL PROTECTED] Tomcat and Apache on the same port?

2007-09-28 Thread Dan_Mitton
Tony, Another question just came to mind... Are we trying to solve the wrong problem here? If you have tomcat, why do you need apache at all? - The official User-To-User support forum of the Apache HTTP Server Project. See ht

Re: [EMAIL PROTECTED] Tomcat and Apache on the same port?

2007-09-28 Thread Dan_Mitton
Tony, Yes. One physical server and/or network card can support multiple IP addresses. What OS is this? When you say LAN, is this a corporate LAN or a home/isp LAN? Which versions of apache and tomcat? proxy_ajp and mod_jk are the same thing, only proxy_ajp is for apache 2.2+ and mod_jk pr

Re: [EMAIL PROTECTED] Tomcat and Apache on the same port?

2007-09-28 Thread Tony Anecito
Hi Dan, Thanks for the response. So I can have different IP's for the same physical server how would the client and the router handle that? I have a static address for my server on the lan and I redirect my request for port 80 to that IP. What decides the IP to send a request to the web server ver

Re: [EMAIL PROTECTED] Tomcat and Apache on the same port?

2007-09-28 Thread Dan_Mitton
Tony, The only way to have two services use/listen on the same port is to use two different IP addresses, one for each. Then each can listen on port 80. A possible, very high effort, alternative would be to write a program that would sit in front of both apache and tomcat, that could examine

Re: [EMAIL PROTECTED] Tomcat and Apache on the same port?

2007-09-28 Thread Michael Conlen
There's two things you can do, but first... You can not run two programs on the same IP address on the same port for the same protocol. If this were possible there's no way to know which program handles a request. You could use two different host names with two different IP addresses on t

[EMAIL PROTECTED] Tomcat and Apache on the same port?

2007-09-28 Thread Tony Anecito
Hi All, Is it possible to run Tomcat and Apache on the same port? What I want to do is have my website running on Apache web server or port 80 and also have Tomcat running on port 80. That way my web service requests do not need to go through Apache web server where they are redirected to Tomcat.

Re: [EMAIL PROTECTED] Tomcat performance measurements...

2007-09-28 Thread Tony Anecito
Sorry posted to the wrong group. Still I am interested in getting Apache log entries that have a better timer resolution than 15msec for the %d logging parameter. Regards, Tony Anecito, MyUniPortal --- Tony Anecito <[EMAIL PROTECTED]> wrote: > Hi All, > > As I mentioned in my previous email I

[EMAIL PROTECTED] Tomcat performance measurements...

2007-09-28 Thread Tony Anecito
Hi All, As I mentioned in my previous email I was able to get my system performance using Apache-Tomcat-Jre1.6 such that I was getting 4msec transaction response times. My problem is I can not tell how much of that response time is spent in tomcat versus Apache. I am using windows 2000 where the

[EMAIL PROTECTED] Best Connector for Apache-Tomcat?

2007-09-28 Thread Tony Anecito
Hi All, What is the best connector for Apache to Tomcat? Has mod_jk been depricated? Regards, -Tony Need a vacation? Get great deals to amazing places on Yahoo! Travel. http://travel.yahoo.com/ --

Re: [EMAIL PROTECTED] Understanding the APACHE 1.3 process model

2007-09-28 Thread Michael Conlen
During a time when system resources are limited such as a DoS or even just an app run amok I've found SNMP to be a pretty good way to get information on the system. With net-snmp you can walk the tree to find connection information. Net-snmp will likely have issues if you try to walk the wh

Re: [EMAIL PROTECTED] Conditionally redirect to HTTPS URL if authorization required?

2007-09-28 Thread Christian Folini
Hey James, Your if-then is technically relatively easy to do with mod-rewrite. However, in real life you are likely to face unexpected problems when accessing "a diverse and historical range of applications" via two different channels, one being http and one being https. Fully qualified URLs in

Re: [EMAIL PROTECTED] Reverse Proxy - Client IP

2007-09-28 Thread Joshua Slive
On 9/28/07, K Anand <[EMAIL PROTECTED]> wrote: > I'm using apache 1.3.xx...I know it is way too old... > My situation is as follows : > > Client <-> Apache <> Apache > (Rev Proxy) (Backend) > > I have got access to CGI env v

[EMAIL PROTECTED] Conditionally redirect to HTTPS URL if authorization required?

2007-09-28 Thread James Devenish
Hi, I am wondering if there is a satisfactory solution to the following challenge. I have an existing internal services website, running a diverse and historical range of applications within the organisation and its umbrella organisation. Various portions of the site (including the home page, but