Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2012
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Is mod_rewrite enabled???

    When i check the environment with phpinfo() the HTTP_MOD_REWRITE shows as ON... doesn't this mean that apache mod_rewrite is enabled??? ... but i haven't been able to rewrite the url with htaccess... can somebody please help ....

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    Where has the environment variable HTTP_MOD_REWRITE been declared?
    If its between an <IfModule mod_rewrite.c> check, then that's fine assuming that mod rewrite has been used at this point.
    As for telling if its actually be rewritten, you may be able to check the existence of the $_SERVER['REDIRECT_URL'].


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •