You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Rudolf Wolf <ru...@dantax.cz> on 2002/09/16 10:35:03 UTC
[users@httpd] Rewrite doesn't work correctly??
I have these rules in ssl.conf to forced all users in intranet to use HTTPS. I took them from mod_ssl documentation, but it doesn't work.
RewriteEngine on
RewriteCond %{REMOTE_ADDR} ^192\.168\.201\.[0-9]+$
RewriteCond %{HTTPS} !=on
RewriteRule .* - [F]
In log files is written:
192.168.201.15 - - [16/Sep/2002:09:59:39 +0200] [host.domain.cz/sid#8216f18][rid#82274f8/initial] (3) [per-dir /var/www/secured/bezpecne/] strip per-dir prefix: /var/www/secured/bezpecne/ ->
192.168.201.15 - - [16/Sep/2002:09:59:39 +0200] [host.domain.cz/sid#8216f18][rid#82274f8/initial] (3) [per-dir /var/www/secured/bezpecne/] applying pattern '.*' to uri ''
192.168.201.15 - - [16/Sep/2002:09:59:39 +0200] [host.domain.cz/sid#8216f18][rid#82274f8/initial] (4) RewriteCond: input='192.168.201.15' pattern='^192\.168\.201\.[0-9]+$' => matched
192.168.201.15 - - [16/Sep/2002:09:59:39 +0200] [host.domain.cz/sid#8216f18][rid#82274f8/initial] (4) RewriteCond: input='' pattern='!=on' => matched
192.168.201.15 - - [16/Sep/2002:09:59:39 +0200] [host.domain.cz/sid#8216f18][rid#82274f8/initial] (2) forcing '/var/www/secured/bezpecne/' to be forbidden
It seems, that the HTTPS variable is not filled, the second line from bottom!!???. I have written here month ago and no answer. Now, it is urgent, can you help me?
Rudolf Wolf
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org