You can add:

RewriteLogLevel 1

if you want to see some output.

cliff rayman
genwax.com
 

John Castillo wrote:

thanks for the note... i added RewriteEngine on
RewriteLog "/etc/httpd/logs/rewrite.log"
RewriteRule ^/mydirectory/(.*) https://myhost/mydirectory/$1 [R]it works!  i don't know what the log does because its always blank. john c.----- Original Message -----From: "Winged Wolf" <[EMAIL PROTECTED]>To: <[EMAIL PROTECTED]>Sent: Friday, March 10, 2000 2:29 PMSubject: Re: forwarding http://address/directory to https://address/directory > Try using RewriteRule http://address/directory/(.*)
> https://address/directory/\1 .
>
> (If that doesn't work, look for the documentation in mod_rewrite.)
>
> ---
> Mat Butler, Winged Wolf                       <[EMAIL PROTECTED]>
> SPASTIC Web Engineer                  SPASTIC Server Administrator
> ----Begin FurryCode v1.3----
> FCWw5amrsw A- C+ D H+++ M+++++[servercoder] P+ R++ T+++ W Z++ Sm++
> RLCT/M*/LW* a cl/u/v++++>+++++ !d e- f>++++ h++ iwf+++ j p->+ sm++
> ----End FurryCode v1.3----
>
>
> On Fri, 10 Mar 2000, John Castillo wrote:
>
> > hello all,
> >
> > i have setup mod_ssl... works.
> >
> > now i'm trying to tweak my httpd.conf so that if a user connects to a secure area (https://host/secure_area) via an insecure protocol (http://host/secure_area) that they are redirected to the secured protocol (http+ssl over port 443).
> >
> > temporarily, i'm use the SSLRequireSSL but that just Forbids access for people viewing the secure area over http.  is it possible to either redirect the client to https or apply some SSL directive that will enable SSL on the fly?
> >
> > <Directory /home/httpd/html/secure_area>
> >    Options Indexes FollowSymLinks
> >    AllowOverride None
> >    order allow,deny
> >    allow from all
> >    SSLRequireSSL
> > </Directory>
> >
> > john c.
> >
>
> ______________________________________________________________________
> Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
> User Support Mailing List                      [EMAIL PROTECTED]
> Automated List Manager                            [EMAIL PROTECTED]
>
______________________________________________________________________ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]

Reply via email to