RE: [users@httpd] limit CONNECT

2005-06-22 Thread Bohumil Holubec
It works fine. It's pity that cannot be as global settings. Thank you for everything. On Wed, 22 Jun 2005, Axel-Stéphane SMORGRAV wrote: I'll answer both your mails: 1. Add RewriteLogLevel 5 to your configuration in order to enable logging. 2. You can define the rewrite rules at the server l

RE: [users@httpd] limit CONNECT

2005-06-22 Thread Axel-Stéphane SMORGRAV
I'll answer both your mails: 1. Add RewriteLogLevel 5 to your configuration in order to enable logging. 2. You can define the rewrite rules at the server level and then the only thing you will need to include in your virtual hosts is: RewriteEngine On RewriteOptions inherit -ascs -Origin

RE: [users@httpd] limit CONNECT

2005-06-22 Thread Bohumil Holubec
Maybe the problem is this: from apache2 doc: "Note that, by default, rewrite configurations are not inherited. This means that you need to have a RewriteEngine on directive for each virtual host in which you wish to use it." but i have hundreds of virtual hosts on my server. So how can i use mo

RE: [users@httpd] limit CONNECT

2005-06-22 Thread Bohumil Holubec
Im not sure how to use this. Now I have in apache2.conf: RewriteEngine on RewriteLog /var/log/apache2/rewrite.log RewriteCond %{REQUEST_METHOD} =CONNECT RewriteRule .* - [F] server-info writes: Module Name: mod_rewrite.c Content handlers: yes Configuration Phase Participation: C

RE: [users@httpd] limit CONNECT

2005-06-21 Thread Axel-Stéphane SMORGRAV
Maybe you could try: RewriteCond %{REQUEST_METHOD} =CONNECT RewriteRule .* - [F] You would need mod_rewrite for this. -ascs -Original Message- From: Bohumil Holubec [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 21, 2005 5:53 PM To: users@httpd.apache.org; Joshua Slive Subject: Re: [EMA

Re: [users@httpd] limit CONNECT

2005-06-21 Thread Joshua Slive
On 6/21/05, Bohumil Holubec <[EMAIL PROTECTED]> wrote: > Thank you but in directive it doesnt work and i need that > because some providers when i register new web e-mail they testing this > connect... I've never tried it, but I suspect you are not placing it in the correct section. And even if

Re: [users@httpd] limit CONNECT

2005-06-21 Thread Bohumil Holubec
Thank you but in directive it doesnt work and i need that because some providers when i register new web e-mail they testing this connect... On Tue, 21 Jun 2005, Joshua Slive wrote: On 6/21/05, Bohumil Holubec <[EMAIL PROTECTED]> wrote: I allready tried it but with no effects. In apache2.co

Re: [users@httpd] limit CONNECT

2005-06-21 Thread Joshua Slive
On 6/21/05, Bohumil Holubec <[EMAIL PROTECTED]> wrote: > I allready tried it but with no effects. > In apache2.conf i have: > #LoadModule proxy_module modules/mod_proxy.so > #LoadModule proxy_connect_module modules/mod_proxy_connect.so > #LoadModule proxy_ftp_module

RE: [users@httpd] limit CONNECT

2005-06-20 Thread Bohumil Holubec
I allready tried it but with no effects. In apache2.conf i have: #LoadModule proxy_module modules/mod_proxy.so #LoadModule proxy_connect_module modules/mod_proxy_connect.so #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so #LoadModule proxy_http_module

RE: [users@httpd] limit CONNECT

2005-06-20 Thread Axel-Stéphane SMORGRAV
Would it not be simpler just not to load mod_proxy ? I am not too sure it is a good idea to run mod_proxy on an Apache that also runs PHP. -ascs -Original Message- From: Bohumil Holubec [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 21, 2005 2:33 AM To: users@httpd.apache.org Subject: [

[users@httpd] limit CONNECT

2005-06-20 Thread Bohumil Holubec
I have apache 2.0.54 with PHP4.3.11 and I would like to deny method CONNECT like this: (its on the end of apache2.conf) Order Deny,Allow Deny from all Now when i try: $ telnet www.somehost.com 80 Trying ###.###.###.###... Connected to www.somehost.com. Escape character is '^]'. C