httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Moe <ji...@sohnen-moe.com>
Subject Re: [users@httpd] mod_rewrite is ignored or disabled
Date Mon, 29 Jun 2015 01:18:47 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/28/2015 03:02 PM, Zimmi wrote:
> There are in your .htaccess file 2 instructions "RewriteEngine":
> the first states "on", the second states "off". They are around
> your rewrite rules, so I try to guess that  you meant to switch the
> rewrite engine on, do the rewrite, and then switch it off.
> 
  Yes, that was the idea.

> But, afaik the last instruction wins and disables the rewrite
> engine: no action and no logging... Remove the second one or
> comment it, and let us know.
> 
  Whoo-hoo! The rewrite in .htaccess works.
  The one in vhosts does not. :-( I removed the "L" flag; it made no
difference.

- -- 
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlWQnPcACgkQzTcr8Prq0ZMi3QCghBO8Amz6lH7wjt+CiI2d6dU5
nwMAn1wjttdXJfG2dGUxl49GIsi1qX5c
=h/PU
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message