[users@httpd] Loadbalancing Tomcat using Apache

2005-05-11 Thread Rehman Adil \(KI/EAB\)
> Hi, > > I am trying to use Apache 2.0 on windows to load balance three tomcat workers > using mod_jk. > Wen I browse the URL (http://localhost/jsp-examples/index.jsp), Apache does > not locate it > from the tomcat servers, and most probably it does not forward the req

Re: [users@httpd] Basic Authentication question

2005-05-11 Thread K Anand
you didn't understand what I was asking...The config I have included is working ..I have used htpasswd and everything is working fineAll I want to know is how does apache know that I have already authenticated or not ? Anand - Original Message - From: "Chris Winfield-Blum" <[EMAIL

Re: [users@httpd] Basic Authentication question

2005-05-11 Thread Chris Winfield-Blum
you will have to use the htpasswd tools located in your apache bin to create the password file. then you point that directory to that file: ie: /etc/httpd/conf/passwd/passwords This should do that you need :) K Anand said the following: Hi all, I have a very basic question regarding authenticatio

Re: [users@httpd] Apache improvement suggestion

2005-05-11 Thread zcat
1. How do I check for *no* referer field ? Apache usually prints "-" in the log if the referer is not defined. But it depends on whatever you are using to check the referer in the first place. Right. You need to tell us the blocking method you are using. An example is here: http://httpd.apache.or

[users@httpd] Basic Authentication question

2005-05-11 Thread K Anand
Hi all, I have a very basic question regarding authentication on apache...I have in my httpd.conf a section like below : AuthType Basic AuthName "By Invitaion Only" AuthUserFile /etc/httpd/conf/passwd/passwords Require valid-user AllowOverride None Options ExecCGI Ord

Re: [users@httpd] trying to debug a mod_perl app

2005-05-11 Thread Jim Albert
I notice your BML.pm is composed of several packages. I see at least BML::Request and Apache::BML and maybe some others in whatever you've truncated. I guess I'd suggest tracking down where exactly your BML.pm file is used by either some apache configuration file or some mod_perl or cgi applic

[users@httpd] Problems with User Directories

2005-05-11 Thread Chris Winfield-Blum
Hi everyone, My first time sending to this mail list :) I am setting up user directories but hitting into some problems. When i try to access on http://domain/~user/ i get: Forbidden You don't have permission to access /~chris/index.htm on this

Re: [users@httpd] Signal handling (SIGPIPE) change

2005-05-11 Thread Jim Albert
I do use DBI.pm to connect to a mysql database in various situations, however I am not preloading any mysql modules into the apache server nor does my test CGI make use of mysql in any way. So mysql is not an issue in my question. From what I am seeing in Apache 2.0.52, the apache httpd process

Re: [users@httpd] Apache improvement suggestion

2005-05-11 Thread Joshua Slive
On 5/11/05, Boyle Owen <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Uri Raz [mailto:[EMAIL PROTECTED] > > Sent: Mittwoch, 11. Mai 2005 15:05 > > To: users@httpd.apache.org > > Subject: Re: [EMAIL PROTECTED] Apache improvement suggestion > > > > > > Sorry if those question are

Re: [users@httpd] Signal handling (SIGPIPE) change

2005-05-11 Thread Joshua Kugler
You aren't perchance using a MySQL library are you? libmysql clears SIGPIPE on initialization, so you might need to set your handlers after that. I ran into that issue a while back Worth a try? If you're not using MySQL, well, never mind. :) j- k- On Wednesday 11 May 2005 10:54, Jim

Re: [users@httpd] Apache improvement suggestion

2005-05-11 Thread Joshua Kugler
On Wednesday 11 May 2005 02:01, Uri Raz wrote: > Problem with that solution is that many surfers block the referrer field > using a proxy or a firewall, including some surfers who browse my site and > legitimately expect the graphics to come up. My idea is to have apache > remember which IP reque

[users@httpd] trying to debug a mod_perl app

2005-05-11 Thread bruce
hi... i hope this is the right place to turn to!! i have mod_perl installed on an apache1.3.33/mod_perl1.29/FC3 setup. i'm trying to track down how i can print something from a '.pm' file that's used with an apache app that i'm testing... my perl skill is enough to get me in trouble!! here's t

[users@httpd] Signal handling (SIGPIPE) change

2005-05-11 Thread Jim Albert
Is anyone aware of a change in signal handling by apache httpd from somewhere perhaps between versions 2.0.49 and 2.0.52 of apache? It seems to me that apache would previously catch a sigpipe once it noticed that the pipe from server to client was broken; most likely by someone pressing the sto

Re: [users@httpd] Restricted FTP access in Apache

2005-05-11 Thread Bediako George
Hello Dick, Thanks for the speedy reply. I am aware that Apache is not an FTP server. I did notice that Apache provides an FTP module. I believe this module can be used to facilitate FTP downloads by the Apache server. Please correct me if I am wrong in assuming this. If this is correct, the q

RE: [users@httpd] adding virtual hosts without restarting ??

2005-05-11 Thread ed elliott
cool thanks.  I'm writing this on win32 first and then it will be linux in production (please don't ask why) so it's ok for real life but for testing is there anything similar for win32?   thanks,   "Gold, Samuel (Contractor)" <[EMAIL PROTECTED]> wrote: ./apachectl graceful -Original Messag

RE: [users@httpd] adding virtual hosts without restarting ??

2005-05-11 Thread Gold, Samuel (Contractor)
Title: Message ./apachectl graceful -Original Message-From: ed elliott [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 11, 2005 11:49 AMTo: users@httpd.apache.orgSubject: [EMAIL PROTECTED] adding virtual hosts without restarting ?? Hi,   If I add a virtual host to apa

[users@httpd] adding virtual hosts without restarting ??

2005-05-11 Thread ed elliott
Hi,   If I add a virtual host to apache, is there any way that I can get it to work without restarting apache?   What do ISP's do when they create a new domain - surely they dont restart apache and cause all the other domains to stop working (for a little while) ??   thanks,     ed How much free

Re: [EMAIL PROTECTED] Error: "(28)No space left on device: Couldn't create accept lock" - what could this be?

2005-05-11 Thread Christian Frankerl
Hello Axel-Stéphane, Wednesday, May 11, 2005, 9:17:18 AM, you wrote: > Have you just upgraded from Apache 2.0.49 or older? Hi and thanks for you mail. Yes i have upgraded. Now the problem is solved. There was a wrong entry at the configfile. LockFile was not defined correctly. Chris ---

Re: [users@httpd] Restricted FTP access in Apache

2005-05-11 Thread Dick Davies
* Bediako George <[EMAIL PROTECTED]> [0517 13:17]: > able to try to download from my Apache FTP server Apache isn't an FTP server. I think you're on the wrong track. -- 'This must be Thursday. I never could get the hang of Thursdays.' -- Arthur Dent Rasputin :: Jack of All Trade

RE: [users@httpd] Apache improvement suggestion

2005-05-11 Thread Boyle Owen
> -Original Message- > From: Uri Raz [mailto:[EMAIL PROTECTED] > Sent: Mittwoch, 11. Mai 2005 15:05 > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] Apache improvement suggestion > > > Sorry if those question are dummy, but - > > 1. How do I check for *no* referer field ? A

[users@httpd] mod_auth_dbm support for japanese username & password

2005-05-11 Thread Sandeep Gaikwad
Hello All, I had stored username & password in the .htpassword file. I am using mod_auth_dbm for authentication. The .htpassword file contains english as well as japanese username & password. I had done for english username & password combination. But I am unable to do that for j

[users@httpd] 64-bit problem

2005-05-11 Thread Tejas Sanghavi
(B (B (BHi, (B  (BI am porting the apache 2.0.53 to Windows 2003 (BServer (64-bit). From the study of the code, I found that at some places, care (Bis not taken while writing the portable code. (B  (Blike in file server\mpm\winnt\child.c (line 887): (B  (Bchild_handles = (HANDLE) apr_

RE: [users@httpd] Apache improvement suggestion

2005-05-11 Thread PMilanese
>> I merely stated that this would be expensive on the server side, >No, you haven't (or you haven't provided any arguments to support this >claim). You would not be transferring any more data than you already do. >You would actually be transferring less because you have vastly less TCP >connecti

Re: [users@httpd] Apache improvement suggestion

2005-05-11 Thread Arne Heizmann
[EMAIL PROTECTED] wrote: You stated "I always thought it would make a lot more sense to transfer some or all images (and CSS and JS) within the same request as the containing HTML page." Yes, and I still think so. You have mentioned situations where it wouldn't work; so use what we already have i

RE: [users@httpd] Apache improvement suggestion

2005-05-11 Thread PMilanese
>> >> How would dynamic stuff work? >Uuhh the same way as always? >> What if your image is on another server farm? >Uuhh then you use the system we already have? Who are you talking to? You stated "I always thought it would make a lot more sense to transfer some or all images (and CS

Re: [users@httpd] Apache improvement suggestion

2005-05-11 Thread Arne Heizmann
[EMAIL PROTECTED] wrote: I've been thinking for almost 10 years now that HTTP is really dumb because it has problems like this one. I always thought it would make a lot more sense to transfer some or all images (and CSS and JS) within the same request as the containing HTML page. Then your problem

RE: [users@httpd] Apache improvement suggestion

2005-05-11 Thread PMilanese
>I've been thinking for almost 10 years now that HTTP is really dumb >because it has problems like this one. I always thought it would make a >lot more sense to transfer some or all images (and CSS and JS) within >the same request as the containing HTML page. Then your problem would go >away b

[users@httpd] Loadbalancing Tomcat using Apache

2005-05-11 Thread Rehman Adil \(KI/EAB\)
Hi, I am trying to use Apache 2.0 on windows to load balance three tomcat workers using mod_jk. Wen I browse the URL (http://localhost/jsp-examples/index.jsp), Apache does not locate it from the tomcat servers, and most probably it does not forward the request since I get the following into th

RE: [users@httpd] Apache improvement suggestion

2005-05-11 Thread PMilanese
Your IP solution is more expensive in my opinion. It is expensive to you, and does little to solve the problem. You are not identifying the client. You are identifying what your server thinks the client is. BIG difference. Especially with the oodles of NATing going on in our lovely world. -O

Re: [users@httpd] Apache improvement suggestion

2005-05-11 Thread Arne Heizmann
Uri Raz wrote: Problem with that solution is that many surfers block the referrer field using a proxy or a firewall, including some surfers who browse my site and legitimately expect the graphics to come up. As Joshua already mentioned, this is not a problem as this is a small fraction of the user

[users@httpd] Restricted FTP access in Apache

2005-05-11 Thread Bediako George
Hello all, I really appreciate the hard work you guys have put into the Apache HTTP server. I have a question regarding what I would term as "restricted FTP access" though there may be another term for this. My problem is that I have files that I want to serve my customers on a limited basis. T

RE: [users@httpd] Apache improvement suggestion

2005-05-11 Thread PMilanese
More (probably too much more) on the subject... Many browsers, and others (when the user knows a few things) can fake the refferer, so if it is a serious problem for you, then you 'may' not benefit from any of this. I am drawing up a token system to try to handle this, which may be cookie based.

Re: [users@httpd] Apache improvement suggestion

2005-05-11 Thread Uri Raz
Sorry if those question are dummy, but - 1. How do I check for *no* referer field ? 2. Are you sure only 5% of the requests will have no referer field, considering the number of surfers using firewalls ? 3. Why is it you think checking for no referer field is more expensive, server side, than th

Re: [users@httpd] Apache improvement suggestion

2005-05-11 Thread Joshua Slive
On 5/11/05, Uri Raz <[EMAIL PROTECTED]> wrote: > Hello, > > I have a problem with object theft on my web site - bloggers & forum > participants link directly to images on my web site, so they get the > content and I get the traffic bill at the end of the site. The solution > suggested to me by th

[users@httpd] Apache improvement suggestion

2005-05-11 Thread Uri Raz
Hello, I have a problem with object theft on my web site - bloggers & forum participants link directly to images on my web site, so they get the content and I get the traffic bill at the end of the site. The solution suggested to me by the hosting company (which uses apache) is to use an '.hta

Re: [EMAIL PROTECTED] Ignore requests

2005-05-11 Thread Chris Knipe
Printing logs is really arb yes... Anyways, you can ignore the requests with mod_security. It will return a 500 to the client. -- Chris. On Wed, May 11, 2005 at 09:08:34AM +0200, Axel-St?phane SMORGRAV wrote: > I am not going to ask why logs are printed in real-time to a dot-matrix > printer

RE: [EMAIL PROTECTED] Error: "(28)No space left on device: Couldn't create accept lock" - what could this be?

2005-05-11 Thread Axel-Stéphane SMORGRAV
Have you just upgraded from Apache 2.0.49 or older? The defaults for SSLMutex and AcceptMutex have changed from pthread to fcntl somewhere between 2.0.49 and 2.0.52 at least on the Solaris platform. You probably need to explicitly set the Mutex type you wish to use, and in the case of fcntl sp

RE: [EMAIL PROTECTED] Ignore requests

2005-05-11 Thread Axel-Stéphane SMORGRAV
I am not going to ask why logs are printed in real-time to a dot-matrix printer. Maybe that is next best to sounding an alarm bell? Apart from using something like "Redirect(Match)? (403|gone) /sumthin" which you already do, what about directing error logs to a pipe that filters the entries you