[us...@httpd] Re: Proposal to Optionally Block DNS

2009-08-24 Thread Mike -- EMAIL IGNORED
On Mon, 24 Aug 2009 11:32:17 -0400, Eric Covener wrote: On Mon, Aug 24, 2009 at 4:25 AM, Tom Evanstevans...@googlemail.com wrote: On Sun, 2009-08-23 at 00:31 +, Mike -- EMAIL IGNORED wrote: I propose this upgrade to Apache:   Options +NoDNS I think your mailer dropped your patch, can

[us...@httpd] Re: Proposal to Optionally Block DNS

2009-08-24 Thread Mike -- EMAIL IGNORED
On Mon, 24 Aug 2009 10:57:45 -0700, Aaron Turner wrote: [...] I believe Eric was agreeing with Tom's sentiment. Ie: If you think this is worthwhile, please feel free to submit a patch adding this feature. Since I have not looked at Apache source code, for me this would be at least several

[us...@httpd] Re: Need some SSL help please.

2009-08-22 Thread Mike -- EMAIL IGNORED
On Tue, 11 Aug 2009 07:50:17 +0200, Krist van Besien wrote: On Sat, Aug 8, 2009 at 4:19 AM, Mike -- EMAIL IGNOREDm_d_berger_1...@yahoo.com wrote: One additional but important point.  When things slowed substantially after adding SSL to part of my tree, everything slowed, even the parts

[us...@httpd] Proposal to Optionally Block DNS

2009-08-22 Thread Mike -- EMAIL IGNORED
I propose this upgrade to Apache: Options +NoDNS Prevents Apache from initiating DNS activity for any reason. I am now running my server with all DNS blocked by iptables. Performance is thereby substantially improved. Fortunately, I usually don't need DNS for anything else on that box.

[us...@httpd] Re: Need some SSL help please.

2009-08-07 Thread Mike -- EMAIL IGNORED
On Fri, 07 Aug 2009 08:40:55 -0400, Josh Gooding wrote: Thanks for the reply Krist, Let me give you a little background on what I did (and still doing). I created a video training software that is now internet based. Nothing inside of the training needs to be across HTTPS, except the

[us...@httpd] Re: Need some SSL help please.

2009-08-07 Thread Mike -- EMAIL IGNORED
On Fri, 07 Aug 2009 14:08:27 -0400, Josh Gooding wrote: No, my understanding is login's weren't encrypted unless SSL was used. Scott, I'm not a sysadmin, but does win2k3 server have something like iptables? That MIGHT be a little more helpful, I'll have to research it more, however, I

[us...@httpd] Re: Need some SSL help please.

2009-08-07 Thread Mike -- EMAIL IGNORED
On Fri, 07 Aug 2009 20:46:35 -0400, Josh Gooding wrote: Mike, If it was up to me, I wouldn't use a Windows based server either, however, what the client bought is what I had to use. KWIM? I can't block DNS on this server due to it having a .com tied to it. I looked this afternoon and no

[us...@httpd] Re: Need some SSL help please.

2009-08-07 Thread Mike -- EMAIL IGNORED
On Sat, 08 Aug 2009 01:59:34 +, Mike -- EMAIL IGNORED wrote: On Fri, 07 Aug 2009 20:46:35 -0400, Josh Gooding wrote: Mike, If it was up to me, I wouldn't use a Windows based server either, however, what the client bought is what I had to use. KWIM? I can't block DNS on this server

[us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread Mike -- EMAIL IGNORED
On Tue, 04 Aug 2009 08:22:14 +0200, André Warnier wrote: [...] You could first check the obvious, such as whether in your Apache/Centos config, you are not *asking* the server to do these DNS lookups. Look here for instance : http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#formats

[us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread Mike -- EMAIL IGNORED
On Tue, 04 Aug 2009 16:24:25 +0100, Tom Evans wrote: HostNameLookups HostNameLookups Off in the only place it appears. Perhaps I should compare all files in conf.d on my two machines. Mike. - The official User-To-User

[us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread Mike -- EMAIL IGNORED
On Tue, 04 Aug 2009 16:00:54 +, Mike -- EMAIL IGNORED wrote: On Tue, 04 Aug 2009 16:24:25 +0100, Tom Evans wrote: HostNameLookups HostNameLookups Off in the only place it appears. Perhaps I should compare all files in conf.d on my two machines. Mike. [...] I did the comparison

[us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread Mike -- EMAIL IGNORED
On Tue, 04 Aug 2009 18:43:14 +0200, André Warnier wrote: [...] Yet one appears to do tons of DNS lookups, and the other one not. Logic would have it that there /is/ something different somewhere in either the configuration, or some file(s) you are not thinking about right now, that make the

[us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread Mike -- EMAIL IGNORED
On Tue, 04 Aug 2009 17:06:34 +, Mike -- EMAIL IGNORED wrote: Later examination showed that the Fedora box (the one working well) occasionally also does a DNS lookup, but it happens very rapidly. All the DNS activity is the same -- it is doing a reverse lookup on the client IP address

[us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread Mike -- EMAIL IGNORED
On Tue, 04 Aug 2009 14:33:12 -0400, Mark H. Wood wrote: Local DNS cache of some sort on the Fedora box? Some of my hosts run 'nscd' (which comes with glibc) and some run BIND in cache-only mode. Indeed there are two problems, and you nailed one of them: 1. Both boxes have nscd, but it was

[us...@httpd] Slowness over internet after adding SSL.

2009-08-03 Thread Mike -- EMAIL IGNORED
I just deployed by web site modified so that some parts use SSL. On testing on my LAN, response is very fast. However testing with the internet, response is very slow, even for those parts of my web site that to not use SSL. I checked by temporarily switching back to the old configuration, and

[us...@httpd] Re: Slowness over internet after adding SSL.

2009-08-03 Thread Mike -- EMAIL IGNORED
On Mon, 03 Aug 2009 10:15:55 -0700, Jonathan Zuckerman wrote: On Mon, Aug 3, 2009 at 10:12 AM, Mike -- EMAIL [...] SSL should go slower, but not on pages that don't use it. Are you absolutely certain that the pages that don't require SSL are not using it? [...] Pretty sure -- different

[us...@httpd] Re: Slowness over internet after adding SSL.

2009-08-03 Thread Mike -- EMAIL IGNORED
On Mon, 03 Aug 2009 17:48:46 +, Mike -- EMAIL IGNORED wrote: On Mon, 03 Aug 2009 10:15:55 -0700, Jonathan Zuckerman wrote: On Mon, Aug 3, 2009 at 10:12 AM, Mike -- EMAIL [...] SSL should go slower, but not on pages that don't use it. Are you absolutely certain that the pages

[us...@httpd] Re: Slowness over internet after adding SSL.

2009-08-03 Thread Mike -- EMAIL IGNORED
On Mon, 03 Aug 2009 18:21:40 +, Mike -- EMAIL IGNORED wrote: [...] Additional tests show that: With httpd-2.2.8-1.fc7: works well. With httpd-2.2.3-22.el5.centos.2: excessive DNS, much too slow. Any thoughts? Mike

[us...@httpd] excessive dns slows httpd

2009-08-03 Thread Mike -- EMAIL IGNORED
My web server is a CentOS box thus: [root ~]# uname -a Linux mbrc21 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 12:03:43 EST 2008 i686 athlon i386 GNU/Linux root ~]# rpm -q httpd httpd-2.2.3-22.el5.centos.2 My development and standby is on a Fedora box thus: [root ~]# uname -a

[us...@httpd] domain name registry with mail hop

2009-08-02 Thread Mike -- EMAIL IGNORED
Any recommendations for a domain name registry service that will also forward e-mail? Speedy and reliable forwarding is a virtue. Thanks, Mike. - The official User-To-User support forum of the Apache HTTP Server Project. See

[us...@httpd] Shared Environment Variable.

2009-07-23 Thread Mike -- EMAIL IGNORED
Running Apache 2.2 on Fedora 7, I have an environment variable that is needed in a RewriteCond as well as elsewhere in a bash script. I would rather not set it in two places. Now I was setting it in /etc/bashrc, but it did not work because, as I just learned, bashrc environment variables are not

[us...@httpd] httpd.config subroutine

2009-07-22 Thread Mike -- EMAIL IGNORED
I have several VirtualHost and numerous Directory sections that have large sets of identical directives. If there a way to define a subroutine in httpd.config that can be called in these sections? Thanks for your help. Mike. -

[us...@httpd] Low priced certificate?

2009-07-21 Thread Mike -- EMAIL IGNORED
I am thinking of securing part of my low volume web site with SSL. I wend to some certificate authorities, and I was blown away by the prices. Are there that are both cheap and widely recognized? Thanks for your help. Mike. -

[us...@httpd] Environment Variable File

2009-06-30 Thread Mike -- EMAIL IGNORED
I have some environment variables I want to provide in a file. For example, in bash the file would contain: export var1=a b c export var2=1 2 3 I would like to include or source this file in my html.config, so var1 and var2 will be available to mod_rewrite as environment variables. How can

[us...@httpd] Reverse RewriteCond?

2009-06-30 Thread Mike -- EMAIL IGNORED
I have (set in /etc/bashrc): echo $HTML_TST aa|bb|cc|dd|ee and I tried: RewriteCond ee %{ENV:HTML_TST} following the documentation that says: Syntax: RewriteCond TestString CondPattern I expected ee to be recognized as one ofthe alternatives in the pattern. It didn't work.

[us...@httpd] Re: Reverse RewriteCond?

2009-06-30 Thread Mike -- EMAIL IGNORED
On Tue, 30 Jun 2009 18:33:09 +, Mike -- EMAIL IGNORED wrote: I have (set in /etc/bashrc): echo $HTML_TST aa|bb|cc|dd|ee and I tried: RewriteCond ee %{ENV:HTML_TST} following the documentation that says: Syntax: RewriteCond TestString CondPattern I expected ee

[us...@httpd] Re: Reverse RewriteCond?

2009-06-30 Thread Mike -- EMAIL IGNORED
On Tue, 30 Jun 2009 22:37:53 +0200, André Warnier wrote: [...] What are you really trying to do ? Can you give a real example ? If you want to use the values of shell-level environment variables, then presumably you set these environment variables somewhere, before you invoke the script

[EMAIL PROTECTED] Prevent img smoothing?

2008-09-04 Thread Mike -- EMAIL IGNORED
On my website I have a BMP picture that is 13x20 pixels. I want it displayed as a matrix of little squares. Displaying on Win2k with IE or Firefox, and on WinXP using IE, that is what I get. But on WinXP with Firefox, the picture is smoothed into a blurry mess. Is there a way to I prevent this?

[EMAIL PROTECTED] Re: Prevent img smoothing?

2008-09-04 Thread Mike -- EMAIL IGNORED
On Thu, 04 Sep 2008 13:07:58 -0500, William A. Rowe, Jr. wrote: Mike -- EMAIL IGNORED wrote: On my website I have a BMP picture that is 13x20 pixels. I want it displayed as a matrix of little squares. Displaying on Win2k with IE or Firefox, and on WinXP using IE, that is what I get

[EMAIL PROTECTED] Re: Prevent img smoothing?

2008-09-04 Thread Mike -- EMAIL IGNORED
On Thu, 04 Sep 2008 10:57:59 -0700, Dragon wrote: Mike -- EMAIL IGNORED did speak thusly: On my website I have a BMP picture that is 13x20 pixels. I want it displayed as a matrix of little squares. Displaying on Win2k with IE or Firefox, and on WinXP using IE, that is what I get. But on WinXP

[EMAIL PROTECTED] Re: Prevent img smoothing?

2008-09-04 Thread Mike -- EMAIL IGNORED
On Thu, 04 Sep 2008 11:40:09 -0700, Bradley Giesbrecht wrote: Give a link to an example. [...] http://www.rosemike.net/photo/photo.html and look on the picture on the left. Mike. - The official User-To-User support

[EMAIL PROTECTED] Re: Prevent img smoothing?

2008-09-04 Thread Mike -- EMAIL IGNORED
On Thu, 04 Sep 2008 13:46:43 -0700, Bradley Giesbrecht wrote: Not really sure what you are trying to do but you are using a bmp image that is 13x20 pixels and instructing the browser to display it 200 pixels wide. It's up to the browser to determine how to render the image file. Some of

[EMAIL PROTECTED] Re: Prevent img smoothing?

2008-09-04 Thread Mike -- EMAIL IGNORED
On Thu, 04 Sep 2008 16:08:08 -0500, Justin Pasher wrote: [...] I assume you are using Firefox 3 when viewing the page. FF3 has a new feature for automatically antialiasing images when they are resized. http://forums.mozillazine.org/viewtopic.php?f=23t=664257 At this time, you cannot turn

[EMAIL PROTECTED] block inherited user?

2008-09-02 Thread Mike -- EMAIL IGNORED
In the httpd.conf fragment below, I want jack and jane to have access to base, but only jack to have access to child. However, I find that jane has access to child How can i block this? Thanks for your help, Mike. btw: $ rpm -q httpd httpd-2.2.4-4.1.fc7 Directory /var/www/html/www/base

[EMAIL PROTECTED] Re: block inherited user?

2008-09-02 Thread Mike -- EMAIL IGNORED
On Tue, 02 Sep 2008 08:13:37 -0700, Peter Milanese wrote: Try reversing those Directory segments. It looks like it approves it before it hits the 'child' segment. htmlheadstyle type=text/css!-- DIV {margin:0px;} --/style/headbodydiv style=font-family:times new roman,

[EMAIL PROTECTED] Re: block inherited user?

2008-09-02 Thread Mike -- EMAIL IGNORED
[...] My apologies for noise. The problem was a typo. Mike. - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail:

[EMAIL PROTECTED] conventional location of backend server

2006-10-07 Thread Mike - EMAIL IGNORED
On Linux FC4 with Apache 2.0, I have constructed a backend server for my reverse proxy. I would prefer not to put it in /var, to avoid confusion with test operations on the same box. Is there a conventional place for this? For example, I notice that /srv is empty. Thanks for your advice. Mike.

[EMAIL PROTECTED] Re: Re: sending .jpg on another box

2006-10-03 Thread Mike - EMAIL IGNORED
On Tue, 03 Oct 2006 11:25:34 +0200, Josiane BERNILLON wrote: [...] I think it's true, but I never use it and could't help you on this topic. I just give you a quick way to free space on your BoxA disk without reconfiguring your Apaches servers -- Josiane This is good, but in my case,

[EMAIL PROTECTED] sending .jpg on another box

2006-10-02 Thread Mike - EMAIL IGNORED
I have two boxes on my intranet each running Apache 2.0 under FC4. My Linksys firewall directs port 80 to BoxA. Both boxes are also running iptables, including libipq. BoxA has my html tree. I have a number of .jpg files, some as large as 10 meg. The various directories containing the .html

[EMAIL PROTECTED] Re: sending .jpg on another box

2006-10-02 Thread Mike - EMAIL IGNORED
On Mon, 02 Oct 2006 18:35:03 +0200, Josiane BERNILLON wrote: Mike - EMAIL IGNORED a écrit : I have two boxes on my intranet each running Apache 2.0 under FC4. My Linksys firewall directs port 80 to BoxA. Both boxes are also running iptables, including libipq. BoxA has my html tree. I

[EMAIL PROTECTED] Re: Re: RE: /my.html#mySection

2006-06-21 Thread Mike - EMAIL IGNORED
On Wed, 21 Jun 2006 09:33:46 +0100, Pid wrote: Mike - EMAIL IGNORED wrote: On Tue, 20 Jun 2006 08:42:33 -0600, David Salisbury wrote: [...] The occasional appearance of #ZZZ in my logs therefore still remains a mystery. By the way, I can duplicate it if I use nc on another Linux box

[EMAIL PROTECTED] Re: RE: /my.html#mySection

2006-06-20 Thread Mike - EMAIL IGNORED
On Tue, 20 Jun 2006 08:42:33 -0600, David Salisbury wrote: [...] Additionally, I wonder why the #ZZZ appeared in the first place. a bug in the client I guess, I've seen this problem in some proxy server's mailing list... I would guess all that happened was the user bookmarked the page

[EMAIL PROTECTED] RE: RE: /my.html#mySection

2006-06-20 Thread Mike - EMAIL IGNORED
On Tue, 20 Jun 2006 09:08:10 +0200, Boyle Owen wrote: -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Mike - EMAIL IGNORED Sent: Monday, June 19, 2006 6:21 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] RE: /my.html#mySection Linux mbrc20 2.6.14

[EMAIL PROTECTED] RE: /my.html#mySection

2006-06-19 Thread Mike - EMAIL IGNORED
On Mon, 19 Jun 2006 09:05:42 +0200, Boyle Owen wrote: -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Mike - EMAIL IGNORED Sent: Sunday, June 18, 2006 4:09 AM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] /my.html#mySection I have seen in several

[EMAIL PROTECTED] /my.html#mySection

2006-06-17 Thread Mike - EMAIL IGNORED
I have seen in several browsers that requests such as http://www.xxx.net/my.html#mySection get to the server without the #mySection . The page is delivered and the #mySection is resolved locally by the browser, as would seem to be appropriate. Now my CGI does not know about #mySection. If

[EMAIL PROTECTED] logging access via Indexes

2006-06-14 Thread Mike - EMAIL IGNORED
On one of my directories, I have: Options -All SymLinksIfOwnerMatch Indexes and there is a large tree accessible thereby. I see, however, that the log does not record any directory or file access utilizing the Indexes option. Is there a way to make this happen? Thanks for your help, Mike.

[EMAIL PROTECTED] Re: logging access via Indexes

2006-06-14 Thread Mike - EMAIL IGNORED
On Wed, 14 Jun 2006 13:16:46 -0400, Joshua Slive wrote: On 6/14/06, Mike - EMAIL IGNORED [EMAIL PROTECTED] wrote: On one of my directories, I have: Options -All SymLinksIfOwnerMatch Indexes The -All is redundant. See the documentation of the Options directive. It starts by resetting