httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Matthias <>
Subject [users@httpd] RewriteRule not executed with https
Date Fri, 02 Feb 2007 10:59:53 GMT
My RewriteRule is working for http connections but not for https

In my .htaccess I have the following RewriteRule:

<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteBase /drupal/
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

This is working pretty well when connecting to http://localhost/drupal/
>From the log: - - [02/Feb/2007:11:46:19 +0100] [localhost/sid#818b240][rid#8236d00/initial] (3)
[per-dir /var/www/localhost/htdocs/drupal/] strip per-dir prefix: /var/www/localhost/htdocs/drupal/
-> - - [02/Feb/2007:11:46:19 +0100] [localhost/sid#818b240][rid#8236d00/initial] (3)
[per-dir /var/www/localhost/htdocs/drupal/] applying pattern '^(.*)$' to uri '' - - [02/Feb/2007:11:46:19 +0100] [localhost/sid#818b240][rid#8236d00/initial] (4)
RewriteCond: input='/var/www/localhost/htdocs/drupal/' pattern='!-f' => matched - - [02/Feb/2007:11:46:19 +0100] [localhost/sid#818b240][rid#8236d00/initial] (4)
RewriteCond: input='/var/www/localhost/htdocs/drupal/' pattern='!-d' => not-matched - - [02/Feb/2007:11:46:19 +0100] [localhost/sid#818b240][rid#8236d00/initial] (1)
[per-dir /var/www/localhost/htdocs/drupal/] pass through /var/www/localhost/htdocs/drupal/

But if I am trying to connect to https://localhost/drupal/ the 
RewriteRule doesn't seem to be executed. There is not entry in
the log file. And addresses like https://localhost/drupal/admin
fail with `url not found'.

What's going wrong?


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message