Results 1 to 1 of 1
  1. #1
    Join Date
    Jun 2004
    Bay Area -USA

    using IfModule in .htaccess?

    Im writing a script that will install a .htaccess file for a script I wrote. I was wondering what the advantages of putting would be. I mean either way wont the script not work if they dont have mod_rewrite?

    PHP Code:
    <IfModule mod_rewrite.c>
    //rewrite stuff here
    Another question I have is, if the user using the script already is using mod_rewrite and I insert the code at the bottom of the .htaccess file would I need to check so there isnt two RewriteEngine On lines?

    Last edited by VolkNet; 06-09-2005 at 04:30 PM.
    <<< Please see Forum Guidelines for signature setup. >>>

Posting Permissions

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