Hello,

I install on a PC linux redhat 8.0 a web server apache 2.0.40 and mod ssl
0.9.6b (configuration include in redhat 8.0)

I want to access a directory of my site with ssl. The directory site pages
have been written in html without ssl.
To avoid the rewritting of all pages, I try to put the following directives
in /etc/httpd/conf.d/ssl.conf

<Location /test>
RewriteEngine        on
RewriteCond %{HTTPS} !=on
RewriteRule ^/home/httpd/html/telechargement/(.*)$
https://%{SERVER_NAME}/telechargement/$1 [R,L]
</Location>

If I test http://machine.site/telechargement/fichier.html. The server
permanently loops .
I obtain  the following messages in ssl_access_log :

143.196.30.134 - - [10/Dec/2002:11:00:22 +0100] "GET /test/compteftp.doc
HTTP/1.1" 302 295
143.196.30.134 - - [10/Dec/2002:11:00:23 +0100] "GET /test/compteftp.doc
HTTP/1.1" 302 295
143.196.30.134 - - [10/Dec/2002:11:00:23 +0100] "GET /test/compteftp.doc
HTTP/1.1" 302 295
143.196.30.134 - - [10/Dec/2002:11:00:23 +0100] "GET /test/compteftp.doc
HTTP/1.1" 302 295
143.196.30.134 - - [10/Dec/2002:11:00:23 +0100] "GET /test/compteftp.doc
HTTP/1.1" 302 295
143.196.30.134 - - [10/Dec/2002:11:00:23 +0100] "GET /test/compteftp.doc
HTTP/1.1" 302 295
143.196.30.134 - - [10/Dec/2002:11:00:23 +0100] "GET /test/compteftp.doc
HTTP/1.1" 302 295
143.196.30.134 - - [10/Dec/2002:11:00:23 +0100] "GET /test/compteftp.doc
HTTP/1.1" 302 295
143.196.30.134 - - [10/Dec/2002:11:00:23 +0100] "GET /test/compteftp.doc
HTTP/1.1" 302 295
143.196.30.134 - - [10/Dec/2002:11:00:23 +0100] "GET /test/compteftp.doc
HTTP/1.1" 302 295
143.196.30.134 - - [10/Dec/2002:11:00:23 +0100] "GET /test/compteftp.doc
HTTP/1.1" 302 295
143.196.30.134 - - [10/Dec/2002:11:00:23 +0100] "GET /test/compteftp.doc
HTTP/1.1" 302 295

I read a lot of archives of the mail and the faq of apache. I have seen
that a lot of solutions for this matter has been
 found with apache 1.3.*. So i compile apache_1.3.27 with mod-ssl_2.8.12 on
the same PC. I test this server with the same config and it works fine.

Does anyone know where the problem is?

Regards


______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to