Re: [EMAIL PROTECTED] mod_deflate and diminishing returns

2007-03-13 Thread Sean Conner
It was thus said that the Great Grant once stated: > Hello, at what page size does it no longer make sense to use > mod_deflate would you say? If mod_deflate uses the same compression as gzip, then the test I just did on some small files indicates maybe about 100-120 bytes is the break even poin

[EMAIL PROTECTED] mod_deflate and diminishing returns

2007-03-13 Thread Grant
Hello, at what page size does it no longer make sense to use mod_deflate would you say? - Grant - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more in

Re: [EMAIL PROTECTED] Another "attempt to invoke directory as script" Error

2007-03-13 Thread Liyu,She
Thanks. I replaced the "SetHandler cgi-script" with "AddHandler cgi-script .html" And it worked. I always thought that if there's only cgi programs in a directory, AddHandler and SetHandler would have no difference(There isn't such problem using apache on WIN32). But apparently, SetHandler also tr

Re: [EMAIL PROTECTED] Apache Examples Extreme Web Servers

2007-03-13 Thread Josh . Wyatt
On Tue, 13 Mar 2007, linux guru wrote: Does anybody host about 2000-2500 virtual sites in single server? Which version of Apache do you prefer 2.0 or 2.2 for hosting thousands of websites? Do you have examples or some experiment about the httpd.conf for this kind of servers? Have you ever n

RE: [EMAIL PROTECTED] Apache Examples Extreme Web Servers

2007-03-13 Thread Mark Lavi
This is off-topic from the question, but I wanted to add some commentary. I loved the simplicity of http://www.apachetoolbox.com/ while automated the build of Apache, PHP, and many other modules. But alas, it's Apache 1.3.x not 2.x. Before Apache Toolbox and since then, I've happily made my own b

Re: [EMAIL PROTECTED] Apache Examples Extreme Web Servers

2007-03-13 Thread Jaqui Greenlees
--- Sean Conner <[EMAIL PROTECTED]> wrote: > It was thus said that the Great Jaqui Greenlees once > stated: > > > > > You could check the php config and other details > at > > > http://82.222.170.52/i.php > > > > This was not a good idea, this list has publicly > > accesable archives of all mes

Re: [EMAIL PROTECTED] Apache Examples Extreme Web Servers

2007-03-13 Thread linux guru
To sum up; * we are using ulimit -n 32000 and more while trying to restart apache but it does not work. * do you have ideas or numbers that you could offer for "sysctl -a" parameters? * also for tarballs we prefer them and use them. * for offer hosting less websites on a single server, it could b

Re: [EMAIL PROTECTED] Apache Examples Extreme Web Servers

2007-03-13 Thread Sean Conner
It was thus said that the Great Jaqui Greenlees once stated: > > > You could check the php config and other details at > > http://82.222.170.52/i.php > > This was not a good idea, this list has publicly > accesable archives of all messages. And how is this any different than when it's requeste

Re: [EMAIL PROTECTED] Apache Examples Extreme Web Servers

2007-03-13 Thread Sean Conner
It was thus said that the Great linux guru once stated: > Does anybody host about 2000-2500 virtual sites in single server? I've hosted about 1000+ sites on a single server, and have faced some of the problems mentioned herein. > Which version of Apache do you prefer 2.0 or 2.2 for hosting thou

Re: [EMAIL PROTECTED] Apache Examples Extreme Web Servers

2007-03-13 Thread Jaqui Greenlees
--- linux guru <[EMAIL PROTECTED]> wrote: > Does anybody host about 2000-2500 virtual sites in > single server? > > Which version of Apache do you prefer 2.0 or 2.2 for > hosting thousands of websites? > I personally would use 2.2, since it's the active version for development and support. > D

[EMAIL PROTECTED] Apache Examples Extreme Web Servers

2007-03-13 Thread linux guru
Does anybody host about 2000-2500 virtual sites in single server? Which version of Apache do you prefer 2.0 or 2.2 for hosting thousands of websites? Do you have examples or some experiment about the httpd.conf for this kind of servers? Have you ever noticed an error like this below; apachectl

[EMAIL PROTECTED] mod_authnz_ldap.so module

2007-03-13 Thread Zac Morris
Hi, I need some help. I've tried Goggle and some forums with no luck on this one... I've setup a win32 Apache 2.2.4 server, with the *mod_authnz_ldap* module. When I access a protected url I'm getting an Error 500 and the error.log shows: [Tue Mar 13 16:26:06 2007] [warn] [client 127.0.0.1] [5

Re: [EMAIL PROTECTED] Stripping white space from HTML

2007-03-13 Thread Grant
>> > Great news! This was fixed by changing the push line to: >> > >> > push @out, $_ unless /^\s*$/; >> > >> > Thanks a lot for everyone's help. >> >> A 15 byte solution. :) I expected something like that would be simpler >> than running a separate php script to do it all. ;) > > Yeah, that was

Re: [EMAIL PROTECTED] LocationMatch expression syntax

2007-03-13 Thread Vincent Bray
On 13/03/07, Schultz, Gary - COMM <[EMAIL PROTECTED]> wrote: I want to set a location match so that an URL is not case sensitive. The following work individually: The following LocationMatch does not work: Hi, This is a thorny issue involving standards (urls aren't case insensitive, p

Re: [EMAIL PROTECTED] Stripping white space from HTML

2007-03-13 Thread matt farey
Grant wrote: >> > Great news! This was fixed by changing the push line to: >> > >> > push @out, $_ unless /^\s*$/; >> > >> > Thanks a lot for everyone's help. >> >> A 15 byte solution. :) I expected something like that would be simpler >> than running a separate php script to do it all. ;) > > Y

Re: [EMAIL PROTECTED] LocationMatch expression syntax

2007-03-13 Thread Rob Wilkerson
Try this: Notice that the "(?i)" was moved to the left of the "/". I've been working in Perl today and I think I was reading the "/" as the beginning of the regex. It's not. It's part of the pattern to be matched. Sorry about that. On 3/13/07, Schultz, Gary - COMM <[EMAIL PROTECTED]> wrote

Re: [EMAIL PROTECTED] Stripping white space from HTML

2007-03-13 Thread Vincent Bray
Hi, I'm clearly late to the party but how about not getting apache to strip whitespace so you can read your html and getting your browser to do it instead? Firefox has at least one neat plugin/extension that formats html source into a colourised nested tree format, ignoring (for the most part, i g

Re: [EMAIL PROTECTED] defaulting to a given page

2007-03-13 Thread matt farey
Vincent Bray wrote: > On 13/03/07, Sam Carleton <[EMAIL PROTECTED]> wrote: >> I am working on a kiosk system. There is a standard GUI frontend with >> apache as the backend. In theory the user will never be able to >> navigate away from the URL's they are suppose to be at, but... that >> is th

Re: [EMAIL PROTECTED] Stripping white space from HTML

2007-03-13 Thread Grant
> Great news! This was fixed by changing the push line to: > > push @out, $_ unless /^\s*$/; > > Thanks a lot for everyone's help. A 15 byte solution. :) I expected something like that would be simpler than running a separate php script to do it all. ;) Yeah, that was my fault. - Grant -

Re: [EMAIL PROTECTED] defaulting to a given page

2007-03-13 Thread Vincent Bray
On 13/03/07, Sam Carleton <[EMAIL PROTECTED]> wrote: I am working on a kiosk system. There is a standard GUI frontend with apache as the backend. In theory the user will never be able to navigate away from the URL's they are suppose to be at, but... that is theory;) I am doing my own mini dis

RE: [EMAIL PROTECTED] LocationMatch expression syntax

2007-03-13 Thread Schultz, Gary - COMM
Still not working. Regular expressions are working for other directives such RedirectMatch. I'm running Apache 2.2.4 on Windows XP and 2003 Server if that makes a difference. -Original Message- From: Rob Wilkerson [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 13, 2007 11:40 AM To: user

Re: [EMAIL PROTECTED] Stripping white space from HTML

2007-03-13 Thread Mike Cardwell
* on the Tue, Mar 13, 2007 at 09:59:01AM -0700, Grant wrote: > Great news! This was fixed by changing the push line to: > > push @out, $_ unless /^\s*$/; > > Thanks a lot for everyone's help. A 15 byte solution. :) I expected something like that would be simpler than running a separate php scr

Re: [EMAIL PROTECTED] mod_rewrite: time of last modification?

2007-03-13 Thread Vincent Bray
On 13/03/07, rihad <[EMAIL PROTECTED]> wrote: Hi, I was wondering if it was possible to use the file's modification time (mtime) as a rewrite condition? For example, this is a howto snippet presented at : RewriteCond %{REQUEST

Re: [EMAIL PROTECTED] Another "attempt to invoke directory as script" Error

2007-03-13 Thread Vincent Bray
On 13/03/07, Liyu,She <[EMAIL PROTECTED]> wrote: Hi, everyone. I am running Apache 2.2.3 on FreeBSD 6.1release. I was trying to make the /cgi/ path indexed while visiting. More specifically, I want anyone visiting /cgi/ would be automatically redirected to /cgi/index.html The related configurat

Re: [EMAIL PROTECTED] Stripping white space from HTML

2007-03-13 Thread Grant
> > >>> Right now all I want to do is eliminate all white space from my delivered HTML. > > >> mod_line_edit might be a better bet, perhaps with a LERewriteRule to > > >> collapse any whitespace of more than one byte to a single space. > > > > > > I want to make sure I'm not mis-using the term "w

Re: [EMAIL PROTECTED] LocationMatch expression syntax

2007-03-13 Thread Rob Wilkerson
Sounds like you've got something else happening. As far as I can tell, both of those should work - your own implementation is about as simple as it gets. Just to eliminate the obvious...you are restarting httpd after making the change, right? :-) Try again without the trailing slash, just to se

RE: [EMAIL PROTECTED] LocationMatch expression syntax

2007-03-13 Thread Schultz, Gary - COMM
/(?i)IE/ didn't work. I also tried which didn't work. -Original Message- From: Rob Wilkerson [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 13, 2007 10:58 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] LocationMatch expression syntax I don't know if this will fly in Apac

Re: [EMAIL PROTECTED] LocationMatch expression syntax

2007-03-13 Thread Rob Wilkerson
I don't know if this will fly in Apache, but you could try /(?i)IE/ to specify a case-insensitive match. On 3/13/07, Schultz, Gary - COMM <[EMAIL PROTECTED]> wrote: I want to set a location match so that an URL is not case sensitive. The following work individually: The following Locatio

Re: [EMAIL PROTECTED] Alias Configuration :: Help Needed Please

2007-03-13 Thread Tom Donovan
Dan Wareham wrote: I am trying to set up the follow two directory mappings Within tags of the httpd.conf file I have placed the following :: Alias /Directory1 "H:\ApplicationFiles\Directory1\" ... Alias /Directory1 "H:\ApplicationFiles\Directory2\" ... In addition to checking that you

Re: [EMAIL PROTECTED] Stripping white space from HTML

2007-03-13 Thread Grant
> >>> Right now all I want to do is eliminate all white space from my delivered HTML. > >> mod_line_edit might be a better bet, perhaps with a LERewriteRule to > >> collapse any whitespace of more than one byte to a single space. > > > > I want to make sure I'm not mis-using the term "whitespace"

[EMAIL PROTECTED] LocationMatch expression syntax

2007-03-13 Thread Schultz, Gary - COMM
I want to set a location match so that an URL is not case sensitive. The following work individually: The following LocationMatch does not work: What is the proper syntax to use for LocationMatch? Gary T. Schultz IT Administrator Wisconsin Dept. of Commerce 608-266-1283 [EMAIL PROT

Re: [EMAIL PROTECTED] Alias Configuration :: Help Needed Please

2007-03-13 Thread Jesse Ross
Hi Dan, Are you definitely loading the alias_module? Also, when you restart apache, is it complaining about anything in the error log? Best, Jesse Ross Dan Wareham wrote: Hello, I wonder if someone might please help me with the follow problem?? I am trying to set up the follow two direct

Re: [EMAIL PROTECTED] Stripping white space from HTML

2007-03-13 Thread Grant
>>> Right now all I want to do is eliminate all white space from my delivered HTML. >> mod_line_edit might be a better bet, perhaps with a LERewriteRule to >> collapse any whitespace of more than one byte to a single space. > > I want to make sure I'm not mis-using the term "whitespace". What I

RE: [EMAIL PROTECTED] Reverse proxying errors

2007-03-13 Thread sniedermeyer
Thanks for the info Olivier, I did run across those postings and tried to use the following directive at the server config level: 'SetEnv proxy-nokeepalive 1' mentioned here: http://issues.apache.org/bugzilla/show_bug.cgi?id=39499 but it didn't seem to resolve these errors. I didn't change th

[EMAIL PROTECTED] Alias Configuration :: Help Needed Please

2007-03-13 Thread Dan Wareham
Hello, I wonder if someone might please help me with the follow problem?? I am trying to set up the follow two directory mappings :: http://localhost/Directory1/ http://localhost/Directory2/ Within tags of the httpd.conf file I have placed the following :: Alias /Directory1 "H:\ApplicationFi

RE: [EMAIL PROTECTED] Reverse proxying errors

2007-03-13 Thread Chirouze Olivier
Hi, My contribution might not be very valuable, but we do have these errors sometimes as well. I think it might just be what the error log is telling us: a network error between your reverse proxy and the web server? I hapen to have a look at this too (there is another bug report...) http://three

Re: [EMAIL PROTECTED] Stripping white space from HTML

2007-03-13 Thread matt farey
Mike Cardwell wrote: > * on the Sun, Mar 11, 2007 at 12:21:55PM -0700, Grant wrote: > > Right now all I want to do is eliminate all white space from my delivered HTML. >>> mod_line_edit might be a better bet, perhaps with a LERewriteRule to >>> collapse any whitespace

Re: [EMAIL PROTECTED] Stripping white space from HTML

2007-03-13 Thread Mike Cardwell
* on the Sun, Mar 11, 2007 at 12:21:55PM -0700, Grant wrote: >>> Right now all I want to do is eliminate all white space from my delivered >>> HTML. >> mod_line_edit might be a better bet, perhaps with a LERewriteRule to >> collapse any whitespace of more than one byte to a single space. > > I w

Re: [EMAIL PROTECTED] Configuring Apache such that SSL connections from localhost do not require authentication

2007-03-13 Thread Frank Hempel
Ehab ElBadry schrieb: I have subversion installed on the same server with Apache 2.2.3. I have the following location in a virtual host in extra/httpd-ssl.conf in order to access it: DAV svn SVNPath /home/svnrepo AuthType Basic AuthName "Subversion Repository" AuthUserFile

[EMAIL PROTECTED] defaulting to a given page

2007-03-13 Thread Sam Carleton
I am working on a kiosk system. There is a standard GUI frontend with apache as the backend. In theory the user will never be able to navigate away from the URL's they are suppose to be at, but... that is theory;) I am doing my own mini distribution of apache with my software. My question is

[EMAIL PROTECTED] Configuring Apache such that SSL connections from localhost do not require authentication

2007-03-13 Thread Ehab ElBadry
I have subversion installed on the same server with Apache 2.2.3. I have the following location in a virtual host in extra/httpd-ssl.conf in order to access it: DAV svn SVNPath /home/svnrepo AuthType Basic AuthName "Subversion Repository" AuthUserFile /usr/local/apache2.2.3/conf/.

[EMAIL PROTECTED] mod_rewrite: time of last modification?

2007-03-13 Thread rihad
Hi, I was wondering if it was possible to use the file's modification time (mtime) as a rewrite condition? For example, this is a howto snippet presented at : RewriteCond %{REQUEST_FILENAME} !-s RewriteRule ^page\.html$

Re: [EMAIL PROTECTED] Another "attempt to invoke directory as script" Error

2007-03-13 Thread Ashutosh Mohanty
Hi, Something like this might work: Options ExecCGI SetHandler cgi-script You also need "DirectoryIndex script.cgi" in that directory Look at AddHandler (http://httpd.apache.org/docs/2.2/mod/mod_mime.html#addhandler) To extend CGI to all .cgi files. Regards Ashutosh Liyu,She