httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Cicimov <icici...@gmail.com>
Subject Re: [users@httpd] Simple RewriteRule?
Date Mon, 18 Jul 2011 22:54:55 GMT
Typo in ReWriteRule, should be RewriteRule

On Jul 19, 2011 8:12 AM, "James Moe" <jimoe@sohnen-moe.com> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
 apache v2.2

 I have what I thought is a simple re-write rule:

RewriteEngine on
ReWriteRule ^/teachers/(.*)$ https://${HTTP_HOST}/$1 [L,R]

 The idea is that if the teachers page is being loaded, always use the
secure protocol. It does not work.
 Where have I gone wrong?

- --
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4kr7QACgkQzTcr8Prq0ZPpBQCgoxyZxudAFZk2XX8zcrlDNghi
dhkAn2Vf15qK8Gsn8v3TyBGJ4InbErCd
=aPDO
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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

Mime
View raw message