RE: [EMAIL PROTECTED] mod_deflate does not work

2006-11-09 Thread Boyle Owen
> -Original Message- > From: Shao Liang Jia [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 09, 2006 11:18 AM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] mod_deflate does not work > > Hi, Everyone: > > I installed apache on Windows XP. mod_deflate is in the > "apache_

[EMAIL PROTECTED] mod_proxy - "www" insensitive requests - how to?

2006-11-09 Thread Sai Jai Ganesh Gurubaran
Hi, We are using Apache (2.0.59) as forward proxy. Have this problem: While browsing for http://www.magic-mirror.4ya.nl We get The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET http://www.magic-mirror.

Re: [EMAIL PROTECTED] Custom 500 error page

2006-11-09 Thread Sean Conner
It was thus said that the Great Ricky Zhou once stated: > > Sean Conner wrote: > > > > ErrorDocument 503 /errors/503.shtml > > Redirect503 / > > > When you made everything return a 503, that included the error page, > hence the additional 503 error. I'm not sure if thi

Re: [EMAIL PROTECTED] Custom 500 error page

2006-11-09 Thread Ricky Zhou
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sean Conner wrote: > > ErrorDocument 503 /errors/503.shtml > Redirect503 / > When you made everything return a 503, that included the error page, hence the additional 503 error. I'm not sure if this is the best/recommen

[EMAIL PROTECTED] Custom 500 error page

2006-11-09 Thread Sean Conner
I'm in the process of moving a website, and while moving it, I would like to serve out a response code of 503 (out of service), which I can accomplish with a simple: Redirect 503 / *But* I want to send out a custom error response. But when I do this (see below for full configuration

[EMAIL PROTECTED] Apache 2 + LDAP - valid user/pw not authenticated?

2006-11-09 Thread Sohail Somani
Hi, I'm trying to set up ldap authentication. I am pretty sure that it authenticates because if I get the following results from the error logs in specific situations: Invalid user: auth_ldap authenticate: user authentication failed; URI /mypaty [User not found][No such object] Valid user/invali

[EMAIL PROTECTED] no DNS resolution inside apache???

2006-11-09 Thread Henrik Hudson
Hey List- I'm stumped on a problem. I have the following server: FreeBSD 6.1-STABLE apache: 2.2.3 from ports php4: 4.4.4 from ports and varios extensions from port loaded as a module my apache conf file are virtually dentical to a test server housed at our office the problem: the webserver can'

Re: [EMAIL PROTECTED] mod_ext_filter with proxied content

2006-11-09 Thread Joshua Slive
On 11/9/06, Tom Pike <[EMAIL PROTECTED]> wrote: ExtFilterDefine rewritecdnurl mode=output intype=text/html \ cmd="/bin/sed 's/www\.example\.org/cdn\.example\.org/g'" RewriteEngine on RewriteRule ^/error/ - [L] RewriteRule ^/(.*) http://localhost:8077/VirtualHos

Re: [EMAIL PROTECTED] mod_ext_filter with proxied content

2006-11-09 Thread Tom Pike
On Thu, 2006-11-09 at 23:37 +, Nick Kew wrote: > On Thu, 09 Nov 2006 22:59:10 + > Tom Pike <[EMAIL PROTECTED]> wrote: > > > > We are looking at the use of mod_ext_filter and sed to > > Ouch! mod_line_edit will do that for vastly less overhead. > We are also currently investigating

Re: [EMAIL PROTECTED] mod_deflate does not work

2006-11-09 Thread Joshua Slive
On 11/9/06, Shao Liang Jia <[EMAIL PROTECTED]> wrote: This is the log file(the original file size is 151806, the compressed file size is still 151806): "jiasl 127.0.0.1 - - [09/Nov/2006:17:56:34 +0800] "GET / HTTP/1.1" 200 151806 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NE

Re: [EMAIL PROTECTED] Apache starting with more child processes thatn startservers directive

2006-11-09 Thread Joshua Slive
On 11/9/06, sharath reddy <[EMAIL PROTECTED]> wrote: Hi All, I am using Apache version 2.0.55(with prefork) on Linux with three different httpd.conf files running on 3 different ports and i just loading httpd multiple times with one config file for each port. The problem is : when i start the a

Re: [EMAIL PROTECTED] mod_ext_filter with proxied content

2006-11-09 Thread Nick Kew
On Thu, 09 Nov 2006 22:59:10 + Tom Pike <[EMAIL PROTECTED]> wrote: > We are looking at the use of mod_ext_filter and sed to Ouch! mod_line_edit will do that for vastly less overhead. > dynamically rewrite the URLs of images, JS and CSS after the page has > been rendered by Zope/Plone

[EMAIL PROTECTED] mod_ext_filter with proxied content

2006-11-09 Thread Tom Pike
G'day, We have an Apache + Squid + Zope combination running Plone for our main site on a server located in Hong Kong (http://www.globalhand.org). Sadly Hong Kong is a few transoceanic links from most of our users (USA and Europe) so we have employed the services of a CDN to serve most of o

Re: [EMAIL PROTECTED] DDOS

2006-11-09 Thread Joshua Slive
On 11/9/06, Leonardo Neves <[EMAIL PROTECTED]> wrote: I changed configuration. Mandriva's default configuration is: # - Container for directives affecting resources located in the proxied location Order deny,allow Deny from all #Allow from .your-domain.com

Re: [EMAIL PROTECTED] DDOS

2006-11-09 Thread Leonardo Neves
I changed configuration. Mandriva's default configuration is: # - Container for directives affecting resources located in the proxied location Order deny,allow Deny from all #Allow from .your-domain.com ... # ProxyRequests - on if the true proxy requests s

[EMAIL PROTECTED] Apache starting with more child processes thatn startservers directive

2006-11-09 Thread sharath reddy
Hi All,   I am using Apache version 2.0.55(with prefork) on Linux with three different httpd.conf files running on 3 different ports and i just loading httpd multiple times with one config file for each port.   The problem is : when i start the apache, it is starting with 3 times more child proces

[EMAIL PROTECTED] mod_deflate does not work

2006-11-09 Thread Shao Liang Jia
Hi, Everyone: I installed apache on Windows XP. mod_deflate is in the "apache_home/modules" directory. When I try to use it, it does not work. Because from the log infomation list below, the output is not compressed. I download the source code of apache and zlib and recompiled mod_deflate. It

Re: [EMAIL PROTECTED] Apache APR mutex

2006-11-09 Thread Christiaan Lamprecht
Now how did I miss that one!? Thanks! > Hi all, I have an array with methods to insert and delete elements in > the array. These methods can be called by my apache module as well as > external 3rd party programs. Should I protect these methods with the > apr_proc_mutex.h or apr_thread_mutex.h

Re: [EMAIL PROTECTED] Apache APR mutex

2006-11-09 Thread Joshua Slive
On 11/8/06, Christiaan Lamprecht <[EMAIL PROTECTED]> wrote: Hi all, I have an array with methods to insert and delete elements in the array. These methods can be called by my apache module as well as external 3rd party programs. Should I protect these methods with the apr_proc_mutex.h or apr_thre

Re: [EMAIL PROTECTED] Rewrite problem (adding www.)

2006-11-09 Thread Joshua Slive
On 11/8/06, Geoff Soper <[EMAIL PROTECTED]> wrote: Hi, I use the following piece of code in an .htaccess file at /var/www/vhosts/domain.com/httpdocs/.htaccess to get traffic from http://domain.com onto http://www.domain.com which works perfectly: RewriteCond %{HTTP_HOST} ^domain\.com$ [NC] Rewri

Re: [EMAIL PROTECTED] DDOS

2006-11-09 Thread Joshua Slive
On 11/9/06, Leonardo Neves <[EMAIL PROTECTED]> wrote: My ip was in the list, but it is not any more. I would like to know if it's possible to use mod_proxy in a server connected to the internet in a safe way. Of course. It just needs to be protected by authentication or access restrictions. S

Re: [EMAIL PROTECTED] DDOS

2006-11-09 Thread Leonardo Neves
My ip was in the list, but it is not any more. I would like to know if it's possible to use mod_proxy in a server connected to the internet in a safe way. Thanks, Leo 2006/11/9, Boyle Owen <[EMAIL PROTECTED]>: > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Be

Re: [EMAIL PROTECTED] config "apache" account

2006-11-09 Thread Matus UHLAR - fantomas
On 08.11.06 08:54, Tim Liu wrote: > Should I create "apache" account in linux? or it is created automatically > during installation? I use two accounts for apache - one who owns config and some data files, one which apache runs under. Apache can only write to its pid, log and poddibly other files